Lines Matching refs:point

45682 BaseCurve.prototype.point = function point() {
45908 var res = this.point(bytes.slice(1, 1 + len), bytes.slice(1 + len, 1 + 2 * len));
46044 return this.point(x, y, z, t);
46058 return this.point(x, y);
46071 if (odd) throw new Error('invalid point');else return this.point(this.zero, y);
46077 return this.point(x, y);
46080 EdwardsCurve.prototype.validate = function validate(point) {
46081 if (point.isInfinity()) return true; // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2)
46083 point.normalize();
46084 var x2 = point.x.redSqr();
46085 var y2 = point.y.redSqr();
46124 EdwardsCurve.prototype.point = function point(x, y, z, t) {
46172 return this.curve.point(nx, ny, nz, nt);
46233 return this.curve.point(nx, ny, nz);
46270 return this.curve.point(nx, ny, nz, nt);
46310 return this.curve.point(nx, ny, nz);
46344 return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg());
46411 MontCurve.prototype.validate = function validate(point) {
46412 var x = point.normalize().x;
46436 return this.point(utils.toArray(bytes, enc), 1);
46439 MontCurve.prototype.point = function point(x, z) {
46485 return this.curve.point(nx, nz);
46511 return this.curve.point(nx, nz);
46518 var b = this.curve.point(null, null); // (N / 2) * Q
46769 return this.point(x, y);
46772 ShortCurve.prototype.validate = function validate(point) {
46773 if (point.inf) return true;
46774 var x = point.x;
46775 var y = point.y;
46843 ShortCurve.prototype.point = function point(x, y, isRed) {
46855 var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y);
46861 return curve.point(p.x.redMul(curve.endo.beta), p.y);
46897 var res = curve.point(obj[0], obj[1], red);
46901 return curve.point(obj[0], obj[1], red);
46936 if (this.neg().eq(p)) return this.curve.point(null, null); // P + Q = O
46938 if (this.x.cmp(p.x) === 0) return this.curve.point(null, null);
46943 return this.curve.point(nx, ny);
46950 if (ys1.cmpn(0) === 0) return this.curve.point(null, null);
46957 return this.curve.point(nx, ny);
46991 var res = this.curve.point(this.x, this.y.redNeg());
47047 if (this.isInfinity()) return this.curve.point(null, null);
47052 return this.curve.point(ax, ay);
47854 this.pub = this.ec.curve.point(key.x, key.y);
48084 this.pointClass = curve.point().constructor;
48160 EDDSA.prototype.encodePoint = function encodePoint(point) {
48161 var enc = point.getY().toArray('le', this.encodingLength);
48162 enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0;