[ec/ecp_nistp*.c] remove flip_endian()
authorNicola Tuveri <nic.tuv@gmail.com>
Thu, 5 Sep 2019 22:31:45 +0000 (01:31 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Fri, 6 Sep 2019 23:27:59 +0000 (02:27 +0300)
commite6f559f9de74a0f861d7de2786c64b62fe4ea3ed
tree87f08a58d4c5bda67ebafe6ab32e2dbd11f1d052
parent212a75004207234fa677f73e71a1c42b541b009e
[ec/ecp_nistp*.c] remove flip_endian()

Replace flip_endian() by using the little endian specific
BN_bn2lebinpad() and BN_lebin2bn().

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9511)

(cherry picked from commit e0b660c27d8d97b4ad9e2098cc957de26872c0ef)
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c