Lines Matching refs:BIGNUM

16 BIGNUM *bn_wexpand(BIGNUM *a, int words);
17 BIGNUM *bn_expand2(BIGNUM *a, int words);
19 void bn_correct_top(BIGNUM *a);
29 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len);
31 int bn_get_top(const BIGNUM *a);
33 int bn_get_dmax(const BIGNUM *a);
36 void bn_set_all_zero(BIGNUM *a);
39 * Copy the internal BIGNUM words into out which holds size elements (and size
42 int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size);
44 BN_ULONG *bn_get_words(const BIGNUM *a);
50 void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size);
53 * Copy words into the BIGNUM |a|, reallocating space as necessary.
61 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words);
64 * Some BIGNUM functions assume most significant limb to be non-zero, which
73 int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
75 int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
77 int bn_from_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
79 int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
80 const BIGNUM *m);
81 int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
82 const BIGNUM *m);
83 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
84 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
85 int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
86 int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
87 int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
88 const BIGNUM *d, BN_CTX *ctx);
89 int ossl_bn_rsa_do_unblind(const BIGNUM *intermediate,
91 const BIGNUM *possible_arg2,
92 const BIGNUM *to_mod, BN_CTX *ctx,