summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:02:46 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:02:46 +1000
commit8edb96b448b236f7b059e39aa0937fecbcfeac1e (patch)
treeaf02fe27f3a535be776e18a2793e93c209ba86c1
parentMerge remote-tracking branch 'origin/master' (diff)
downloadBouncyCastle.NET-ed25519-8edb96b448b236f7b059e39aa0937fecbcfeac1e.tar.xz
fixed cut and paste
-rw-r--r--crypto/src/pqc/crypto/utils/PqcUtilities.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/crypto/src/pqc/crypto/utils/PqcUtilities.cs b/crypto/src/pqc/crypto/utils/PqcUtilities.cs
index f0603ed16..2820b3cfd 100644
--- a/crypto/src/pqc/crypto/utils/PqcUtilities.cs
+++ b/crypto/src/pqc/crypto/utils/PqcUtilities.cs
@@ -120,11 +120,13 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities
             sikeParams[BCObjectIdentifiers.sikep751_compressed] = SIKEParameters.sikep751_compressed;
             
             sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
-            sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
-            sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
-            sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
-            sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
-            sikeOids[SIKEParameters.sikep434] = BCObjectIdentifiers.sikep434;
+            sikeOids[SIKEParameters.sikep503] = BCObjectIdentifiers.sikep503;
+            sikeOids[SIKEParameters.sikep610] = BCObjectIdentifiers.sikep610;
+            sikeOids[SIKEParameters.sikep751] = BCObjectIdentifiers.sikep751;
+            sikeOids[SIKEParameters.sikep434_compressed] = BCObjectIdentifiers.sikep434_compressed;
+            sikeOids[SIKEParameters.sikep503_compressed] = BCObjectIdentifiers.sikep503_compressed;
+            sikeOids[SIKEParameters.sikep610_compressed] = BCObjectIdentifiers.sikep610_compressed;
+            sikeOids[SIKEParameters.sikep751_compressed] = BCObjectIdentifiers.sikep751_compressed;
             
             kyberOids[KyberParameters.kyber512] = BCObjectIdentifiers.kyber512;
             kyberOids[KyberParameters.kyber768] = BCObjectIdentifiers.kyber768;
@@ -242,4 +244,4 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities
         }
 
     }
-}
\ No newline at end of file
+}