Commit 32c74814 authored by Kurt Roeckx's avatar Kurt Roeckx
Browse files

BN_sub: document that r might be the same as a or b



Reviewed-by: default avatarRich Salz <rsalz@akamai.com>

RT #4100, MR #1264
parent 9f6795e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ BN_add() adds I<a> and I<b> and places the result in I<r> (C<r=a+b>).
I<r> may be the same B<BIGNUM> as I<a> or I<b>.

BN_sub() subtracts I<b> from I<a> and places the result in I<r> (C<r=a-b>).
I<r> may be the same B<BIGNUM> as I<a> or I<b>.

BN_mul() multiplies I<a> and I<b> and places the result in I<r> (C<r=a*b>).
I<r> may be the same B<BIGNUM> as I<a> or I<b>.