Append a BIGNUM parameter padded to exactly sz bytes (by reference until to_param).

Synopsis

Declared in <openssl/param_build.h>

int
OSSL_PARAM_BLD_push_BN_pad(
    OSSL_PARAM_BLD* bld,
    char const* key,
    BIGNUM const* bn,
    size_t sz);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

bld

Parameter builder.

key

Parameter name string.

bn

Non‐negative BIGNUM to store.

sz

Exact encoded size in bytes; fails if bn does not fit.

Created with MrDocs