Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

BN_num_bits_word(3ssl)


BN_num_bytes

BN_num_bytes

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
HISTORY

NAME

BN_num_bits, BN_num_bytes, BN_num_bits_word − get BIGNUM size

SYNOPSIS

 #include <openssl/bn.h>
 int BN_num_bytes(const BIGNUM *a);
 int BN_num_bits(const BIGNUM *a);
 int BN_num_bits_word(BN_ULONG w);

DESCRIPTION

These functions return the size of a BIGNUM in bytes or bits, and the size of an unsigned integer in bits.

BN_num_bytes() is a macro.

RETURN VALUES

The size.

SEE ALSO

bn(3)

HISTORY

BN_num_bytes(), BN_num_bits() and BN_num_bits_word() are available in all versions of SSLeay and OpenSSL.



BN_num_bits_word(3ssl)