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
Jordi Baylina
5935ac69df
0.3.0
2020-11-26 07:38:39 +01:00
Jordi Baylina
45f190b445
Merge pull request #51 from tornadocash/upstream
...
pass fixes size array arg in solidity poseidon implementation
2020-11-26 07:35:17 +01:00
Jordi Baylina
8423282b8c
Improve performance sha256compressor
2020-11-26 07:29:48 +01:00
Alexey
1e04fc0325
poseidon contract now accepts both selectors: for uint256[n] and bytes32[n]
2020-10-27 21:23:32 +03:00
Alexey
1f9d0bd37f
pass fixes size array arg in solidity poseidon implementation
2020-10-26 16:47:07 +03:00
Marta Bellés
411a7d7576
Update README.md
2020-10-05 10:18:06 +02:00
Jordi Baylina
6bcbf3370e
0.2.4
2020-08-31 18:30:11 +02:00
Jordi Baylina
9d876a1b32
deps
2020-08-31 18:30:04 +02:00
Jordi Baylina
d422471b5b
Merge pull request #49 from krlosMata/feature/fix-smt-update
...
fix smt update
2020-08-31 17:14:45 +02:00
Jordi Baylina
01da5f90db
Merge pull request #50 from tornadocash/poseidon-pr-2
...
add poseidon comments and refactorings
2020-08-28 04:29:49 +02:00
poma
fabc586fea
add poseidon comments and refactorings
2020-08-27 16:46:49 +03:00
krlosMata
7e93b3fcf8
fix smt update
2020-08-25 13:08:53 +02:00
Jordi Baylina
3f4734d4dd
Merge pull request #48 from kobigurk/kobigurk/fix_and_assert_less_than
...
fix: improve LessThan and adds assert
2020-08-24 11:12:11 +02:00
Kobi Gurkan
1cd3d203c5
fix LessThan and adds assert
2020-08-24 10:46:37 +03:00
Jordi Baylina
01e3f0d680
Poseidon genContract nInputs as parameters
2020-08-09 17:19:53 +02:00
Jordi Baylina
86c6a2a6f5
New Version of Poseidon
2020-08-09 17:13:04 +02:00
Jordi Baylina
5269afee0a
0.2.3
2020-04-20 11:01:20 +02:00
Jordi Baylina
48c721c8af
smtdb key string
2020-04-20 11:01:11 +02:00
Jordi Baylina
0efecf16fa
0.2.2
2020-04-19 18:46:11 +02:00
Jordi Baylina
7705fe8339
deps
2020-04-19 18:45:43 +02:00
Jordi Baylina
401c9e0728
0.2.1
2020-04-19 12:24:04 +02:00
Jordi Baylina
d5ed1c3ce4
Go back to blake
2020-04-19 12:23:55 +02:00
Jordi Baylina
6a1efe4820
0.2.0
2020-04-18 22:34:09 +02:00
Jordi Baylina
b2ac4daaa7
Blake to Blake2b and use of native big num
2020-04-18 22:33:59 +02:00
Jordi Baylina
6df6e9cb1c
0.1.2
2020-03-31 15:38:46 +02:00
Jordi Baylina
9c68d4a363
Exporting buffer to int
2020-03-31 15:38:37 +02:00
Jordi Baylina
57be559c44
0.1.1
2020-03-26 22:49:49 +01:00
Jordi Baylina
7bf8325662
deps
2020-03-26 22:49:31 +01:00
Jordi Baylina
899d15f0c2
0.1.0
2020-03-26 19:58:53 +01: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
a851d08a46
0.0.21
2020-02-25 05:42:31 -08: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