Browse Source

Merge pull request #22 from kobigurk/fix/mimcsponge_unconstrained

mimcsponge: fixes assignment to outs[0]
master
Jordi Baylina 5 years ago
committed by GitHub
parent
commit
9f69fab7c6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      circuits/mimcsponge.circom

+ 1
- 1
circuits/mimcsponge.circom

@ -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++) { for (var i = 0; i < nOutputs - 1; i++) {
S[nInputs + i] = MiMCFeistel(nRounds); S[nInputs + i] = MiMCFeistel(nRounds);

Loading…
Cancel
Save