Import OpenSSL-0.9.8i.
[dragonfly.git] / crypto / openssl-0.9.7d / doc / crypto / BN_num_bytes.pod
blob61589fb9aca62cd0728eecc554a8d2958b5f12f7
1 =pod
3 =head1 NAME
5 BN_num_bits, BN_num_bytes, BN_num_bits_word - get BIGNUM size
7 =head1 SYNOPSIS
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);
17 =head1 DESCRIPTION
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.
24 =head1 RETURN VALUES
26 The size.
28 =head1 SEE ALSO
30 L<bn(3)|bn(3)>
32 =head1 HISTORY
34 BN_num_bytes(), BN_num_bits() and BN_num_bits_word() are available in
35 all versions of SSLeay and OpenSSL.
37 =cut