Adapted circuits to the construction fase refactorization

This commit is contained in:
Jordi Baylina
2019-12-23 19:36:26 +01:00
parent 756f1f51e5
commit 4f11565ca4
21 changed files with 28 additions and 28 deletions

View File

@@ -50,7 +50,7 @@ exports.getMatrix = (t, seed, nRounds) => {
for (let i=0; i<t; i++) {
M[i] = new Array(t);
for (let j=0; j<t; j++) {
M[i][j] = F.normalize(F.inverse(F.sub(cmatrix[i], cmatrix[t+j])));
M[i][j] = F.normalize(F.inv(F.sub(cmatrix[i], cmatrix[t+j])));
}
}
return M;