
bn_div_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_dump(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_dup(3)  copy BIGNUMs

BN_copy() copies from to to. BN_dup() creates a new BIGNUM containing the value from. 
BN_exp(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_expand(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_expand2(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_fix_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_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_from_montgomery(3)  Montgomery multiplication

These functions implement Montgomery multiplication. They are used automatically when BN_mod_exp(3) is called with suitable input, but they may be useful when several operations are to be performed us... 
BN_gcd(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_generate_prime(3)  generate primes and test for primality

BN_generate_prime() generates a pseudorandom prime number of num bits. If ret is not NULL, it will be used to store the number. If callback is not NULL, it is called as follows: o callback(0, i, cb_a... 
BN_get_word(3)  BIGNUM assignment operations

BN_zero(), BN_one() and BN_set_word() set a to the values 0, 1 and w respectively. BN_zero() and BN_one() are macros. BN_value_one() returns a BIGNUM constant of value 1. This constant is useful for u... 
BN_hex2bn(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_init(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_internal(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... 