NAME
BNcopy, BNdup - copy BIGNUMs
SYNOPSIS
#include
BIGNUM *BNcopy(BIGNUM *to, const BIGNUM *from); BIGNUM *BNdup(const BIGNUM *from);DESCRIPTION
BNcopy() copies ffrroomm to ttoo. BNdup() creates a new BBIIGGNNUUMM containing the value ffrroomm.RETURN VALUES
BNcopy() returns ttoo on success, NULL on error. BNdup() returns the new BBIIGGNNUUMM, and NULL on error. The error codes can be obtained by ERRgeterror(3).SEE ALSO
bn(3), ERRgeterror(3) HISTORY BNcopy() and BNdup() are available in all versions of SSLeay and OpenSSL.0.9.7l 2002-09-25 BNcopy(3)