aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/arch_32/f_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec/curve448/arch_32/f_impl.c')
-rw-r--r--crypto/ec/curve448/arch_32/f_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/curve448/arch_32/f_impl.c b/crypto/ec/curve448/arch_32/f_impl.c
index 423e8a803a..8a89d276ed 100644
--- a/crypto/ec/curve448/arch_32/f_impl.c
+++ b/crypto/ec/curve448/arch_32/f_impl.c
@@ -69,7 +69,7 @@ void gf_mulw_unsigned(gf_s * RESTRICT cs, const gf as, uint32_t b)
uint32_t mask = (1 << 28) - 1;
int i;
- assert(b < 1 << 28);
+ assert(b <= mask);
for (i = 0; i < 8; i++) {
accum0 += widemul(b, a[i]);