
BN_cmp(3)  BIGNUM comparison and test functions

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

This page describes 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_copy(3)  Copy BIGNUMs

The BN_copy() function copies from to to. The BN_dup() function creates a new BIGNUM containing the value from. 
BN_CTX_end(3)  Use temporary BIGNUM variables

These functions are used to obtain temporary BIGNUM variables from a BN_CTX (which can been created by using the BN_CTX_new() function) in order to save the overhead of repeatedly creating and freeing... 
BN_CTX_free(3)  Allocate and free BN_CTX structures

A BN_CTX is a structure that holds BIGNUM temporary variables used by library functions. Since dynamic memory allocation to create BIGNUMs is rather expensive when used in conjunction with repeated su... 
BN_CTX_get(3)  Use temporary BIGNUM variables

These functions are used to obtain temporary BIGNUM variables from a BN_CTX (which can been created by using the BN_CTX_new() function) in order to save the overhead of repeatedly creating and freeing... 
BN_CTX_init(3)  Allocate and free BN_CTX structures

A BN_CTX is a structure that holds BIGNUM temporary variables used by library functions. Since dynamic memory allocation to create BIGNUMs is rather expensive when used in conjunction with repeated su... 
BN_CTX_new(3)  Allocate and free BN_CTX structures

A BN_CTX is a structure that holds BIGNUM temporary variables used by library functions. Since dynamic memory allocation to create BIGNUMs is rather expensive when used in conjunction with repeated su... 
BN_CTX_start(3)  Use temporary BIGNUM variables

These functions are used to obtain temporary BIGNUM variables from a BN_CTX (which can been created by using the BN_CTX_new() function) in order to save the overhead of repeatedly creating and freeing... 
BN_dec2bn(3)  Format conversions

The BN_bn2bin() function converts the absolute value of a into bigendian form and stores it at to. The to value must point to BN_num_bytes(a) bytes of memory. The BN_bin2bn() function converts the po... 
BN_div(3)  Arithmetic operations on BIGNUMs

The BN_add() function adds a and b and places the result in r (r=a+b). The r value can be the same BIGNUM as a or b. The BN_sub() function subtracts b from a and places the result in r (r=ab). The BN... 
BN_div_recp(3)  Modular multiplication using reciprocal

The BN_mod_mul_reciprocal() function can be used to perform an efficient BN_mod_mul() operation when the operation will be performed repeatedly with the same modulus. It computes r=(a*b)%m using recp=... 
BN_div_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. The BN_add_word() function adds w to a (a+=w... 
bn_div_words(3)  BIGNUM library internal functions

This page describes 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_dump(3)  BIGNUM library internal functions

This page describes 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... 