[openssl-dev] [openssl.org #4100] Overlapping memcpy arguments in bn_add.c
Kurt Roeckx via RT
rt at openssl.org
Mon Oct 19 20:31:48 UTC 2015
On Mon, Oct 19, 2015 at 08:10:01PM +0200, Kurt Roeckx wrote:
> The manpage says that for BN_add(), BN_mul(), BN_sqr(), BN_mod_mul()
> and BN_gcd() r can be one of the other BIGNUMs that got passed, but
> it doesn't say so for BN_sub().
BN_add() can of course already call BN_usub(), and BN_uadd() also
already has the rp != ap check.
Kurt
More information about the openssl-dev
mailing list