[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:06:40 +0000 (02:06 +0300)
commite0b660c27d8d97b4ad9e2098cc957de26872c0ef
tree65a9630687130f5002dd65778cba610c377e2192
parent1b338abe3abb8c73f004c34d4b8a9272b89dfd5d
[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)
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c