17 Commits

Author SHA1 Message Date
a8e0ee8ca0 Organize circuits & tests 2021-11-25 19:00:18 +01:00
9522a57cdd Keccak circuit implemented and it works
Keccak circuit initial version implemented and it works. At this current
commit it only accepts inputs of fixed length nBits, it will be iterated
in future commits.

Currently it needs 150848 constraints.
2021-11-25 18:33:18 +01:00
48b66e17f9 Squeeze circuit implemented 2021-11-24 19:49:59 +01:00
d9fdab3b8f keccak_Final step circuit implemented 2021-11-24 17:33:40 +01:00
7cd26a6a54 Absorb circuit implemented 2021-11-24 17:01:19 +01:00
4153b516f0 Keccakf circuit implemented 2021-11-24 13:00:39 +01:00
f88c2834fb KeccakRound circuit implemented 2021-11-24 11:56:18 +01:00
1ab31e1389 Update js tests to work with bigint for u64
- Updated js tests to work with bigint for u64 to avoid overflows
- Added one more test for Theta with bigger values
2021-11-24 11:35:38 +01:00
e48f7347eb Add Circom Pad impl 2021-11-02 20:17:36 +01:00
f8afdd5a88 Chi Circom circuit implemented 2021-11-02 16:02:06 +01:00
0a35c4463b RhoPi Circom circuit implemented 2021-11-01 20:33:52 +01:00
eb14d49b80 keccak256 with bits go implementation done 2021-10-31 17:07:36 +01:00
570fce4ae3 Add Iota go impl 2021-10-31 14:42:56 +01:00
60513e5b9e Add Chi go impl 2021-10-31 14:06:58 +01:00
a7aea7105e Add Rho & Pi go impl 2021-10-31 12:52:16 +01:00
bfdd4767cf Add Theta go impl 2021-10-31 01:58:47 +02:00
f99bb789b9 Add utils (bits) 2021-10-31 01:31:04 +02:00