summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-01-13 15:57:41 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-01-13 15:57:41 +0700
commit1d8a0e21e4b0dfdafa873386ff8758a933074c21 (patch)
tree661f5515e615b591cbdfe0f08f3de81caf5fa34d
parentTables8kGcmMultiplier performance (diff)
downloadBouncyCastle.NET-ed25519-1d8a0e21e4b0dfdafa873386ff8758a933074c21.tar.xz
added additional OIDs in line with draft-uni-qsckeys-00.txt
-rw-r--r--crypto/src/asn1/bc/BCObjectIdentifiers.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/crypto/src/asn1/bc/BCObjectIdentifiers.cs b/crypto/src/asn1/bc/BCObjectIdentifiers.cs
index 0ffd65dfc..7266e4b4c 100644
--- a/crypto/src/asn1/bc/BCObjectIdentifiers.cs
+++ b/crypto/src/asn1/bc/BCObjectIdentifiers.cs
@@ -110,5 +110,26 @@ namespace Org.BouncyCastle.Asn1.BC
         public static readonly DerObjectIdentifier bc_ext = bc.Branch("4");
 
         public static readonly DerObjectIdentifier linkedCertificate = bc_ext.Branch("1");
+
+        /**
+         * KEM(4) algorithms
+         */
+        public static readonly DerObjectIdentifier bc_kem = bc.Branch("5");
+
+        /**
+         * Classic McEliece
+         */
+        public static readonly DerObjectIdentifier pqc_kem_mceliece = bc_kem.Branch("1");
+
+        public static readonly DerObjectIdentifier mceliece348864_r3 = pqc_kem_mceliece.Branch("1");
+        public static readonly DerObjectIdentifier mceliece348864f_r3 = pqc_kem_mceliece.Branch("2");
+        public static readonly DerObjectIdentifier mceliece460896_r3 = pqc_kem_mceliece.Branch("3");
+        public static readonly DerObjectIdentifier mceliece460896f_r3 = pqc_kem_mceliece.Branch("4");
+        public static readonly DerObjectIdentifier mceliece6688128_r3 = pqc_kem_mceliece.Branch("5");
+        public static readonly DerObjectIdentifier mceliece6688128f_r3 = pqc_kem_mceliece.Branch("6");
+        public static readonly DerObjectIdentifier mceliece6960119_r3 = pqc_kem_mceliece.Branch("7");
+        public static readonly DerObjectIdentifier mceliece6960119f_r3 = pqc_kem_mceliece.Branch("8");
+        public static readonly DerObjectIdentifier mceliece8192128_r3 = pqc_kem_mceliece.Branch("9");
+        public static readonly DerObjectIdentifier mceliece8192128f_r3 = pqc_kem_mceliece.Branch("10");
 	}
 }