Commit Graph

51 Commits

Author SHA1 Message Date
14314b6bbb Bump version & use snarkjs dependency from self-hosted tornado git registry 2023-09-12 01:22:49 -07:00
Alexey
3b492f9801 poseidon contract now accepts both selectors: for uint256[n] and bytes32[n] 2020-10-27 21:31:39 +03:00
poma
afb4eff954
use 35 rounds for poseidon hash, update poseidon constants from sage script for 35 rounds 2020-10-27 13:23:41 +03:00
Alexey
118238ea62 pass fixes size array arg in solidity poseidon implementation 2020-10-26 16:30:10 +03:00
poma
6282474dc0
fix tests 2020-08-10 13:42:52 +03:00
poma
436cf45a04
poseidon contract 2020-08-10 13:19:52 +03:00
poma
528b292da5
Update references to Poseidon hash in the project 2020-08-10 13:18:02 +03:00
poma
82c2f606cc
Rewrite Poseidon hash implementation to be compatible with reference implementation 2020-08-10 13:13:45 +03:00
Kobi Gurkan
3478226049 Merge remote-tracking branch 'iden3/master' into feat/audit_fixes 2019-12-11 18:33:31 +02:00
Jordi Baylina
a1d4d1dca7
Convert constant components to functions 2019-12-04 21:57:02 +01:00
Kobi Gurkan
42e96c2e1f makes S value in eddsa signatures be 251 bit, uses alias checks with enabled flag and adds eddsamimcsponge test 2019-11-23 21:36:06 +02:00
Kobi Gurkan
5ec0744303 adds alias check for babyjubjub 2019-11-23 21:19:47 +02:00
Kobi Gurkan
ba656fefbe mimcsponge: makes the contract hash-only 2019-11-14 17:31:00 +02:00
Jordi Baylina
c4ce4cd946
multiget 2019-10-02 09:34:49 +02:00
Jordi Baylina
ebbeaebc73
Merge branch 'arnaucube-master' 2019-09-05 16:51:29 +02:00
Jordi Baylina
25f392c8ae
sha256 with number of bits as a paramter 2019-09-05 16:41:58 +02:00
arnaucube
ae362ec61b add tests for babyjub eddsa poseidon sign & verify 2019-08-29 17:44:44 +02:00
Jordi Baylina
173c17dedc
Change to a standard generator for Baby Jub 2019-08-03 12:46:21 +02:00
Jordi Baylina
b15c7c8089
FIX: escalarmul fix 2019-07-30 19:35:19 +02:00
Jordi Baylina
88acd49c0b
Merge branch 'master' into feature/jstests 2019-07-08 17:30:53 +02:00
Jordi Baylina
da1cceed85
Merge branch 'master' of https://github.com/arnaucube/circomlib into arnaucube-master 2019-07-08 17:19:42 +02:00
Jordi Baylina
42ff01fb3b
Some format and fixes from the last version 2019-07-08 14:33:37 +02:00
Jordi Baylina
861a75e0cb
Merge branch 'feature/mimcsponge' of https://github.com/kobigurk/circomlib into kobigurk-feature/mimcsponge 2019-07-08 14:21:43 +02:00
Jordi Baylina
a9227b7b58
Update web3 2019-07-08 14:08:04 +02:00
arnaucube
3bc864f110 update poseidon with blake2b 2019-06-28 10:50:49 +02:00
Kobi Gurkan
17cb959364 Adds a sponge hash function based on MiMC2n-n 2019-06-26 22:41:07 +03:00
Jordi Baylina
154a9bcbae
Merge branch 'master' of github.com:iden3/circomlib 2019-06-04 17:36:54 +02:00
Jordi Baylina
c4490b2ce9
Poseidon in SMT 2019-06-04 17:32:28 +02:00
Jordi Baylina
590d62a07c
Poseidon 2019-06-04 13:40:15 +02:00
Eduard S
0aabe6447d Add babyjub and EdDSA js tests
Add tests with vectors for javascript implementation of babyjub and EdDSA.
2019-05-16 13:16:59 +02:00
Jordi Baylina
fdce2a96e3
Merge pull request #7 from iden3/feature/babypbk
Add babyjub pvk->pbk circuit
2019-05-11 21:00:09 +02:00
Jordi Baylina
58f758d5ad
Adapt the way to connect mimcs 2019-04-28 12:03:15 +01:00
adriamb
d9d6e43143 added pvk->pbk circuit 2019-03-17 10:38:36 +01:00
Jordi
2635e8d3c9 Make code independent of NodeJS core modules 2019-02-12 12:21:44 +01:00
Jordi Baylina
0639963bea
Small patches 2018-12-22 23:54:25 +01:00
Jordi Baylina
9cab539698
Substractor 2018-12-16 11:27:29 +01:00
Jordi Baylina
37edfc1834
Change bases and IV 2018-12-16 08:05:20 +01:00
Jordi Baylina
6d6558370f
Sparse Merkle tree working 2018-12-15 09:15:58 +01:00
Jordi Baylina
09f36d1e4d
Verification not working 2018-12-15 09:00:35 +01:00
Jordi Baylina
e02fd5edf8
SMT Update 2018-12-14 14:24:30 +01:00
Jordi Baylina
e636a4ac83
Simplify and working test 2018-12-13 21:04:37 +01:00
Jordi Baylina
ccaa7ff23b
working with some errors yet 2018-12-13 19:53:32 +01:00
Jordi Baylina
38fc4b7396
First Version SMT 2018-12-11 17:25:21 +01:00
Jordi Baylina
2d43178c8d
Merge other basic circuits here 2018-12-06 17:32:49 +01:00
Jordi Baylina
2cab572c66
Before merging in a single lib 2018-12-06 12:13:27 +01:00
Jordi Baylina
98a33d5700
eddsa done 2018-11-27 18:30:33 +01:00
Jordi Baylina
55e9a60c37
Pedersen2 and BitPoints MulFix and MulAny 2018-11-27 16:03:57 +01:00
Jordi Baylina
fcc61f9237
Change pedersen length to 251 2018-11-13 13:40:42 +01:00
Jordi Baylina
4b147eca7f
Pedersen Hash done with tests 2018-11-13 10:57:54 +01:00
Jordi Baylina
81981a142c
Pedersen Hash Base Points Calculation 2018-11-11 19:52:07 +01:00