Skip to content

Commit 6acb25a

Browse files
author
Alex E
committed
[FEAT] 5 blocks AES for snarkjs
1 parent cf68f08 commit 6acb25a

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed

circom/circuits/aes-128-ctr/circuit.circom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pragma circom 2.0.0;
33
include "../aes/aes_nonce_ctr.circom";
44

55
//in bytes divisible by 16
6-
component main{public [in, nonce, counter]} = AES_NONCE_CTR(64, 16);
6+
component main{public [in, nonce, counter]} = AES_NONCE_CTR(80, 16);

circom/circuits/aes-256-ctr/circuit.circom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pragma circom 2.0.0;
33
include "../aes/aes_nonce_ctr.circom";
44

55
//in bytes divisible by 16
6-
component main{public [in, nonce, counter]} = AES_NONCE_CTR(64, 32);
6+
component main{public [in, nonce, counter]} = AES_NONCE_CTR(80, 32);
1.58 MB
Binary file not shown.
42.7 KB
Binary file not shown.
4.06 MB
Binary file not shown.
2.24 MB
Binary file not shown.
58.7 KB
Binary file not shown.
9.73 MB
Binary file not shown.

0 commit comments

Comments
 (0)