*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> BN_num_bytes (3)              
Title
Content
Arch
Section
 

BN_NUM_BYTES(3)

Contents


NAME    [Toc]    [Back]

       BN_num_bits, BN_num_bytes, BN_num_bits_word - get BIGNUM
       size

SYNOPSIS    [Toc]    [Back]

        #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    [Toc]    [Back]

       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    [Toc]    [Back]

       The size.

SEE ALSO    [Toc]    [Back]

      
      
       bn(3)

HISTORY    [Toc]    [Back]

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


OpenBSD 3.6                 2000-03-19                          1
[ Back ]
 Similar pages
Name OS Title
BN_value_one OpenBSD BIGNUM assignment operations
BN_set_word OpenBSD BIGNUM assignment operations
BN_zero NetBSD BIGNUM assignment operations
BN_CTX_get Tru64 Use temporary BIGNUM variables
BN_CTX_start NetBSD use temporary BIGNUM variables
BN_zero OpenBSD BIGNUM assignment operations
BN_get_word OpenBSD BIGNUM assignment operations
BN_CTX_start Tru64 Use temporary BIGNUM variables
BN_CTX_end Tru64 Use temporary BIGNUM variables
BN_get_word Tru64 BIGNUM assignment operations
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service