arnaucube
58639462ea
Update mix to match reference implementation ver
...
Reference implementation: https://extgit.iaik.tugraz.at/krypto/hadeshash
Tested with `sage code/poseidonperm_x5_254_3.sage` for inputs:
`[1,2,0]`, equivalent to using `circomlib/poseidon.js` with inputs
`[1,2]`, both return as result
`11309872961022349216464221841186646423561022368884850929991258903497301047946`
Tested with `sage code/poseidonperm_x5_254_5.sage` for inputs:
`[1,2,3,4,0]`, equivalent to using `circomlib/poseidon.js` with inputs
`[1,2,3,4]`, both return as result
`18181515143627462196415302348515936346022476168236332098176009127325427112991`
2020-12-25 13:48:09 +01:00
Alexey
1f9d0bd37f
pass fixes size array arg in solidity poseidon implementation
2020-10-26 16:47:07 +03:00
krlosMata
7e93b3fcf8
fix smt update
2020-08-25 13:08:53 +02:00
Jordi Baylina
86c6a2a6f5
New Version of Poseidon
2020-08-09 17:13:04 +02:00
Jordi Baylina
d5ed1c3ce4
Go back to blake
2020-04-19 12:23:55 +02:00
Jordi Baylina
b2ac4daaa7
Blake to Blake2b and use of native big num
2020-04-18 22:33:59 +02:00
Jordi Baylina
0bf26ea5ec
Merge branch 'c_build'
2020-03-26 19:52:34 +01:00
Jordi Baylina
e240605642
pre 0.5 all working
2020-03-26 19:24:20 +01:00
Jordi Baylina
273ab79665
Negative numbers and fix in comparator
2020-03-16 20:41:11 +01:00
Jordi Baylina
19bbada388
Poseidon for t=3
2020-02-25 05:41:51 -08:00
Jordi Baylina
cf6d1f0bb1
Test name changed on comparators
2020-02-04 19:19:11 +01:00
Jordi Baylina
2f28fc7002
remove pows and shifts for optimization
2020-01-23 07:23:17 +07:00
Jordi Baylina
4f11565ca4
Adapted circuits to the construction fase refactorization
2019-12-23 19:36:26 +01:00
Jordi Baylina
756f1f51e5
Multithread
2019-12-20 21:59:58 +01:00
Jordi Baylina
bc0fb60f89
SMT test title better explained
2019-12-17 17:12:29 +01:00
Jordi Baylina
7a6b0eda6e
All testst finished with c_build
2019-12-16 21:35:52 +01:00
Jordi Baylina
e32460efe1
All tests working
2019-12-14 20:32:45 +01:00
Jordi Baylina
a8107abbe9
pedersen2 adapted
2019-12-13 19:05:20 +01:00
Jordi Baylina
4117ebc64a
pedersen working
2019-12-13 18:35:29 +01:00
Jordi Baylina
b4cd3889b6
babyjub.js adapted
2019-12-12 19:46:07 +01:00
Jordi Baylina
30c6cf55b9
Alias Check and Babyjub adapted
2019-12-12 16:49:58 +01:00
Jordi Baylina
d5bca9feb6
sha256 tests updated to c
2019-12-12 13:04:02 +01:00
Jordi Baylina
bdfb0fb928
clean sha256 tests
2019-12-11 21:55:51 +01:00
Jordi Baylina
8bd0fac913
sha256 testing
2019-12-11 21:41:15 +01:00
Jordi Baylina
9941aac2f2
Fix sha256 last 448 test
2019-12-11 06:55:23 +01:00
Jordi Baylina
a1d4d1dca7
Convert constant components to functions
2019-12-04 21:57:02 +01: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