ec/ecp_nistz256.c: fix ecp_nistz256_set_from_affine.
authorAndy Polyakov <appro@openssl.org>
Wed, 18 Jul 2018 13:22:07 +0000 (15:22 +0200)
committerAndy Polyakov <appro@openssl.org>
Sun, 22 Jul 2018 13:22:01 +0000 (15:22 +0200)
commit8fc4aeb9521270ac74b29ce7f569939b0b39e685
tree8bbc3901703848ef374f6b44e55145577bcecb77
parent87a75b3e5c04a1696208c279f32d1114b862cfed
ec/ecp_nistz256.c: fix ecp_nistz256_set_from_affine.

ecp_nistz256_set_from_affine is called when application attempts to use
custom generator, i.e. rarely. Even though it was wrong, it didn't
affect point operations, they were just not as fast as expected.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6738)
crypto/ec/ecp_nistz256.c