Fix BN_gcd errors for some curves
authorBilly Brumley <bbrumley@gmail.com>
Wed, 20 Jan 2016 11:18:21 +0000 (13:18 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 1 Aug 2018 14:33:06 +0000 (16:33 +0200)
commite3ab8cc460d1a43fe6310c8d9a92589db1d4f8a3
treedea244e3ddcc00cf48f5aa634e04a388d2f4c254
parent6a815969776e3329fdffcc12c77e047e3a15be78
Fix BN_gcd errors for some curves

Those even order that do not play nicely with Montgomery arithmetic

(back-ported from commit 3a6a4a93518fbb3d96632bfdcb538d340f29c56b)

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6810)
crypto/ec/ec_lib.c