Skip to content
Commit 127d6cf7 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

crypto/ec/curve25519.c: remove redundant fe[51]_cswap.



3 least significant bits of the input scalar are explicitly cleared,
hence swap variable has fixed value [of zero] upon exit from the loop.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/5408)
parent 59bf467c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment