5 BN_num_bits, BN_num_bytes, BN_num_bits_word - Get BIGNUM size
9 #include <openssl/bn.h>
11 int BN_num_bytes(const BIGNUM *a);
13 int BN_num_bits(const BIGNUM *a);
15 int BN_num_bits_word(BN_ULONG w);
19 These functions return the size of a B<BIGNUM> in bytes or bits,
20 and the size of an unsigned integer in bits.
22 BN_num_bytes() is a macro.
34 BN_num_bytes(), BN_num_bits() and BN_num_bits_word() are available in
35 all versions of SSLeay and OpenSSL.