/** * Returns true if this is a Koblitz curve (ABC curve). * @return true if this is a Koblitz curve (ABC curve), false otherwise */ public boolean isKoblitz() { return this.order != null && this.cofactor != null && this.b.isOne() && (this.a.isZero() || this.a.isOne()); } }
/** * Returns true if this is a Koblitz curve (ABC curve). * @return true if this is a Koblitz curve (ABC curve), false otherwise */ public boolean isKoblitz() { return order != null && cofactor != null && b.isOne() && (a.isZero() || a.isOne()); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
public ECPoint threeTimes() { if (this.isInfinity() || this.y.isZero()) { return this; } // NOTE: Be careful about recursions between twicePlus and threeTimes return twice().add(this); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }
protected boolean getCompressionYTilde() { ECFieldElement X = this.getRawXCoord(); if (X.isZero()) { return false; } ECFieldElement Y = this.getRawYCoord(); // Y is actually Lambda (X + Y/X) here return Y.testBitZero() != X.testBitZero(); }