diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-03-13 11:02:05 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-03-13 11:02:05 +0400 |
commit | a4c778ec2284d35583edfcd328febe90e51ee32d (patch) | |
tree | 11e92a593cb3b58bf2ce91df2d72d88854d1b84b /core/src/main | |
parent | 98e17edb2b985d176e91aa98f39e6f72ff7ce0c6 (diff) |
Move 2 classes into math.ec.endo
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/ECCurve.java | 2 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/GLVMultiplier.java | 2 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/endo/ECEndomorphism.java (renamed from core/src/main/java/org/bouncycastle/math/ec/ECEndomorphism.java) | 4 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/endo/GLVEndomorphism.java (renamed from core/src/main/java/org/bouncycastle/math/ec/GLVEndomorphism.java) | 2 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBEndomorphism.java | 1 |
5 files changed, 8 insertions, 3 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java b/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java index 3bb8d600..7e4834d2 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java +++ b/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java @@ -4,6 +4,8 @@ import java.math.BigInteger; import java.util.Hashtable; import java.util.Random; +import org.bouncycastle.math.ec.endo.ECEndomorphism; +import org.bouncycastle.math.ec.endo.GLVEndomorphism; import org.bouncycastle.math.field.FiniteField; import org.bouncycastle.math.field.FiniteFields; import org.bouncycastle.util.BigIntegers; diff --git a/core/src/main/java/org/bouncycastle/math/ec/GLVMultiplier.java b/core/src/main/java/org/bouncycastle/math/ec/GLVMultiplier.java index 4a6b2343..09b83668 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/GLVMultiplier.java +++ b/core/src/main/java/org/bouncycastle/math/ec/GLVMultiplier.java @@ -2,6 +2,8 @@ package org.bouncycastle.math.ec; import java.math.BigInteger; +import org.bouncycastle.math.ec.endo.GLVEndomorphism; + public class GLVMultiplier extends AbstractECMultiplier { protected final ECCurve curve; diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECEndomorphism.java b/core/src/main/java/org/bouncycastle/math/ec/endo/ECEndomorphism.java index 110bd2ab..2be0c01d 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECEndomorphism.java +++ b/core/src/main/java/org/bouncycastle/math/ec/endo/ECEndomorphism.java @@ -1,4 +1,6 @@ -package org.bouncycastle.math.ec; +package org.bouncycastle.math.ec.endo; + +import org.bouncycastle.math.ec.ECPointMap; public interface ECEndomorphism { diff --git a/core/src/main/java/org/bouncycastle/math/ec/GLVEndomorphism.java b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVEndomorphism.java index bf576908..8897bb38 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/GLVEndomorphism.java +++ b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVEndomorphism.java @@ -1,4 +1,4 @@ -package org.bouncycastle.math.ec; +package org.bouncycastle.math.ec.endo; import java.math.BigInteger; diff --git a/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBEndomorphism.java b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBEndomorphism.java index f690e918..ab710d1a 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBEndomorphism.java +++ b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBEndomorphism.java @@ -5,7 +5,6 @@ import java.math.BigInteger; import org.bouncycastle.math.ec.ECConstants; import org.bouncycastle.math.ec.ECCurve; import org.bouncycastle.math.ec.ECPointMap; -import org.bouncycastle.math.ec.GLVEndomorphism; import org.bouncycastle.math.ec.ScaleXPointMap; public class GLVTypeBEndomorphism implements GLVEndomorphism |