Skip to content

Commit

Permalink
Merge pull request #232 from zkemail/feat/feat-simplify-sha2
Browse files Browse the repository at this point in the history
Removed unused components in Sha256Partial
  • Loading branch information
saleel authored Oct 19, 2024
2 parents fb87434 + afd4bfb commit 44b3509
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/circuits/lib/sha.circom
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,6 @@ template Sha256Partial(maxBitLength) {
bitLengthVerifier.in[1] <== maxBitLength;
bitLengthVerifier.out === 1;

component ha0 = H(0);
component hb0 = H(1);
component hc0 = H(2);
component hd0 = H(3);
component he0 = H(4);
component hf0 = H(5);
component hg0 = H(6);
component hh0 = H(7);

component sha256compression[maxBlocks];

for (i=0; i<maxBlocks; i++) {
Expand Down

0 comments on commit 44b3509

Please sign in to comment.