Skip to content

Commit

Permalink
[FEAT] 5 blocks AES for snarkjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Scratch-net committed Nov 21, 2024
1 parent cf68f08 commit 6acb25a
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circom/circuits/aes-128-ctr/circuit.circom
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pragma circom 2.0.0;
include "../aes/aes_nonce_ctr.circom";

//in bytes divisible by 16
component main{public [in, nonce, counter]} = AES_NONCE_CTR(64, 16);
component main{public [in, nonce, counter]} = AES_NONCE_CTR(80, 16);
2 changes: 1 addition & 1 deletion circom/circuits/aes-256-ctr/circuit.circom
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pragma circom 2.0.0;
include "../aes/aes_nonce_ctr.circom";

//in bytes divisible by 16
component main{public [in, nonce, counter]} = AES_NONCE_CTR(64, 32);
component main{public [in, nonce, counter]} = AES_NONCE_CTR(80, 32);
Binary file modified resources/snarkjs/aes-128-ctr/circuit.r1cs
Binary file not shown.
Binary file modified resources/snarkjs/aes-128-ctr/circuit.wasm
Binary file not shown.
Binary file modified resources/snarkjs/aes-128-ctr/circuit_final.zkey
Binary file not shown.
Binary file modified resources/snarkjs/aes-256-ctr/circuit.r1cs
Binary file not shown.
Binary file modified resources/snarkjs/aes-256-ctr/circuit.wasm
Binary file not shown.
Binary file modified resources/snarkjs/aes-256-ctr/circuit_final.zkey
Binary file not shown.

0 comments on commit 6acb25a

Please sign in to comment.