
bn(3)  multiprecision integer arithmetics

This library performs arithmetic operations on integers of arbitrary size. It was written for use in public key cryptography, such as RSA and DiffieHellman. It uses dynamic memory allocation for stor... 
BN_add(3)  arithmetic operations on BIGNUMs

BN_add() adds a and b and places the result in r ("r=a+b"). r may be the same BIGNUM as a or b. BN_sub() subtracts b from a and places the result in r ("r=ab"). BN_mul() multiplies a and b and pl... 

BN_add_word(3)  arithmetic functions on BIGNUMs with integers

These functions perform arithmetic operations on BIGNUMs with unsigned integers. They are much more efficient than the normal BIGNUM arithmetic operations. BN_add_word() adds w to a ("a+=w"). BN_sub... 
bn_add_words(3)  BIGNUM library internal functions

This page documents the internal functions used by the OpenSSL BIGNUM implementation. They are described here to facilitate debugging and extending the library. They are not to be used by applications... 
BN_bin2bn(3)  format conversions

BN_bn2bin() converts the absolute value of a into bigendian form and stores it at to. to must point to BN_num_bytes(a) bytes of memory. BN_bin2bn() converts the positive integer in bigendian form of ... 
BN_bn2bin(3)  format conversions

BN_bn2bin() converts the absolute value of a into bigendian form and stores it at to. to must point to BN_num_bytes(a) bytes of memory. BN_bin2bn() converts the positive integer in bigendian form of ... 
BN_bn2dec(3)  format conversions

BN_bn2bin() converts the absolute value of a into bigendian form and stores it at to. to must point to BN_num_bytes(a) bytes of memory. BN_bin2bn() converts the positive integer in bigendian form of ... 
BN_bn2hex(3)  format conversions

BN_bn2bin() converts the absolute value of a into bigendian form and stores it at to. to must point to BN_num_bytes(a) bytes of memory. BN_bin2bn() converts the positive integer in bigendian form of ... 
BN_bn2mpi(3)  format conversions

BN_bn2bin() converts the absolute value of a into bigendian form and stores it at to. to must point to BN_num_bytes(a) bytes of memory. BN_bin2bn() converts the positive integer in bigendian form of ... 
bn_check_top(3)  BIGNUM library internal functions

This page documents the internal functions used by the OpenSSL BIGNUM implementation. They are described here to facilitate debugging and extending the library. They are not to be used by applications... 
BN_clear(3)  allocate and free BIGNUMs

BN_new() allocated and initializes a BIGNUM structure. BN_init() initializes an existing uninitialized BIGNUM. BN_clear() is used to destroy sensitive data such as keys when they are no longer needed.... 
BN_clear_bit(3)  bit operations on BIGNUMs

BN_set_bit() sets bit n in a to 1 ("a=(1< 
BN_clear_free(3)  allocate and free BIGNUMs

BN_new() allocated and initializes a BIGNUM structure. BN_init() initializes an existing uninitialized BIGNUM. BN_clear() is used to destroy sensitive data such as keys when they are no longer needed.... 
BN_cmp(3)  BIGNUM comparison and test functions

BN_cmp() compares the numbers a and b. BN_ucmp() compares their absolute values. BN_is_zero(), BN_is_one() and BN_is_word() test if a equals 0, 1, or w respectively. BN_is_odd() tests if a is odd. BN_... 
bn_cmp_words(3)  BIGNUM library internal functions

This page documents the internal functions used by the OpenSSL BIGNUM implementation. They are described here to facilitate debugging and extending the library. They are not to be used by applications... 