BN_is_odd

Test whether a BIGNUM is odd.

Synopsis

Declared in <openssl/bn.h>

int
BN_is_odd(BIGNUM const* a);

Return Value

1 if the least-significant bit of a is set, or 0 otherwise.

Parameters

NameDescription
aValue to test.