From 34da47f6c86f40d6aeda8a4595bab2fced372b0d Mon Sep 17 00:00:00 2001 From: yash1io Date: Sat, 3 Aug 2024 15:00:47 +0530 Subject: [PATCH] remove unrequired signal --- circuits/ctr.circom | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/circuits/ctr.circom b/circuits/ctr.circom index dd1ebc6..e2e1977 100644 --- a/circuits/ctr.circom +++ b/circuits/ctr.circom @@ -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];