mimcsponge: fixes assignment to outs[0]
This commit is contained in:
parent
79d30349b4
commit
109cdf4056
@ -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…
Reference in New Issue
Block a user