Use BN_swap_ct() instead of BN_consttime_swap() in
authortb <tb@openbsd.org>
Mon, 23 Jul 2018 18:24:22 +0000 (18:24 +0000)
committertb <tb@openbsd.org>
Mon, 23 Jul 2018 18:24:22 +0000 (18:24 +0000)
commitae7e2d97c84353dd12935654ec2545fb0211d4eb
tree2a12ccfc357729a4571fda27e07c5c142d516ac9
parent2a2cbef30a24ad9e078995b0d763740502ebe1f8
Use BN_swap_ct() instead of BN_consttime_swap() in
ec_GF2m_montgomery_point_multiply().  The new BN_swap_ct() API is an
improved version of the public BN_consttime_swap() function: it allows
error checking, doesn't assert(), and has fewer assumptions on the input.
This diff eliminates the last use of BN_consttime_swap() in our tree.

ok inoguchi, jsing
lib/libcrypto/ec/ec2_mult.c