diff options
author | David Hook <dgh@cryptoworkshop.com> | 2023-12-16 17:25:14 +1100 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2023-12-16 17:25:14 +1100 |
commit | 5d47fb0223c563f5bacc3838d89220c285837e95 (patch) | |
tree | 3e6257010503fa5c47d1a6e530f8f39b62072857 | |
parent | @cryspan patch from Kyber standard branch - possible timing issue. (diff) | |
download | BouncyCastle.NET-ed25519-5d47fb0223c563f5bacc3838d89220c285837e95.tar.xz |
fixed typo...
-rw-r--r-- | crypto/src/pqc/crypto/crystals/kyber/Poly.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/pqc/crypto/crystals/kyber/Poly.cs b/crypto/src/pqc/crypto/crystals/kyber/Poly.cs index b724d2cab..59170f6fd 100644 --- a/crypto/src/pqc/crypto/crystals/kyber/Poly.cs +++ b/crypto/src/pqc/crypto/crystals/kyber/Poly.cs @@ -225,7 +225,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Kyber t *= 80635; t >>= 28; t &= 1; - outMsg[i] |= (byte)(t << j); + msg[i] |= (byte)(t << j); } } } |