Append a BIGNUM parameter by reference (must remain valid until OSSL_PARAM_BLD_to_param()).

Synopsis

Declared in <openssl/param_build.h>

int
OSSL_PARAM_BLD_push_BN(
    OSSL_PARAM_BLD* bld,
    char const* key,
    BIGNUM const* bn);

Return Value

1 on success, or 0 on error (including negative bn).

Parameters

Name

Description

bld

Parameter builder.

key

Parameter name string.

bn

Non‐negative BIGNUM to store; secure BIGNUMs yield secure OSSL_PARAM storage.

Created with MrDocs