|
OPENSSL_EXPORT int | bn_abs_sub_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) |
|
BN_ULONG | bn_add_words (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, size_t num) |
|
int | bn_copy_words (BN_ULONG *out, size_t num, const BIGNUM *bn) |
|
OPENSSL_EXPORT int | bn_div_consttime (BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, const BIGNUM *divisor, unsigned divisor_min_bits, BN_CTX *ctx) |
|
int | bn_expand (BIGNUM *bn, size_t bits) |
|
int | bn_fits_in_words (const BIGNUM *bn, size_t num) |
|
void | bn_from_montgomery_small (BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a, const BN_MONT_CTX *mont) |
|
int | bn_in_range_words (const BN_ULONG *a, BN_ULONG min_inclusive, const BN_ULONG *max_exclusive, size_t len) |
|
int | bn_is_bit_set_words (const BN_ULONG *a, size_t num, unsigned bit) |
|
OPENSSL_EXPORT int | bn_is_relatively_prime (int *out_relatively_prime, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) |
|
int | bn_jacobi (const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) |
|
OPENSSL_EXPORT int | bn_lcm_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) |
|
int | bn_less_than_montgomery_R (const BIGNUM *bn, const BN_MONT_CTX *mont) |
|
int | bn_less_than_words (const BN_ULONG *a, const BN_ULONG *b, size_t len) |
|
OPENSSL_EXPORT int | bn_miller_rabin_init (BN_MILLER_RABIN *miller_rabin, const BN_MONT_CTX *mont, BN_CTX *ctx) |
|
OPENSSL_EXPORT int | bn_miller_rabin_iteration (const BN_MILLER_RABIN *miller_rabin, int *out_is_possibly_prime, const BIGNUM *b, const BN_MONT_CTX *mont, BN_CTX *ctx) |
|
int | bn_minimal_width (const BIGNUM *bn) |
|
int | bn_mod_add_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) |
|
void | bn_mod_add_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, const BN_ULONG *m, BN_ULONG *tmp, size_t num) |
|
int | bn_mod_exp_base_2_consttime (BIGNUM *r, unsigned p, const BIGNUM *n, BN_CTX *ctx) |
|
void | bn_mod_exp_mont_small (BN_ULONG *r, const BN_ULONG *a, size_t num, const BN_ULONG *p, size_t num_p, const BN_MONT_CTX *mont) |
|
void | bn_mod_inverse0_prime_mont_small (BN_ULONG *r, const BN_ULONG *a, size_t num, const BN_MONT_CTX *mont) |
|
OPENSSL_EXPORT int | bn_mod_inverse_consttime (BIGNUM *r, int *out_no_inverse, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) |
|
int | bn_mod_inverse_prime (BIGNUM *out, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx, const BN_MONT_CTX *mont_p) |
|
int | bn_mod_inverse_secret_prime (BIGNUM *out, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx, const BN_MONT_CTX *mont_p) |
|
int | bn_mod_lshift1_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) |
|
int | bn_mod_lshift_consttime (BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx) |
|
void | bn_mod_mul_montgomery_small (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, size_t num, const BN_MONT_CTX *mont) |
|
int | bn_mod_sub_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) |
|
void | bn_mod_sub_words (BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, const BN_ULONG *m, BN_ULONG *tmp, size_t num) |
|
OPENSSL_EXPORT uint16_t | bn_mod_u16_consttime (const BIGNUM *bn, uint16_t d) |
|
uint64_t | bn_mont_n0 (const BIGNUM *n) |
|
BN_ULONG | bn_mul_add_words (BN_ULONG *rp, const BN_ULONG *ap, size_t num, BN_ULONG w) |
|
void | bn_mul_comba4 (BN_ULONG r[8], const BN_ULONG a[4], const BN_ULONG b[4]) |
|
void | bn_mul_comba8 (BN_ULONG r[16], const BN_ULONG a[8], const BN_ULONG b[8]) |
|
int | bn_mul_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) |
|
void | bn_mul_small (BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a, const BN_ULONG *b, size_t num_b) |
|
BN_ULONG | bn_mul_words (BN_ULONG *rp, const BN_ULONG *ap, size_t num, BN_ULONG w) |
|
int | bn_odd_number_is_obviously_composite (const BIGNUM *bn) |
|
int | bn_one_to_montgomery (BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx) |
|
int | bn_rand_range_words (BN_ULONG *out, BN_ULONG min_inclusive, const BN_ULONG *max_exclusive, size_t len, const uint8_t additional_data[32]) |
|
int | bn_rand_secret_range (BIGNUM *r, int *out_is_uniform, BN_ULONG min_inclusive, const BIGNUM *max_exclusive) |
|
BN_ULONG | bn_reduce_once (BN_ULONG *r, const BN_ULONG *a, BN_ULONG carry, const BN_ULONG *m, size_t num) |
|
BN_ULONG | bn_reduce_once_in_place (BN_ULONG *r, BN_ULONG carry, const BN_ULONG *m, BN_ULONG *tmp, size_t num) |
|
OPENSSL_EXPORT int | bn_resize_words (BIGNUM *bn, size_t words) |
|
void | bn_rshift1_words (BN_ULONG *r, const BN_ULONG *a, size_t num) |
|
OPENSSL_EXPORT int | bn_rshift_secret_shift (BIGNUM *r, const BIGNUM *a, unsigned n, BN_CTX *ctx) |
|
void | bn_rshift_words (BN_ULONG *r, const BN_ULONG *a, unsigned shift, size_t num) |
|
void | bn_select_words (BN_ULONG *r, BN_ULONG mask, const BN_ULONG *a, const BN_ULONG *b, size_t num) |
|
void | bn_set_minimal_width (BIGNUM *bn) |
|
void | bn_set_static_words (BIGNUM *bn, const BN_ULONG *words, size_t num) |
|
int | bn_set_words (BIGNUM *bn, const BN_ULONG *words, size_t num) |
|
void | bn_sqr_comba4 (BN_ULONG r[8], const BN_ULONG a[4]) |
|
void | bn_sqr_comba8 (BN_ULONG r[16], const BN_ULONG a[8]) |
|
int | bn_sqr_consttime (BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) |
|
void | bn_sqr_small (BN_ULONG *r, size_t num_r, const BN_ULONG *a, size_t num_a) |
|
void | bn_sqr_words (BN_ULONG *rp, const BN_ULONG *ap, size_t num) |
|
BN_ULONG | bn_sub_words (BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, size_t num) |
|
void | bn_to_montgomery_small (BN_ULONG *r, const BN_ULONG *a, size_t num, const BN_MONT_CTX *mont) |
|
int | bn_uadd_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b) |
|
int | bn_usub_consttime (BIGNUM *r, const BIGNUM *a, const BIGNUM *b) |
|
int | bn_wexpand (BIGNUM *bn, size_t words) |
|