projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove redundant assignment in felem_mul_ref in p521
[openssl.git]
/
crypto
/
ec
/
ecp_nistp521.c
diff --git
a/crypto/ec/ecp_nistp521.c
b/crypto/ec/ecp_nistp521.c
index cc2243a8b33797e4c2e3937a9c835f56af92bd3b..388ccd06cf1cfee65f534eea79315a75fb4166c6 100644
(file)
--- a/
crypto/ec/ecp_nistp521.c
+++ b/
crypto/ec/ecp_nistp521.c
@@
-782,7
+782,6
@@
static void felem_inv(felem out, const felem in)
felem_reduce(ftmp3, tmp); /* 2^7 - 2^3 */
felem_square(tmp, ftmp3);
felem_reduce(ftmp3, tmp); /* 2^8 - 2^4 */
- felem_assign(ftmp4, ftmp3);
felem_mul(tmp, ftmp3, ftmp);
felem_reduce(ftmp4, tmp); /* 2^8 - 2^1 */
felem_square(tmp, ftmp4);