[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 13:51:58 +0000 (16:51 +0300)
commite3679b1547fc3b2d8e01943004d473c323b6f20d
tree3f83d740eb5010826ad67d99988e6c84a9c19a73
parentbde4a001b3ad4b90a4dbf5d31b18e30e42230e69
[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/9793)
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c