X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fint%2Fi31_modpow2.c;h=0b8f8cf7ea70d2b3b0770c555f39be134b442525;hp=23ae0cdbb085a7e2c4a1b81d98c05cbaeff046b7;hb=c6ffcd29381f555783a75d957c28c0ff861cd33a;hpb=8b2fe3add686db5cbd977e75d3bef02fa4c98c8f diff --git a/src/int/i31_modpow2.c b/src/int/i31_modpow2.c index 23ae0cd..0b8f8cf 100644 --- a/src/int/i31_modpow2.c +++ b/src/int/i31_modpow2.c @@ -134,11 +134,11 @@ br_i31_modpow_opt(uint32_t *x, br_i31_zero(t2, m[0]); base = t2 + mwlen; for (u = 1; u < ((uint32_t)1 << k); u ++) { - uint32_t m; + uint32_t mask; - m = -EQ(u, bits); + mask = -EQ(u, bits); for (v = 1; v < mwlen; v ++) { - t2[v] |= m & base[v]; + t2[v] |= mask & base[v]; } base += mwlen; }