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

Name

Description

b

BIGNUM to query.

n

Flag mask (for example BN_FLG_CONSTTIME).

Created with MrDocs