summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorDavid Hook <david.hook@keyfactor.com>2023-08-14 14:17:53 +1000
committerDavid Hook <david.hook@keyfactor.com>2023-08-14 14:17:53 +1000
commit6a827298114574d8ee505a6edf15965bb9950b82 (patch)
treed086c2e83e8dd2cb4a7c33c8b56c2090fa8ac7b7 /crypto/src
parentremoved AES parameters from Dilithium (diff)
downloadBouncyCastle.NET-ed25519-6a827298114574d8ee505a6edf15965bb9950b82.tar.xz
removed Kyber AES, updated unit vector test
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs3
-rw-r--r--crypto/src/pqc/crypto/utils/PqcUtilities.cs7
2 files changed, 0 insertions, 10 deletions
diff --git a/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs b/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
index 195831433..71bd23db1 100644
--- a/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
+++ b/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
@@ -8,9 +8,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Kyber
         public static KyberParameters kyber512 = new KyberParameters("kyber512", 2, 128, false);
         public static KyberParameters kyber768 = new KyberParameters("kyber768", 3, 192, false);
         public static KyberParameters kyber1024 = new KyberParameters("kyber1024", 4, 256, false);
-        public static KyberParameters kyber512_aes = new KyberParameters("kyber512-aes", 2, 128, true);
-        public static KyberParameters kyber768_aes = new KyberParameters("kyber768-aes", 3, 192, true);
-        public static KyberParameters kyber1024_aes = new KyberParameters("kyber1024-aes", 4, 256, true);
 
         private string m_name;
         private int m_sessionKeySize;
diff --git a/crypto/src/pqc/crypto/utils/PqcUtilities.cs b/crypto/src/pqc/crypto/utils/PqcUtilities.cs
index 9f9f3381a..5172733fd 100644
--- a/crypto/src/pqc/crypto/utils/PqcUtilities.cs
+++ b/crypto/src/pqc/crypto/utils/PqcUtilities.cs
@@ -180,17 +180,10 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities
             kyberOids[KyberParameters.kyber512] = BCObjectIdentifiers.kyber512;
             kyberOids[KyberParameters.kyber768] = BCObjectIdentifiers.kyber768;
             kyberOids[KyberParameters.kyber1024] = BCObjectIdentifiers.kyber1024;
-            kyberOids[KyberParameters.kyber512_aes] = BCObjectIdentifiers.kyber512_aes;
-            kyberOids[KyberParameters.kyber768_aes] = BCObjectIdentifiers.kyber768_aes;
-            kyberOids[KyberParameters.kyber1024_aes] = BCObjectIdentifiers.kyber1024_aes;   
             
             kyberParams[BCObjectIdentifiers.kyber512] = KyberParameters.kyber512;
             kyberParams[BCObjectIdentifiers.kyber768] = KyberParameters.kyber768;
             kyberParams[BCObjectIdentifiers.kyber1024] = KyberParameters.kyber1024;
-            kyberParams[BCObjectIdentifiers.kyber512_aes] = KyberParameters.kyber512_aes;
-            kyberParams[BCObjectIdentifiers.kyber768_aes] = KyberParameters.kyber768_aes;
-            kyberParams[BCObjectIdentifiers.kyber1024_aes] = KyberParameters.kyber1024_aes;
-            
             
             falconOids[FalconParameters.falcon_512] = BCObjectIdentifiers.falcon_512;
             falconOids[FalconParameters.falcon_1024] = BCObjectIdentifiers.falcon_1024;