NAME
BN_num_bits, BN_num_bytes, BN_num_bits_word — get BIGNUM sizeSYNOPSIS
#include <openssl/bn.h>BN_num_bytes(const BIGNUM *a);
BN_num_bits(const BIGNUM *a);
BN_num_bits_word(BN_ULONG w);
DESCRIPTION
BN_num_bytes() returns the size of a BIGNUM in bytes.floor(log2(w))+ 1
.