projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve readability of f_impl.c and f_impl.h
[openssl.git]
/
crypto
/
ec
/
curve448
/
arch_32
/
f_impl.c
diff --git
a/crypto/ec/curve448/arch_32/f_impl.c
b/crypto/ec/curve448/arch_32/f_impl.c
index 423e8a803a43da47df72a820a5024f7889f3deb7..8a89d276edb6a4d2a435182bb838c8a00948e946 100644
(file)
--- 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]);