We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4315db commit 6e69c3eCopy full SHA for 6e69c3e
core/src/main/java/org/bouncycastle/pqc/crypto/mlkem/MLKEMEngine.java
@@ -177,15 +177,7 @@ public MLKEMEngine(int k)
177
this.CryptoPublicKeyBytes = KyberPublicKeyBytes;
178
this.CryptoCipherTextBytes = KyberCipherTextBytes;
179
180
-
181
- if(usingAes)
182
- {
183
- symmetric = new Symmetric.AesSymmetric();
184
- }
185
- else
186
187
- symmetric = new Symmetric.ShakeSymmetric();
188
+ this.symmetric = new Symmetric.ShakeSymmetric();
189
190
this.indCpa = new MLKEMIndCpa(this);
191
}
0 commit comments