BN_CTX_get

Obtain a temporary BIGNUM from the current BN_CTX frame started by BN_CTX_start().

Synopsis

Declared in <openssl/bn.h>

BIGNUM*
BN_CTX_get(BN_CTX* ctx);

Return Value

Temporary BIGNUM owned by ctx (do not free), or NULL on error / after a prior failure.

Parameters

NameDescription
ctxContext with an active BN_CTX_start() frame.