Skip to content

Commit 6e69c3e

Browse files
committed
Removed use of aes
1 parent b4315db commit 6e69c3e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

core/src/main/java/org/bouncycastle/pqc/crypto/mlkem/MLKEMEngine.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,7 @@ public MLKEMEngine(int k)
177177
this.CryptoPublicKeyBytes = KyberPublicKeyBytes;
178178
this.CryptoCipherTextBytes = KyberCipherTextBytes;
179179

180-
181-
if(usingAes)
182-
{
183-
symmetric = new Symmetric.AesSymmetric();
184-
}
185-
else
186-
{
187-
symmetric = new Symmetric.ShakeSymmetric();
188-
}
180+
this.symmetric = new Symmetric.ShakeSymmetric();
189181

190182
this.indCpa = new MLKEMIndCpa(this);
191183
}

0 commit comments

Comments
 (0)