Commit Graph

53 Commits

Author SHA1 Message Date
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
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
eeecd07cae Merge remote-tracking branch 'iden3/master' into feat/audit_fixes 2019-12-03 20:26:43 +02:00
Jordi Baylina
d6e6a3b3f4
Fix assigning to signal 2019-12-03 19:16:19 +01:00
Kobi Gurkan
b928421c58 adds comment about baby pbk public key extraction 2019-12-01 15:38:38 +02:00
Kobi Gurkan
8445381431 escalarmulfix uses segments of 246 and adds comments on limits 2019-11-23 22:00:11 +02: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
451fb51a0d adds comments to binsum 2019-11-23 19:24:02 +02:00
Kobi Gurkan
ba656fefbe mimcsponge: makes the contract hash-only 2019-11-14 17:31:00 +02:00
Kobi Gurkan
5d626852ae Merge remote-tracking branch 'iden3/master' into feat/mimc_constant 2019-11-14 16:25:12 +02:00
Kobi Gurkan
de9c7dda46 mimcsponge: makes rounds constant 2019-11-14 16:24:29 +02:00
Kobi Gurkan
01a5530213 MiMCSponge: makes first and last round constants always zero 2019-10-04 17:39:53 +03:00
Jordi Baylina
5bf52cda57
Merge pull request #20 from bellesmarta/master
Updated README files
2019-09-23 14:58:24 +02:00
Kobi Gurkan
109cdf4056 mimcsponge: fixes assignment to outs[0] 2019-09-17 08:53:02 +03:00
Jordi Baylina
29e162383d
Allow full poseidnon fix handle enable in the sigposeidon 2019-09-07 20:22:44 +02:00
Marta Belles
97b870b725 Updated README files 2019-09-06 17:14:45 +02:00
Jordi Baylina
024188b638
Support mutiply by point 0 in scalarmulany 2019-09-05 17:10:20 +02:00
Jordi Baylina
25f392c8ae
sha256 with number of bits as a paramter 2019-09-05 16:41:58 +02:00
Jordi Baylina
173c17dedc
Change to a standard generator for Baby Jub 2019-08-03 12:46:21 +02:00
Jordi Baylina
7c743659db
Fix escalarfix 2019-07-30 20:16:06 +02:00
Jordi Baylina
b15c7c8089
FIX: escalarmul fix 2019-07-30 19:35:19 +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
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
Kobi Gurkan
324b8bf8cc fix: makes mimcsponge act like the paper description
* last constant is 0
* no swap at the last round
2019-07-08 13:54:46 +03:00
arnaucube
3bc864f110 update poseidon with blake2b 2019-06-28 10:50:49 +02:00
Kobi Gurkan
9e078dc299 fix: makes mimcsponge usable 2019-06-26 22:41:07 +03: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
Jordi Baylina
d91afa804a
Merge pull request #5 from udibr/multiplexer
fixed Multiplexer name and usage of old syntax
2019-05-11 21:04:17 +02:00
Jordi Baylina
1da1f5886f
Merge pull request #6 from udibr/circuits-readme
readme for circuits:
2019-05-11 21:00:43 +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
Ehud Ben-Reuven
39bb716785 fixed Multiplexer name and usage of old syntax 2019-02-23 20:16:06 -05:00
Ehud Ben-Reuven
b14eef4d90 readme for circuits: 2019-02-23 14:25:43 -05: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
6ea1ea718a
BabyJub Optimization 2018-12-16 08:44:12 +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