Skip to content

Commit

Permalink
Add negate2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed May 17, 2024
1 parent af7b857 commit 6f2a5d0
Show file tree
Hide file tree
Showing 17 changed files with 1,380 additions and 219 deletions.
4 changes: 2 additions & 2 deletions packages/circom/circuits/common/body_hash_regex.circom
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ template BodyHashRegex(msg_bytes) {
multi_or[3][i].in[1] <== and[27][i].out;
states[i+1][19] <== multi_or[3][i].out;
lt[6][i] = LessEqThan(8);
lt[6][i].in[0] <== 0;
lt[6][i].in[0] <== 1;
lt[6][i].in[1] <== in[i];
lt[7][i] = LessEqThan(8);
lt[7][i].in[0] <== in[i];
Expand Down Expand Up @@ -276,7 +276,7 @@ template BodyHashRegex(msg_bytes) {
and[33][i].a <== states[i][21];
and[33][i].b <== and[32][i].out;
lt[12][i] = LessEqThan(8);
lt[12][i].in[0] <== 0;
lt[12][i].in[0] <== 1;
lt[12][i].in[1] <== in[i];
lt[13][i] = LessEqThan(8);
lt[13][i].in[0] <== in[i];
Expand Down
Loading

0 comments on commit 6f2a5d0

Please sign in to comment.