Lines Matching refs:sub
30324 res = this.sub(num);
30329 res = num.sub(this);
30405 BN.prototype.sub = function sub(num) {
32308 return this.red.sub(this, num);
32617 return this.m.sub(a)._forceRed(this);
32644 Red.prototype.sub = function sub(a, b) {
32647 var res = a.sub(b);
32844 this.minv = this.r.sub(this.minv);
34008 res = this.sub(num);
34013 res = num.sub(this);
34089 BN.prototype.sub = function sub(num) {
36010 return this.red.sub(this, num);
36320 return this.m.sub(a)._forceRed(this);
36347 Red.prototype.sub = function sub(a, b) {
36350 var res = a.sub(b);
36547 this.minv = this.r.sub(this.minv);
40146 var sub = 0;
40150 if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
40151 sub = 1;
40154 this[offset + i] = (value / mul >> 0) - sub & 0xFF;
40171 var sub = 0;
40175 if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
40176 sub = 1;
40179 this[offset + i] = (value / mul >> 0) - sub & 0xFF;
46586 …this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0; // If the curve is endomorphic, precalc…
46688 r = v.sub(q.mul(u));
46689 x = x2.sub(q.mul(x1));
46690 var y = y2.sub(q.mul(y1));
46751 var k1 = k.sub(p1).sub(p2);
47626 var ns2 = this.n.sub(new BN(2));
47639 if (!truncOnly && msg.cmp(this.n) >= 0) return msg.sub(this.n);else return msg;
47665 var ns1 = this.n.sub(new BN(1));
47682 s = this.n.sub(s);
47738 var s1 = n.sub(e).mul(rInv).umod(n);
61603 var size = stop.sub(start);