BN_get_word

Return a as a BN_ULONG when it fits in a single word.

Synopsis

Declared in <openssl/bn.h>

unsigned long
BN_get_word(BIGNUM const* a);

Return Value

The low word value, or (BN_ULONG)-1 if a cannot be represented as one word.

Parameters

NameDescription
aBig number to convert.