diff options
author | Bodo Möller <bodo@openssl.org> | 2002-03-06 13:47:32 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-03-06 13:47:32 +0000 |
commit | 36c194638e86cd46d5da2b3efbe9ae5354e19096 (patch) | |
tree | 7146474bcd1f2687473811e9ee479c5e0398c3f4 /apps | |
parent | 45fb737950e90762f480ed13f79ea5ff5588f73a (diff) |
add SECG OIDs
Submitted by: Nils Larsch
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ecdsaparam.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/apps/ecdsaparam.c b/apps/ecdsaparam.c index cf293eae20..4b171c4f67 100644 --- a/apps/ecdsaparam.c +++ b/apps/ecdsaparam.c @@ -257,6 +257,36 @@ int MAIN(int argc, char **argv) curve_type = EC_GROUP_X9_62_PRIME_239V3; else if (strcmp(*argv, "-X9_62_256v1") == 0) curve_type = EC_GROUP_X9_62_PRIME_256V1; + else if (strcmp(*argv, "-SECG_PRIME_112R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_112R1; + else if (strcmp(*argv, "-SECG_PRIME_112R2") == 0) + curve_type = EC_GROUP_SECG_PRIME_112R2; + else if (strcmp(*argv, "-SECG_PRIME_128R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_128R1; + else if (strcmp(*argv, "-SECG_PRIME_128R2") == 0) + curve_type = EC_GROUP_SECG_PRIME_128R2; + else if (strcmp(*argv, "-SECG_PRIME_160K1") == 0) + curve_type = EC_GROUP_SECG_PRIME_160K1; + else if (strcmp(*argv, "-SECG_PRIME_160R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_160R1; + else if (strcmp(*argv, "-SECG_PRIME_160R2") == 0) + curve_type = EC_GROUP_SECG_PRIME_160R2; + else if (strcmp(*argv, "-SECG_PRIME_192K1") == 0) + curve_type = EC_GROUP_SECG_PRIME_192K1; + else if (strcmp(*argv, "-SECG_PRIME_192R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_192R1; + else if (strcmp(*argv, "-SECG_PRIME_224K1") == 0) + curve_type = EC_GROUP_SECG_PRIME_224K1; + else if (strcmp(*argv, "-SECG_PRIME_224R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_224R1; + else if (strcmp(*argv, "-SECG_PRIME_256K1") == 0) + curve_type = EC_GROUP_SECG_PRIME_256K1; + else if (strcmp(*argv, "-SECG_PRIME_256R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_256R1; + else if (strcmp(*argv, "-SECG_PRIME_384R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_384R1; + else if (strcmp(*argv, "-SECG_PRIME_521R1") == 0) + curve_type = EC_GROUP_SECG_PRIME_521R1; else if (strcmp(*argv, "-noout") == 0) noout=1; else |