Polynomial division done

This commit is contained in:
Jordi Baylina
2018-08-18 14:11:51 +02:00
parent 8bc1bb610b
commit 0270ceada6
7 changed files with 699 additions and 22 deletions

View File

@@ -16,6 +16,8 @@ class ZqField {
this.equals = bigInt.genEquals(q);
this.affine = bigInt.genAffine(q);
this.isZero = bigInt.genIsZero(q);
this.two = this.add(this.one, this.one);
this.twoinv = this.inverse(this.two);
}
copy(a) {