BN_set_flags

Set selected BIGNUM flag bits on b (bitwise OR with n).

Synopsis

Declared in <openssl/bn.h>

void
BN_set_flags(
    BIGNUM* b,
    int n);

Parameters

NameDescription
bBig number whose flags are updated.
nCombination of BN_FLG_* bits to set (for example BN_FLG_CONSTTIME).