Commit Graph

2758 Commits

Author SHA1 Message Date
aniampio 9b01d4e24e run cargo fmt 2023-12-13 13:34:31 +00:00
aniampio eb296b175e Remove date_timestamp from the expiration date struct 2023-12-13 13:33:59 +00:00
aniampio d51ab24f7e Update doc for the setup function 2023-12-13 12:51:29 +00:00
aniampio cdbd0396eb Remove the Hashset import 2023-12-11 18:13:34 +00:00
aniampio c800d8c24f Replace the bls12_381 dependency 2023-12-11 18:09:19 +00:00
aniampio 12056f0e70 Code cleaning + cargo fmt 2023-12-11 17:03:57 +00:00
aniampio c3ec669b52 Run cargo fmt 2023-12-11 16:39:54 +00:00
aniampio 84259e7abf Code cleaning 2023-12-11 16:37:53 +00:00
aniampio 8e4bf3ae4f Fix indexing to make kappa_e bilinear check work 2023-12-08 19:04:57 +00:00
aniampio 3292667033 Add docs 2023-12-08 14:21:38 +00:00
aniampio 33121a707f Add kappa and kappa_e into the zk proof 2023-12-08 13:10:38 +00:00
aniampio 0a655aa396 All tests pass, but not all checks yet implemented 2023-12-08 11:28:47 +00:00
aniampio 455e21d3fa Update the zk-proof for the spend phase; not all checks added 2023-12-07 23:27:48 +00:00
aniampio 3a7b7ba55b Fix bilinear check on kappa_k 2023-12-07 14:41:59 +00:00
aniampio 90654710c1 Updates to fix the byte conversation of the payment 2023-12-07 08:55:47 +00:00
aniampio 1ca94fd034 Fix the timestamps conversations 2023-11-30 17:21:12 +00:00
aniampio 397ea41d72 Fix the expiration date casting to timestamp 2023-11-30 17:13:51 +00:00
aniampio 574325265b Updates in the withdrawal and setup phase 2023-11-29 14:45:45 +00:00
aniampio 7cf49aef03 Run cargo fmt 2023-11-24 17:37:10 +00:00
aniampio 9ed51634d9 Remove old bench file from cargo 2023-11-24 17:36:33 +00:00
aniampio 8db9936f93 Split benchmarks into separate files 2023-11-24 17:35:52 +00:00
aniampio 86b293c08b Remove print statements 2023-11-24 17:22:04 +00:00
aniampio f2a695b17d Update the aggregate coin signatures 2023-11-24 16:28:07 +00:00
aniampio 74c88d726d Update aggregate expiration signatures 2023-11-24 16:26:38 +00:00
aniampio abbd773840 Fix breaking aggregate_expiration_date test 2023-11-24 16:21:39 +00:00
aniampio e21ccb7f07 Update the sign expiration date function 2023-11-24 15:13:49 +00:00
aniampio 9a9c48e382 Add docs 2023-11-24 14:54:06 +00:00
aniampio 8773ef7d69 Add documentation 2023-11-24 14:23:09 +00:00
aniampio 9a051dfd2a Alternative solution for parallel verification 2023-11-24 13:41:17 +00:00
aniampio a16f2a1c7b Reverse changes to make the aggregate function test pass 2023-11-24 12:44:01 +00:00
aniampio c3485fc5ae Speed up the issuance of coin indices signatures with par_iter 2023-11-24 12:36:55 +00:00
aniampio 80a4cec616 Add benchmarks and speed up verification with par_iter 2023-11-24 12:30:40 +00:00
aniampio 244e6d225e Run cargo fmt 2023-11-24 12:02:28 +00:00
aniampio 8ef59ccfe3 Add verification for the coin signatures 2023-11-23 18:36:45 +00:00
aniampio 3763f9569e Add function to sign coin indices 2023-11-23 17:29:42 +00:00
aniampio fccd85fa3f Replace for loop with par_iter for signing expiration date 2023-11-23 17:26:11 +00:00
aniampio fde4194820 Update benchmarks 2023-11-22 17:06:11 +00:00
aniampio 88cc8e49fb Add benchmarks for aggregation 2023-11-22 14:54:41 +00:00
aniampio e5d783c6c4 Speed up the verification function and add benchmarks 2023-11-22 14:38:43 +00:00
aniampio 76055c295b Merge indices, verification keys and corresponding signatures into one large vector 2023-11-22 13:23:29 +00:00
aniampio e5ed1313ca Optimise and parallelise the signature aggregation function + add tests 2023-11-22 12:03:52 +00:00
aniampio 07783478be Add check of the hash 2023-11-21 20:43:30 +00:00
aniampio b6f540d69f Add documentation to the function 2023-11-21 20:41:37 +00:00
aniampio 23f7b4c88d Add verification function for a single expiration date signature 2023-11-21 20:36:35 +00:00
aniampio efe8a16050 Add documentation to aggregate_expiration_signatures 2023-11-21 18:34:19 +00:00
aniampio a977af65f9 Clean and optimise the aggregate_expiration_signatures function 2023-11-21 17:37:55 +00:00
aniampio 45739442d6 Add documentation to sign_expiration_date 2023-11-21 17:23:26 +00:00
aniampio baf10e9e98 Clean and optimise the sign_expiration_date function 2023-11-21 17:16:18 +00:00
aniampio 044dae4992 Add the aggregation of expiration date signatures 2023-11-21 17:10:31 +00:00
aniampio 78f01dbe9a Add function to sign an expiration date 2023-11-21 11:23:45 +00:00