Searched refs:ECFieldElementFp (Results 1 – 1 of 1) sorted by relevance
13 function ECFieldElementFp(q,x) { class29 return new ECFieldElementFp(this.q, this.x.negate().mod(this.q));33 return new ECFieldElementFp(this.q, this.x.add(b.toBigInteger()).mod(this.q));37 return new ECFieldElementFp(this.q, this.x.subtract(b.toBigInteger()).mod(this.q));41 return new ECFieldElementFp(this.q, this.x.multiply(b.toBigInteger()).mod(this.q));45 return new ECFieldElementFp(this.q, this.x.square().mod(this.q));49 …return new ECFieldElementFp(this.q, this.x.multiply(b.toBigInteger().modInverse(this.q)).mod(this.…52 ECFieldElementFp.prototype.equals = feFpEquals;53 ECFieldElementFp.prototype.toBigInteger = feFpToBigInteger;54 ECFieldElementFp.prototype.negate = feFpNegate;[all …]