Home
last modified time | relevance | path

Searched refs:bn_wexpand (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dshift.c78 if (!bn_wexpand(r, a->top + nw + 1)) { in BN_lshift()
110 if (!bn_wexpand(r, a->top + 1)) { in BN_lshift1()
115 if (!bn_wexpand(r, a->top + 1)) { in BN_lshift1()
155 if (!bn_wexpand(r, i)) { in BN_rshift()
205 if (!bn_wexpand(r, j)) { in BN_rshift1()
238 if (!bn_wexpand(a, i + 1)) { in BN_set_bit()
Dbn.c151 if (!bn_wexpand(dest, src->top)) { in BN_copy()
256 if (!bn_wexpand(bn, 1)) { in BN_set_word()
274 if (!bn_wexpand(bn, 2)) { in BN_set_u64()
289 if (!bn_wexpand(bn, num)) { in bn_set_words()
341 int bn_wexpand(BIGNUM *bn, size_t words) { in bn_wexpand() function
378 return bn_wexpand(bn, (bits+BN_BITS2-1)/BN_BITS2); in bn_expand()
383 if (!bn_wexpand(bn, words)) { in bn_resize_words()
Dmul.c592 if (!bn_wexpand(rr, 16)) { in BN_mul()
620 if (!bn_wexpand(t, k * 4)) { in BN_mul()
623 if (!bn_wexpand(rr, k * 4)) { in BN_mul()
629 if (!bn_wexpand(t, k * 2)) { in BN_mul()
632 if (!bn_wexpand(rr, k * 2)) { in BN_mul()
642 if (!bn_wexpand(rr, top)) { in BN_mul()
807 if (!bn_wexpand(bn, bn->top + 1)) { in BN_mul_word()
836 if (!bn_wexpand(rr, max)) { in BN_sqr()
855 if (!bn_wexpand(tmp, k * 2)) { in BN_sqr()
860 if (!bn_wexpand(tmp, max)) { in BN_sqr()
Ddiv.c248 if (!bn_wexpand(snum, sdiv->top + 2)) { in BN_div()
256 if (!bn_wexpand(snum, snum->top + 1)) { in BN_div()
285 if (!bn_wexpand(res, loop + 1)) { in BN_div()
292 if (!bn_wexpand(tmp, div_n + 1)) { in BN_div()
671 if (!bn_wexpand(r, num_words)) { in BN_mod_pow2()
704 if (!bn_wexpand(r, num_words)) { in BN_nnmod_pow2()
Dadd.c117 if (!bn_wexpand(r, max + 1)) { in BN_uadd()
191 if (!bn_wexpand(a, a->top + 1)) { in BN_add_word()
264 if (!bn_wexpand(r, max)) { in BN_usub()
Dbytes.c86 if (!bn_wexpand(ret, num_words)) { in BN_bin2bn()
133 if (!bn_wexpand(ret, num_words)) { in BN_le2bn()
Dmontgomery.c317 !bn_wexpand(ret, n->top)) { in BN_from_montgomery_word()
357 if (!bn_wexpand(r, n->top)) { in bn_one_to_montgomery()
422 if (!bn_wexpand(r, num)) { in BN_mod_mul_montgomery()
Drandom.c281 if (!bn_wexpand(r, max_exclusive->top) || in BN_rand_range_ex()
Dinternal.h211 int bn_wexpand(BIGNUM *bn, size_t words); in OPENSSL_MSVC_PRAGMA()
Dexponentiation.c894 if (!bn_wexpand(b, top)) { in copy_from_prebuf()
1039 if (!bn_wexpand(rr, 16)) { in BN_mod_exp_mont_consttime()