15 Commits

Author SHA1 Message Date
af3e89816b Different nBits for keccak input&output 2021-11-25 20:05:49 +01:00
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
4bae0b97a6 Iota Circom circuit implemented 2021-11-02 16:36:34 +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
8885239904 Add Theta Circom impl 2021-11-01 18:55:36 +01:00
eb431c5e0f Add circuit test utils 2021-11-01 18:51:31 +01:00