Remove redundant assignment in felem_mul_ref in p521
authorRohan McLure <rohanmclure@linux.ibm.com>
Fri, 25 Nov 2022 03:41:08 +0000 (14:41 +1100)
committerHugo Landau <hlandau@openssl.org>
Wed, 30 Nov 2022 07:13:42 +0000 (07:13 +0000)
commitca0dd5f4a303def58800a7e4d7edf9242ed73241
tree2da736b462aeccc47f177eff66b061cb5ab72cd6
parent059123bed8fa4e6d5af2d30063ebffeb0020ee85
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)

(cherry picked from commit 3d4dfeb28a5cb944b8300b4cf807e19ab97d04f5)
crypto/ec/ecp_nistp521.c