List of usage examples for org.bouncycastle.math.ec ECAlgorithms referenceMultiply
public static ECPoint referenceMultiply(ECPoint p, BigInteger k)
From source file:com.github.horrorho.inflatabledonkey.crypto.ec.ECPointsCompact.java
License:Open Source License
@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(); }