mirror of
https://github.com/arnaucube/circomlib.git
synced 2026-02-06 18:56:43 +01:00
Alias Check and Babyjub adapted
This commit is contained in:
@@ -176,6 +176,9 @@ template SegmentMulFix(nWindows) {
|
||||
cadders[i].in1[0] <== cadders[i-1].out[0];
|
||||
cadders[i].in1[1] <== cadders[i-1].out[1];
|
||||
}
|
||||
for (j=0; j<3; j++) {
|
||||
windows[i].in[j] <== e[3*i+j];
|
||||
}
|
||||
if (i<nWindows-1) {
|
||||
cadders[i].in2[0] <== windows[i].out8[0];
|
||||
cadders[i].in2[1] <== windows[i].out8[1];
|
||||
@@ -185,9 +188,6 @@ template SegmentMulFix(nWindows) {
|
||||
cadders[i].in2[0] <== dblLast.out[0];
|
||||
cadders[i].in2[1] <== dblLast.out[1];
|
||||
}
|
||||
for (j=0; j<3; j++) {
|
||||
windows[i].in[j] <== e[3*i+j];
|
||||
}
|
||||
}
|
||||
|
||||
for (i=0; i<nWindows; i++) {
|
||||
|
||||
Reference in New Issue
Block a user