diff options
author | Werner Koch <wk@gnupg.org> | 2013-10-06 14:47:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-10-06 14:47:22 +0200 |
commit | 2c1334222ffb00c32cc2d1ae1adec27cdebfa04d (patch) | |
tree | 3780cba82638a9b8e9b269312a9e079ff7f75bda /cipher/ecc-curves.c | |
parent | 9ac3c2bf73669d7045859e798f1f8a308f8005c8 (diff) | |
download | libgcrypt-2c1334222ffb00c32cc2d1ae1adec27cdebfa04d.tar.gz |
ecc: Add OID for Ed25519.
--
See:
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Subject: Re: [cryptography] Curve25519 OID (was: Re: the spell is broken)
To: xxxxxxxxxxxxx
Cc: cryptography@randombit.net
Message-Id: <E1VSk4L-0004JD-AI@login01.fos.auckland.ac.nz>
Date: Sun, 06 Oct 2013 21:52:05 +1300
xxxxxxxxxxxxxxx writes:
>For completeness, Crypto++ has a factory-like method that serves curves. The
>curves are sorted by OID in the function, so Crypto++ would need an OID for
>ed25519.
{ 1 3 6 1 4 1 3029 1 5 1 } ed209^H^H5519
You have been OIDed. Go forth and encrypt.
Peter.
Diffstat (limited to 'cipher/ecc-curves.c')
-rw-r--r-- | cipher/ecc-curves.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/ecc-curves.c b/cipher/ecc-curves.c index 15888a8b..9731debf 100644 --- a/cipher/ecc-curves.c +++ b/cipher/ecc-curves.c @@ -38,6 +38,8 @@ static const struct const char *other; /* Other name. */ } curve_aliases[] = { + { "Ed25519", "1.3.6.1.4.1.3029.1.5.1" }, + { "NIST P-192", "1.2.840.10045.3.1.1" }, /* X9.62 OID */ { "NIST P-192", "prime192v1" }, /* X9.62 name. */ { "NIST P-192", "secp192r1" }, /* SECP name. */ |