public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
public ECFieldElement getYCoord() { ECFieldElement X = x, L = y; if (this.isInfinity() || X.isZero()) { return L; } // Y is actually Lambda (X + Y/X) here; convert to affine value on the fly ECFieldElement Y = L.add(X).multiply(X); ECFieldElement Z = zs[0]; if (!Z.isOne()) { Y = Y.divide(Z); } return Y; }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); switch (this.getCurveCoordinateSystem()) { case ECCurve.COORD_LAMBDA_AFFINE: case ECCurve.COORD_LAMBDA_PROJECTIVE: { // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); } default: { return Y.divide(X).testBitZero(); } } }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); switch (this.getCurveCoordinateSystem()) { case ECCurve.COORD_LAMBDA_AFFINE: case ECCurve.COORD_LAMBDA_PROJECTIVE: { // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); } default: { return Y.divide(X).testBitZero(); } } }