BN_is_one

Test whether a BIGNUM equals one.

Synopsis

Declared in <openssl/bn.h>

int
BN_is_one(BIGNUM const* a);

Return Value

1 if a has the value 1, or 0 otherwise.

Parameters

NameDescription
aBIGNUM to test.