mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
Remove redundant assignment in felem_mul_ref in p521
ftmp4 is assigned immediately before receiving the reduced output of the multiplication of ftmp and ftmp3, without being read inbetween these assignments. Remove redundant assignment. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19766)
This commit is contained in:
parent
4a7231df5c
commit
3d4dfeb28a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user