Apply OID fixes for elliptic curves as supplied by
[openssl.git] / crypto / ec / ec.h
index a79112536951e1c2ae35d888e21ee5193523744b..05b454c9217bd252277da264a6abe7b5ca3cbe23 100644 (file)
@@ -141,9 +141,9 @@ EC_GROUP *EC_GROUP_new_by_nid(int nid);
 EC_GROUP *EC_GROUP_new_by_name(int name);
 /* Currently valid arguments to EC_GROUP_new_by_name() */
 #define EC_GROUP_NO_CURVE              0
-#define EC_GROUP_NIST_PRIME_192                NID_secp192r1
+#define EC_GROUP_NIST_PRIME_192                NID_X9_62_prime192v1
 #define EC_GROUP_NIST_PRIME_224                NID_secp224r1
-#define EC_GROUP_NIST_PRIME_256                NID_secp256r1
+#define EC_GROUP_NIST_PRIME_256                NID_X9_62_prime256v1
 #define EC_GROUP_NIST_PRIME_384                NID_secp384r1
 #define EC_GROUP_NIST_PRIME_521                NID_secp521r1
 #define EC_GROUP_X9_62_PRIME_192V1     NID_X9_62_prime192v1
@@ -161,11 +161,11 @@ EC_GROUP *EC_GROUP_new_by_name(int name);
 #define EC_GROUP_SECG_PRIME_160R1      NID_secp160r1
 #define EC_GROUP_SECG_PRIME_160R2      NID_secp160r2
 #define EC_GROUP_SECG_PRIME_192K1      NID_secp192k1
-#define EC_GROUP_SECG_PRIME_192R1      NID_secp192r1
+#define EC_GROUP_SECG_PRIME_192R1      NID_X9_62_prime192v1
 #define EC_GROUP_SECG_PRIME_224K1      NID_secp224k1
 #define EC_GROUP_SECG_PRIME_224R1      NID_secp224r1
 #define EC_GROUP_SECG_PRIME_256K1      NID_secp256k1
-#define EC_GROUP_SECG_PRIME_256R1      NID_secp256r1
+#define EC_GROUP_SECG_PRIME_256R1      NID_X9_62_prime256v1
 #define EC_GROUP_SECG_PRIME_384R1      NID_secp384r1
 #define EC_GROUP_SECG_PRIME_521R1      NID_secp521r1
 #define EC_GROUP_WTLS_6                        NID_wap_wsg_idm_ecid_wtls6