Skip to content

Commit b90af3b

Browse files
author
royb
committed
Merge remote-tracking branch 'origin/main'
2 parents 0657f44 + 6e69c3e commit b90af3b

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)