X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_add.c;h=2584234cbfa3cca649949e57b2156b6f52b1ea38;hp=659e1d22d70798a12426283d6cb0f8dc9b5062a4;hb=1d97c8435171a7af575f73c526d79e1ef0ee5960;hpb=aa8a9266f91ce05068c5bf7eab44263c99d366f3 diff --git a/crypto/bn/bn_add.c b/crypto/bn/bn_add.c index 659e1d22d7..2584234cbf 100644 --- a/crypto/bn/bn_add.c +++ b/crypto/bn/bn_add.c @@ -70,7 +70,8 @@ int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) bn_check_top(a); bn_check_top(b); - /* a + b a+b + /*- + * a + b a+b * a + -b a-b * -a + b b-a * -a + -b -(a+b) @@ -266,7 +267,8 @@ int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) bn_check_top(a); bn_check_top(b); - /* a - b a-b + /*- + * a - b a-b * a - -b a+b * -a - b -(a+b) * -a - -b b-a