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

Name

Description

a

Value to test.

Created with MrDocs