|
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=a-b"). BN_mul() multiplies a and b and pl... |
BN_generate_prime(3) -- generate primes and test for primality
|
BN_generate_prime() 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: 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 big-endian 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... |
BN_is_bit_set(3) -- bit operations on BIGNUMs
|
BN_set_bit() sets bit n in a to 1 ("a|=(1< |
BN_is_odd(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_is_one(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_is_prime(3) -- generate primes and test for primality
|
BN_generate_prime() 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: o callback(0, i, cb_a... |