remove unused EC curves

This commit is contained in:
zzz
2014-08-26 13:47:21 +00:00
parent 3217b4ac90
commit 310cd54aa0

View File

@ -123,6 +123,7 @@ class ECConstants {
Gy= 07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811
*/
/*
private static final ECParms PARM_P192 = new ECParms(
// P N Seed B Gx Gy
"6277101735386680763835789423207666416083908700390324961279",
@ -132,6 +133,7 @@ class ECConstants {
"188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012",
"07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"
);
*/
/*
@ -318,17 +320,17 @@ class ECConstants {
// standard curve names
// first is OpenJDK 6/7
// second is BC
public static final ECParameterSpec P192_SPEC = genSpec("secp192r1", "P-192", PARM_P192);
//public static final ECParameterSpec P192_SPEC = genSpec("secp192r1", "P-192", PARM_P192);
public static final ECParameterSpec P256_SPEC = genSpec("secp256r1", "P-256", PARM_P256);
public static final ECParameterSpec P384_SPEC = genSpec("secp384r1", "P-384", PARM_P384);
public static final ECParameterSpec P521_SPEC = genSpec("secp521r1", "P-521", PARM_P521);
// Koblitz
public static final ECParameterSpec K163_SPEC = genSpec("sect163k1", "K-163", null);
public static final ECParameterSpec K233_SPEC = genSpec("sect233k1", "K-233", null);
public static final ECParameterSpec K283_SPEC = genSpec("sect283k1", "K-283", null);
public static final ECParameterSpec K409_SPEC = genSpec("sect409k1", "K-409", null);
public static final ECParameterSpec K571_SPEC = genSpec("sect571k1", "K-571", null);
//public static final ECParameterSpec K163_SPEC = genSpec("sect163k1", "K-163", null);
//public static final ECParameterSpec K233_SPEC = genSpec("sect233k1", "K-233", null);
//public static final ECParameterSpec K283_SPEC = genSpec("sect283k1", "K-283", null);
//public static final ECParameterSpec K409_SPEC = genSpec("sect409k1", "K-409", null);
//public static final ECParameterSpec K571_SPEC = genSpec("sect571k1", "K-571", null);
}