Clean up our disgusting implementations of BN_{,u}{add,sub}(), following
authortb <tb@openbsd.org>
Mon, 23 Jul 2018 18:07:21 +0000 (18:07 +0000)
committertb <tb@openbsd.org>
Mon, 23 Jul 2018 18:07:21 +0000 (18:07 +0000)
commit66ed3801fd63ca8372bb74241e31e39c044b64c5
tree8a172dddd6a1177dce47fe045e60d57713db599b
parenta4858df8c5455654ebfa3e96349cf3f1eab81b02
Clean up our disgusting implementations of BN_{,u}{add,sub}(), following
changes made in OpenSSL by Davide Galassi and others, so that one can
actually follow what is going on. There is no performance impact from
this change as the code still does essentially the same thing. There's
a ton of work still to be done to make the BN code less terrible.

ok jsing, kn
lib/libcrypto/bn/bn_add.c