Commit Graph

526 Commits

Author SHA1 Message Date
turnoffthiscomputer
d6cfa17513 optimize rsapss signature verification for 65537 exponent 2024-09-20 19:28:34 +02:00
turnoffthiscomputer
c6aaa1beca update sha1 constants size 2024-09-20 19:00:22 +02:00
turnoffthiscomputer
27cb0a80c5 update circuit path 2024-09-20 18:47:57 +02:00
turnoffthiscomputer
33acc291ea update eContent/signedAttributes maxLenght 2024-09-20 18:47:20 +02:00
turnoffthiscomputer
69e44bde10 add 7 bytes of padding before each DG hash 2024-09-20 18:40:50 +02:00
turnoffthiscomputer
e031dfebad yarn format 2024-09-20 14:57:09 +02:00
turnoffthiscomputer
bd41e578eb uplgrade circom compiler version to 2.1.9 2024-09-20 14:55:23 +02:00
turnoffthiscomputer
3329a6e1d2 add --max-old-space-size=8192 flag to yarn test 2024-09-20 14:50:41 +02:00
turnoffthiscomputer
a79a46d9ff implement formatInput() in generateInputs 2024-09-20 14:49:09 +02:00
turnoffthiscomputer
6e12d57ae5 force git to rename 2 2024-09-20 14:25:00 +02:00
turnoffthiscomputer
a9f0322aa0 force git to rename 2024-09-20 14:24:34 +02:00
turnoffthiscomputer
a2e46523f3 yarn format 2024-09-20 13:49:13 +02:00
turnoffthiscomputer
8c1baf4a94 uncomment tests 2024-09-20 13:48:59 +02:00
turnoffthiscomputer
a26e80649a delete register circuits 2024-09-20 13:48:28 +02:00
turnoffthiscomputer
715eee4f05 update prove into register and/or disclose circuit 2024-09-20 13:47:11 +02:00
turnoffthiscomputer
3404f8b908 update register circuit 2024-09-20 13:46:41 +02:00
turnoffthiscomputer
0d988d22a2 use VarShiftLeft instead of SelectSubArray 2024-09-20 13:44:24 +02:00
turnoffthiscomputer
aad89dcd03 fix import issue 2024-09-20 13:43:47 +02:00
turnoffthiscomputer
11a2bc8356 refactor dsc circuits 2024-09-20 13:43:35 +02:00
turnoffthiscomputer
b7f292e5b4 fix import issues 2024-09-19 19:17:48 +02:00
turnoffthiscomputer
f8c6dc9e40 yarn format 2024-09-19 19:05:47 +02:00
turnoffthiscomputer
a239169f80 split bitmap into selector_dg1 and selector_older_than, fix nullifier generation in prove circuits 2024-09-19 19:03:39 +02:00
turnoffthiscomputer
07a5b09426 clean circuits repo 2024-09-19 13:30:58 +02:00
turnoffthiscomputer
9c3d497f5a remove passport_verifier circuits 2024-09-19 13:18:13 +02:00
turnoffthiscomputer
e39925ca5d switch econtent for eContent 2024-09-19 13:13:00 +02:00
turnoffthiscomputer
ae6b08956a add scope to public inputs 2024-09-19 13:06:42 +02:00
turnoffthiscomputer
4521b3bd57 move n and k out of generate inputs functions 2024-09-19 10:59:25 +02:00
turnoffthiscomputer
67f124b6fb fix ofac tests 2024-09-18 20:25:30 +02:00
turnoffthiscomputer
eb465057a4 pad dg2_hash to length 64, fix commitment generation 2024-09-18 20:16:29 +02:00
turnoffthiscomputer
4deab7103b adapt disclose to new circuits 2024-09-18 19:08:52 +02:00
turnoffthiscomputer
f992143069 add dg2 hash verification 2024-09-18 17:30:31 +02:00
turnoffthiscomputer
445d167944 update prove circuits 2024-09-18 16:44:04 +02:00
turnoffthiscomputer
07acb0807c adapt secp256r1Verifier for sha1 circuits 2024-09-18 16:43:17 +02:00
turnoffthiscomputer
db06db522a add register ecdsa_sha1 2024-09-18 16:23:43 +02:00
turnoffthiscomputer
896eda92d2 implement custom MAX_PADDED_ECONTENT_LEN and MAX_PADDED_SIGNED_ATTR_LEN for each sigalg 2024-09-18 15:37:16 +02:00
turnoffthiscomputer
dc000c3bc2 remove zkemail imports 2024-09-17 18:53:40 +02:00
turnoffthiscomputer
f3d85c9595 add bigInt/bytes/array/functions templates 2024-09-17 18:50:39 +02:00
turnoffthiscomputer
f488265080 update functions and template names with _ecdsa ending 2024-09-17 18:33:37 +02:00
turnoffthiscomputer
9883afc1c4 move passport date templates 2024-09-17 16:32:59 +02:00
turnoffthiscomputer
272dea5320 add rsa-pss register circuit 2024-09-17 16:29:47 +02:00
turnoffthiscomputer
081bc04689 update MAX_PADDED_SIGNED_ATTR_LEN 2024-09-17 16:29:14 +02:00
turnoffthiscomputer
efcf097a40 implement signature verification 2024-09-17 16:28:38 +02:00
turnoffthiscomputer
d79f1c2eec update build_register_circuits.sh with new path 2024-09-17 16:24:24 +02:00
turnoffthiscomputer
fa3a2e76d2 import fixed circom_tester lib 2024-09-17 16:23:26 +02:00
turnoffthiscomputer
8750c268f0 implement sha1 in shaBytes 2024-09-17 16:22:02 +02:00
turnoffthiscomputer
865bfe0a72 remove compute_pubkey_leaf.circom 2024-09-17 16:20:40 +02:00
turnoffthiscomputer
6082ae552b add rsa_sha1 to new register circuits 2024-09-16 17:09:06 +02:00
turnoffthiscomputer
2b1071ab8c implement new features in openpassport_register 2024-09-16 17:08:13 +02:00
turnoffthiscomputer
4850be941c generic passportVerifier - dg1 check 2024-09-16 17:06:56 +02:00
turnoffthiscomputer
d9156971f3 implement generic shaBytes static functions 2024-09-16 17:04:33 +02:00