BN_copy, BN_dup - Copy BIGNUMs
#include <openssl/bn.h>
BIGNUM *BN_copy(
BIGNUM *to, const BIGNUM *from ); BIGNUM *BN_dup(
const BIGNUM *from );
The BN_copy() function copies from to to. The BN_dup()
function creates a new BIGNUM containing the value from.
BN_copy() function returns to on success, NULL on error.
The BN_dup() function returns the new BIGNUM, and NULL on
error. The error codes can be obtained by using the
ERR_get_error() function.
The BN_copy() and BN_dup() functions are available in all
versions of SSLeay and OpenSSL.
Functions: bn(3), err(3)
BN_copy(3)
[ Back ] |