diff --git a/src/crypto_kem/kyber/common/amd64/avx2/reduce.jinc b/src/crypto_kem/kyber/common/amd64/avx2/reduce.jinc index fa609b2c..b5fd83df 100644 --- a/src/crypto_kem/kyber/common/amd64/avx2/reduce.jinc +++ b/src/crypto_kem/kyber/common/amd64/avx2/reduce.jinc @@ -86,7 +86,6 @@ fn __barrett_reduce(reg u16 a) -> reg u16 //t = #SAR_32(t, 26); t >>s= 26; t *= KYBER_Q; - r = t; r = a; r -= t; return r; diff --git a/src/crypto_kem/kyber/common/amd64/ref/reduce.jinc b/src/crypto_kem/kyber/common/amd64/ref/reduce.jinc index 73b2d30e..e18fee31 100644 --- a/src/crypto_kem/kyber/common/amd64/ref/reduce.jinc +++ b/src/crypto_kem/kyber/common/amd64/ref/reduce.jinc @@ -39,7 +39,6 @@ fn __barrett_reduce(reg u16 a) -> reg u16 //t = #SAR_32(t, 26); t >>s= 26; t *= KYBER_Q; - r = t; r = a; r -= t; return r;