summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/pqc/crypto/crystals/kyber/Poly.cs2
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);
                 }
             }
         }