Skip to content

Commit

Permalink
Merge pull request iden3#22 from kobigurk/fix/mimcsponge_unconstrained
Browse files Browse the repository at this point in the history
mimcsponge: fixes assignment to outs[0]
  • Loading branch information
jbaylina authored Sep 17, 2019
2 parents 79d3034 + 109cdf4 commit 9f69fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuits/mimcsponge.circom
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ template MiMCSponge(nInputs, nRounds, nOutputs) {
}
}

outs[0] = S[nInputs - 1].xL_out;
outs[0] <== S[nInputs - 1].xL_out;

for (var i = 0; i < nOutputs - 1; i++) {
S[nInputs + i] = MiMCFeistel(nRounds);
Expand Down

0 comments on commit 9f69fab

Please sign in to comment.