summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorDavid Hook <david.hook@keyfactor.com>2022-10-12 20:43:23 +1100
committerDavid Hook <david.hook@keyfactor.com>2022-10-12 20:43:23 +1100
commit9bc545cf0fcfd4dc03b8c47031ba1bac54279d23 (patch)
treec3dcee4169df32ba2d85b6a9f9a46298d9faacfc /crypto/src/asn1
parentadded BIKE cred (diff)
downloadBouncyCastle.NET-ed25519-9bc545cf0fcfd4dc03b8c47031ba1bac54279d23.tar.xz
general cleanups - naming, imports
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/bc/BCObjectIdentifiers.cs15
1 files changed, 12 insertions, 3 deletions
diff --git a/crypto/src/asn1/bc/BCObjectIdentifiers.cs b/crypto/src/asn1/bc/BCObjectIdentifiers.cs
index 0a2db9fd6..424d9b6f3 100644
--- a/crypto/src/asn1/bc/BCObjectIdentifiers.cs
+++ b/crypto/src/asn1/bc/BCObjectIdentifiers.cs
@@ -207,8 +207,8 @@ namespace Org.BouncyCastle.Asn1.BC
         public static readonly DerObjectIdentifier sikep751_compressed = pqc_kem_sike.Branch("8");
         
         /**
-     * Kyber
-     */
+         * Kyber
+         */
         public static readonly DerObjectIdentifier pqc_kem_kyber = bc_kem.Branch("6");
 
         public static readonly DerObjectIdentifier kyber512 = new DerObjectIdentifier("1.3.6.1.4.1.2.267.8.2.2"); // pqc_kem_kyber.Branch("1");
@@ -217,5 +217,14 @@ namespace Org.BouncyCastle.Asn1.BC
         public static readonly DerObjectIdentifier kyber512_aes = new DerObjectIdentifier("1.3.6.1.4.1.2.267.10.2.2"); // pqc_kem_kyber.Branch("4");
         public static readonly DerObjectIdentifier kyber768_aes = new DerObjectIdentifier("1.3.6.1.4.1.2.267.10.3.3"); // pqc_kem_kyber.Branch("5");
         public static readonly DerObjectIdentifier kyber1024_aes = new DerObjectIdentifier("1.3.6.1.4.1.2.267.10.4.4"); // pqc_kem_kyber.Branch("6");
-	}
+
+        /**
+         * BIKE
+         */
+        public static readonly DerObjectIdentifier pqc_kem_bike = bc_kem.Branch("8");
+
+        public static readonly DerObjectIdentifier bike128 = pqc_kem_bike.Branch("1");
+        public static readonly DerObjectIdentifier bike192 = pqc_kem_bike.Branch("2");
+        public static readonly DerObjectIdentifier bike256 = pqc_kem_bike.Branch("3");
+    }
 }