cipher: Add comments about future OIDs.
authorWerner Koch <wk@gnupg.org>
Thu, 25 Oct 2018 11:04:21 +0000 (13:04 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 25 Oct 2018 11:04:51 +0000 (13:04 +0200)
--

cipher/ecc-curves.c

index 75d7161..971afbe 100644 (file)
@@ -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.  */