summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/pqc/crypto/crystals/dilithium/DilithiumParameters.cs5
-rw-r--r--crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs3
2 files changed, 8 insertions, 0 deletions
diff --git a/crypto/src/pqc/crypto/crystals/dilithium/DilithiumParameters.cs b/crypto/src/pqc/crypto/crystals/dilithium/DilithiumParameters.cs
index 05c52c0c9..e6aa6ab21 100644
--- a/crypto/src/pqc/crypto/crystals/dilithium/DilithiumParameters.cs
+++ b/crypto/src/pqc/crypto/crystals/dilithium/DilithiumParameters.cs
@@ -7,8 +7,13 @@ namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Dilithium
         : ICipherParameters
     {
         public static DilithiumParameters Dilithium2 = new DilithiumParameters(2, false);
+        public static DilithiumParameters Dilithium2Aes = new DilithiumParameters(2, true);
+        
         public static DilithiumParameters Dilithium3 = new DilithiumParameters(3, false);
+        public static DilithiumParameters Dilithium3Aes = new DilithiumParameters(3, true);
+        
         public static DilithiumParameters Dilithium5 = new DilithiumParameters(5, false);
+        public static DilithiumParameters Dilithium5Aes = new DilithiumParameters(5, true);
 
         private int k;
         private bool usingAes;
diff --git a/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs b/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
index 71bd23db1..195831433 100644
--- a/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
+++ b/crypto/src/pqc/crypto/crystals/kyber/KyberParameters.cs
@@ -8,6 +8,9 @@ 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;