Changeset 310cd54


Ignore:
Timestamp:
Aug 26, 2014 1:47:21 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8ee660c2
Parents:
3217b4a
Message:

remove unused EC curves

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/ECConstants.java

    r3217b4a r310cd54  
    124124    */
    125125
     126    /*
    126127    private static final ECParms PARM_P192 = new ECParms(
    127128        // P N Seed B Gx Gy
     
    133134            "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"
    134135    );
     136    */
    135137
    136138
     
    319321    // first is OpenJDK 6/7
    320322    // second is BC
    321     public static final ECParameterSpec P192_SPEC = genSpec("secp192r1", "P-192", PARM_P192);
     323    //public static final ECParameterSpec P192_SPEC = genSpec("secp192r1", "P-192", PARM_P192);
    322324    public static final ECParameterSpec P256_SPEC = genSpec("secp256r1", "P-256", PARM_P256);
    323325    public static final ECParameterSpec P384_SPEC = genSpec("secp384r1", "P-384", PARM_P384);
     
    325327
    326328    // Koblitz
    327     public static final ECParameterSpec K163_SPEC = genSpec("sect163k1", "K-163", null);
    328     public static final ECParameterSpec K233_SPEC = genSpec("sect233k1", "K-233", null);
    329     public static final ECParameterSpec K283_SPEC = genSpec("sect283k1", "K-283", null);
    330     public static final ECParameterSpec K409_SPEC = genSpec("sect409k1", "K-409", null);
    331     public static final ECParameterSpec K571_SPEC = genSpec("sect571k1", "K-571", null);
     329    //public static final ECParameterSpec K163_SPEC = genSpec("sect163k1", "K-163", null);
     330    //public static final ECParameterSpec K233_SPEC = genSpec("sect233k1", "K-233", null);
     331    //public static final ECParameterSpec K283_SPEC = genSpec("sect283k1", "K-283", null);
     332    //public static final ECParameterSpec K409_SPEC = genSpec("sect409k1", "K-409", null);
     333    //public static final ECParameterSpec K571_SPEC = genSpec("sect571k1", "K-571", null);
    332334
    333335
Note: See TracChangeset for help on using the changeset viewer.