Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ BN_num_bits_word(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bn(3)

BN_num_bytes(3)  —  Subroutines

NAME

BN_num_bytes, BN_num_bits, 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. 

HISTORY

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

SEE ALSO

Functions: bn(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026