|
BN_dup(3) -- Copy BIGNUMs
|
The BN_copy() function copies from to to. The BN_dup() function creates a new BIGNUM containing the value from. |
BN_exp(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=a-b). The BN... |
|
bn_expand(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_expand2(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_fix_top(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_free(3) -- Allocate and free BIGNUMs
|
The BN_new() function allocates and initializes a BIGNUM structure. The BN_init() function initializes an existing uninitialized BIGNUM. The BN_clear() function is used to destroy sensitive data such ... |
BN_from_montgomery(3) -- Montgomery multiplication
|
These functions implement Montgomery multiplication. They are used automatically when BN_mod_exp() is called with suitable input, but they may be useful when several operations are performed using the... |
BN_gcd(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=a-b). The BN... |
BN_generate_prime(3) -- Generate primes and test for primality
|
The BN_generate_prime() function generates a pseudo-random 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: callback... |
BN_get_word(3) -- BIGNUM assignment operations
|
The BN_zero(), BN_one(), and BN_set_word() functions set a to the values 0, 1 and w respectively. BN_zero() and BN_one() are macros. The BN_value_one() function returns a BIGNUM constant of value 1. T... |
BN_hex2bn(3) -- Format conversions
|
The BN_bn2bin() function converts the absolute value of a into big-endian 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_init(3) -- Allocate and free BIGNUMs
|
The BN_new() function allocates and initializes a BIGNUM structure. The BN_init() function initializes an existing uninitialized BIGNUM. The BN_clear() function is used to destroy sensitive data such ... |
bn_internal(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_is_bit_set(3) -- Bit operations on BIGNUMs
|
The BN_set_bit() function sets bit n in a to 1 (a|=(1< |
BN_is_odd(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... |