diff options
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/ECCurve.java | 6 |
1 files changed, 6 insertions, 0 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 b9dd29d2..6af49f0c 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java +++ b/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java @@ -19,6 +19,12 @@ public abstract class ECCurve public static final int COORD_LAMBDA_PROJECTIVE = 6; public static final int COORD_SKEWED = 7; + public static int[] getAllCoordinateSystems() + { + return new int[]{ COORD_AFFINE, COORD_HOMOGENEOUS, COORD_JACOBIAN, COORD_JACOBIAN_CHUDNOVSKY, + COORD_JACOBIAN_MODIFIED, COORD_LAMBDA_AFFINE, COORD_LAMBDA_PROJECTIVE, COORD_SKEWED }; + } + public class Config { protected int coord; |