Lines Matching refs:neg

30096   BN.prototype.neg = function neg() {
31771 res = this.neg().divmod(num, mode);
31774 div = res.div.neg();
31778 mod = res.mod.neg();
31792 res = this.divmod(num.neg(), mode);
31795 div = res.div.neg();
31805 res = this.neg().divmod(num.neg(), mode);
31808 mod = res.mod.neg();
32376 return this.red.neg(this);
32612 Red.prototype.neg = function neg(a) {
33780 BN.prototype.neg = function neg() {
35460 res = this.neg().divmod(num, mode);
35463 div = res.div.neg();
35467 mod = res.mod.neg();
35481 res = this.divmod(num.neg(), mode);
35484 div = res.div.neg();
35494 res = this.neg().divmod(num.neg(), mode);
35497 mod = res.mod.neg();
36078 return this.red.neg(this);
36315 Red.prototype.neg = function neg(a) {
45717 …i) b = b.mixedAdd(doubles.points[j]);else if (nafW === -i) b = b.mixedAdd(doubles.points[j].neg());
45752 … if (z > 0) acc = acc.mixedAdd(wnd[z - 1 >> 1]);else acc = acc.mixedAdd(wnd[-z - 1 >> 1].neg());
45755 if (z > 0) acc = acc.add(wnd[z - 1 >> 1]);else acc = acc.add(wnd[-z - 1 >> 1].neg());
45803 comb[2] = points[a].toJ().mixedAdd(points[b].neg());
45806 comb[2] = points[a].add(points[b].neg());
45809 comb[2] = points[a].toJ().mixedAdd(points[b].neg());
45871 …= 0) continue;else if (z > 0) p = wnd[j][z - 1 >> 1];else if (z < 0) p = wnd[j][-z - 1 >> 1].neg();
46343 Point.prototype.neg = function neg() {
46693 a0 = prevR.neg();
46695 a1 = r.neg();
46710 a2 = r.neg();
46722 a1 = a1.neg();
46723 b1 = b1.neg();
46727 a2 = a2.neg();
46728 b2 = b2.neg();
46745 var c2 = v1.b.neg().mul(k).divRound(this.n);
46752 var k2 = q1.add(q2).neg();
46794 p = p.neg(true);
46799 beta = beta.neg(true);
46936 if (this.neg().eq(p)) return this.curve.point(null, null); // P + Q = O
46989 Point.prototype.neg = function neg(_precompute) {
46997 return p.neg();
47055 JPoint.prototype.neg = function neg() {