BN_get_flags

Test whether the given BN_FLG_* bits are set on a BIGNUM.

Synopsis

Declared in <openssl/bn.h>

int
BN_get_flags(
    BIGNUM const* b,
    int n);

Return Value

n bits that are set on b (0 if none).

Parameters

NameDescription
bBIGNUM to query.
nFlag mask (for example BN_FLG_CONSTTIME).