bn/bn_div.c: make conditional addition unconditional
authorAndy Polyakov <appro@openssl.org>
Wed, 7 Nov 2018 21:18:33 +0000 (22:18 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 5 Dec 2018 10:33:57 +0000 (10:33 +0000)
commit3da2e9c4ee45989a426ff513dc6c6250d1e460de
treeef9e05260a20be57d2c86894af1176bf1a151b4e
parent31703da3b8e743c07a9fdb6025aa526594c2a319
bn/bn_div.c: make conditional addition unconditional

and add template for constant-time bn_div_3_words.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7589)
crypto/bn/bn_div.c