Decode an unsigned integer OSSL_PARAM into a newly allocated BIGNUM.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_get_BN(
    OSSL_PARAM const* p,
    BIGNUM** val);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

p

Parameter holding an unsigned big‐endian integer.

val

In/out BIGNUM pointer; allocates when *`val` is NULL, else reuses it.

Created with MrDocs