BN_is_zero

Test whether a BIGNUM is zero.

Synopsis

Declared in <openssl/bn.h>

int
BN_is_zero(BIGNUM const* a);

Return Value

1 if a is zero, or 0 otherwise.

Parameters

NameDescription
aValue to test.