summaryrefslogtreecommitdiff
path: root/cipher/ecc-curves.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-10-22 14:26:53 +0200
committerWerner Koch <wk@gnupg.org>2013-12-05 11:25:21 +0100
commit7ef43d1eebb4f8226e860982dfe5fa2e2c82ad0f (patch)
tree8184be6d1ad230d98b9ae306dc2fae3153e2c625 /cipher/ecc-curves.c
parent7bacf1812b55fa78db63abaa1f5a9220e9c6cccc (diff)
downloadlibgcrypt-7ef43d1eebb4f8226e860982dfe5fa2e2c82ad0f.tar.gz
ecc: Change OID for Ed25519.
* cipher/ecc-curves.c (curve_aliased): Add more suitable OID for Ed25519. -- The formerly used OID has been assigned by Peter Gutmann for Curve25519. We better keep them distinct and assign a separate one for Ed25519. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'cipher/ecc-curves.c')
-rw-r--r--cipher/ecc-curves.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/ecc-curves.c b/cipher/ecc-curves.c
index 5c418d9a..8125f244 100644
--- a/cipher/ecc-curves.c
+++ b/cipher/ecc-curves.c
@@ -40,7 +40,8 @@ static const struct
const char *other; /* Other name. */
} curve_aliases[] =
{
- { "Ed25519", "1.3.6.1.4.1.3029.1.5.1" },
+ /*{ "Curve25519", "1.3.6.1.4.1.3029.1.5.1" },*/
+ { "Ed25519", "1.3.6.1.4.1.11591.15.1" },
{ "NIST P-192", "1.2.840.10045.3.1.1" }, /* X9.62 OID */
{ "NIST P-192", "prime192v1" }, /* X9.62 name. */