[git] GCRYPT - branch, master, updated. libgcrypt-1.8.1-104-g3b27107

[email protected] (by Werner Koch)
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  3b271079d52978e5507ef71476f169332d4fd2e5 (commit)
      from  b376dc2abbb208b10bbc76998ff39adb2f301905 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3b271079d52978e5507ef71476f169332d4fd2e5
Author: Werner Koch <[email protected]>
Date:   Thu Oct 25 13:04:21 2018 +0200

    cipher: Add comments about future OIDs.
    
    --

diff --git a/cipher/ecc-curves.c b/cipher/ecc-curves.c
index 75d7161..971afbe 100644
--- a/cipher/ecc-curves.c
+++ b/cipher/ecc-curves.c
@@ -41,8 +41,22 @@ static const struct
   const char *other; /* Other name. */
 } curve_aliases[] =
   {
-    { "Curve25519", "1.3.6.1.4.1.3029.1.5.1" },
-    { "Ed25519",    "1.3.6.1.4.1.11591.15.1" },
+    { "Curve25519", "1.3.6.1.4.1.3029.1.5.1" }, /* OpenPGP */
+
+    { "Ed25519",    "1.3.6.1.4.1.11591.15.1" }, /* OpenPGP */
+
+#if 0
+    /* FIXME: We have a naming issue here.  RFC-8032 says that its
+     * Ed25519 is the pureEdDSA, that is w.o. the SHA512 prehasing we
+     * use in OpenPGP.  */
+    { "Ed25519",    "1.3.101.112" },         /* rfc8410 */
+
+    { "Ed448",      "1.3.101.113" },         /* rfc8410 */
+
+    { "X22519",     "1.3.101.110" },         /* rfc8410 */
+
+    { "X448",       "1.3.101.111" },         /* rfc8410 */
+#endif
 
     { "NIST P-192", "1.2.840.10045.3.1.1" }, /* X9.62 OID  */
     { "NIST P-192", "prime192v1" },          /* X9.62 name.  */

-----------------------------------------------------------------------

Summary of changes:
 cipher/ecc-curves.c | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.