Skip to content

Commit

Permalink
remove unrequired signal
Browse files Browse the repository at this point in the history
  • Loading branch information
yash1io committed Aug 3, 2024
1 parent 3bdc9cb commit 34da47f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions circuits/ctr.circom
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ template EncryptCTR(l,nk){

component generateCtrBlocks = GenerateCounterBlocks(n);
generateCtrBlocks.iv <== iv;
signal counterBlocks[n][4][4] <== generateCtrBlocks.counterBlocks;

for(var i = 0 ; i < n; i++){
aes[i] = Cipher(nk);
aes[i].key <== key;
aes[i].block <== counterBlocks[i];
aes[i].block <== generateCtrBlocks.counterBlocks[i];

AddCipher[i] = AddCipher();
AddCipher[i].state <== toBlocks.blocks[i];
Expand Down

0 comments on commit 34da47f

Please sign in to comment.