BN_COPY(3ssl) OpenSSL BN_COPY(3ssl) BN_copy, BN_dup, BN_with_flags - BIGNUMs #include BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from); BIGNUM *BN_dup(const BIGNUM *from); void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags); BN_copy() from to. BN_dup() BIGNUM from. BN_with_flags temporary b dest. . . . flags dest b. BIGNUM BN_FLG_CONSTTIME . dest b. dest: o dest BIGNUM BN_new(). . o dest " " "const". o dest b BN_copy() to NULL . BN_dup() BIGNUM NULL . ERR_get_error(3). ERR_get_error(3) 2000-2017 OpenSSL. . Apache 2.0 ( ""). . LICENSE . 3 . . : . 3.6.2 7 2026 BN_COPY(3ssl)