protected ECPoint multiplyPositive(ECPoint p, BigInteger k) { return ECAlgorithms.referenceMultiply(p, k); } }
protected ECPoint multiplyPositive(ECPoint p, BigInteger k) { return ECAlgorithms.referenceMultiply(p, k); } }
@Deprecated public static boolean satisfiesCofactor(ECCurve curve, ECPoint point) { // Patched org.bouncycastle.math.ec.ECPoint#satisfiesCofactor protected code. BigInteger h = curve.getCofactor(); return h == null || h.equals(ECConstants.ONE) || !ECAlgorithms.referenceMultiply(point, h).isInfinity(); } }
protected boolean satisfiesCofactor() { BigInteger h = curve.getCofactor(); return h == null || h.equals(ECConstants.ONE) || !ECAlgorithms.referenceMultiply(this, h).isInfinity(); }
protected boolean satisfiesOrder() { if (ECConstants.ONE.equals(curve.getCofactor())) { return true; } BigInteger n = curve.getOrder(); // TODO Require order to be available for all curves return n == null || ECAlgorithms.referenceMultiply(this, n).isInfinity(); }
Q = ECAlgorithms.referenceMultiply(Q, h);