diff --git a/core/java/src/net/i2p/crypto/EncType.java b/core/java/src/net/i2p/crypto/EncType.java index 9af047106..d24558e08 100644 --- a/core/java/src/net/i2p/crypto/EncType.java +++ b/core/java/src/net/i2p/crypto/EncType.java @@ -30,16 +30,26 @@ public enum EncType { */ ELGAMAL_2048(0, 256, 256, EncAlgo.ELGAMAL, "ElGamal/None/NoPadding", CryptoConstants.I2P_ELGAMAL_2048_SPEC, "0"), - /** Pubkey 64 bytes; privkey 32 bytes; */ - EC_P256(1, 64, 32, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P256_SPEC, "0.9.20"), - - /** Pubkey 96 bytes; privkey 48 bytes; */ - EC_P384(2, 96, 48, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P384_SPEC, "0.9.20"), - - /** Pubkey 132 bytes; privkey 66 bytes; */ - EC_P521(3, 132, 66, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P521_SPEC, "0.9.20"), + /** + * Used by i2pd. Not yet supported by Java I2P. + * Pubkey 64 bytes; privkey 32 bytes. + */ + EC_P256(1, 64, 32, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P256_SPEC, "0.9.38"), /** + * Reserved, not used by anybody. + * Pubkey 96 bytes; privkey 48 bytes. + */ + EC_P384(2, 96, 48, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P384_SPEC, "0.9.38"), + + /** + * Reserved, not used by anybody. + * Pubkey 132 bytes; privkey 66 bytes. + */ + EC_P521(3, 132, 66, EncAlgo.EC, "EC/None/NoPadding", ECConstants.P521_SPEC, "0.9.38"), + + /** + * Proposal 144. Not yet supported by anybody. * Pubkey 32 bytes; privkey 32 bytes * @since 0.9.38 */