Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-09-27 11:18:13 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-09-27 11:18:13 +0400
commitba88d58e5cf10613e18eb6226107e60c1ed9e26d (patch)
tree461b8e2d8e41a0deeffaf43c2171bbcd735a86e9 /core/src/main/java/org/bouncycastle/asn1
parent0d4c983bf0b430afdcbbdcdbd99ea7728960db49 (diff)
Change the commented out example of curve configuration
Diffstat (limited to 'core/src/main/java/org/bouncycastle/asn1')
-rw-r--r--core/src/main/java/org/bouncycastle/asn1/sec/SECNamedCurves.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/src/main/java/org/bouncycastle/asn1/sec/SECNamedCurves.java b/core/src/main/java/org/bouncycastle/asn1/sec/SECNamedCurves.java
index f9b912fa..50a7a63f 100644
--- a/core/src/main/java/org/bouncycastle/asn1/sec/SECNamedCurves.java
+++ b/core/src/main/java/org/bouncycastle/asn1/sec/SECNamedCurves.java
@@ -17,12 +17,13 @@ public class SECNamedCurves
{
private static ECCurve configureCurve(ECCurve curve)
{
-// if (curve instanceof ECCurve.Fp && curve.getCoordinateSystem() != ECCurve.COORD_JACOBIAN
-// && curve.supportsCoordinateSystem(ECCurve.COORD_JACOBIAN))
+// int coord = ECCurve.COORD_JACOBIAN_MODIFIED;
+//
+// if (curve.getCoordinateSystem() != coord && curve.supportsCoordinateSystem(coord))
// {
// return curve.configure()
-// .setCoordinateSystem(ECCurve.COORD_JACOBIAN)
-// .setMultiplier(new WNafMultiplier())
+// .setCoordinateSystem(coord)
+//// .setMultiplier(new WNafL2RMultiplier())
// .create();
// }