[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:21:09 +0000 (02:21 +0300)
commit61387fd3a5e5e1393d329be3b7e43d4e32c0192a
treec0e09e8999c18211df31bff8ccbc63a675f6c26f
parent2432e1291d9a8808bee9505815072ee755b9c362
[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