diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-07-23 10:55:42 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-07-23 10:55:42 +0400 |
commit | e729d80ef7f9f0d8838394635f3bb174f73cbf12 (patch) | |
tree | fdc0f155fa5b58a9fdd1bf84bb1ce687a54e887e /core | |
parent | 90ece8c1134d8e0119e88d5bc0baec8a82d30a1d (diff) |
Remove unnecessary static references
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/ECAlgorithms.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECAlgorithms.java b/core/src/main/java/org/bouncycastle/math/ec/ECAlgorithms.java index ef208efb..3b334d25 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECAlgorithms.java +++ b/core/src/main/java/org/bouncycastle/math/ec/ECAlgorithms.java @@ -52,10 +52,10 @@ public class ECAlgorithms ECEndomorphism endomorphism = c.getEndomorphism(); if (endomorphism instanceof GLVEndomorphism) { - return ECAlgorithms.validatePoint(implSumOfMultipliesGLV(imported, ks, (GLVEndomorphism)endomorphism)); + return validatePoint(implSumOfMultipliesGLV(imported, ks, (GLVEndomorphism)endomorphism)); } - return ECAlgorithms.validatePoint(implSumOfMultiplies(imported, ks)); + return validatePoint(implSumOfMultiplies(imported, ks)); } public static ECPoint sumOfTwoMultiplies(ECPoint P, BigInteger a, @@ -70,18 +70,18 @@ public class ECAlgorithms ECCurve.F2m f2mCurve = (ECCurve.F2m)cp; if (f2mCurve.isKoblitz()) { - return ECAlgorithms.validatePoint(P.multiply(a).add(Q.multiply(b))); + return validatePoint(P.multiply(a).add(Q.multiply(b))); } } ECEndomorphism endomorphism = cp.getEndomorphism(); if (endomorphism instanceof GLVEndomorphism) { - return ECAlgorithms.validatePoint( + return validatePoint( implSumOfMultipliesGLV(new ECPoint[]{ P, Q }, new BigInteger[]{ a, b }, (GLVEndomorphism)endomorphism)); } - return ECAlgorithms.validatePoint(implShamirsTrickWNaf(P, a, Q, b)); + return validatePoint(implShamirsTrickWNaf(P, a, Q, b)); } /* @@ -109,7 +109,7 @@ public class ECAlgorithms ECCurve cp = P.getCurve(); Q = importPoint(cp, Q); - return ECAlgorithms.validatePoint(implShamirsTrickJsf(P, k, Q, l)); + return validatePoint(implShamirsTrickJsf(P, k, Q, l)); } public static ECPoint importPoint(ECCurve c, ECPoint p) |