Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dbn.c148 if (bn_wexpand(dest, src->top) == NULL) { in BN_copy()
253 if (bn_wexpand(bn, 1) == NULL) { in BN_set_word()
271 if (bn_wexpand(bn, 2) == NULL) { in BN_set_u64()
286 if (bn_wexpand(bn, num) == NULL) { in bn_set_words()
309 BIGNUM *bn_wexpand(BIGNUM *bn, size_t words) { in bn_wexpand() function
346 return bn_wexpand(bn, (bits+BN_BITS2-1)/BN_BITS2); in bn_expand()
Dshift.c78 if (bn_wexpand(r, a->top + nw + 1) == NULL) { in BN_lshift()
110 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1()
115 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1()
155 if (bn_wexpand(r, i) == NULL) { in BN_rshift()
204 if (bn_wexpand(r, j) == NULL) { in BN_rshift1()
239 if (bn_wexpand(a, i + 1) == NULL) { in BN_set_bit()
Dmul.c594 if (bn_wexpand(rr, 16) == NULL) { in BN_mul()
622 if (bn_wexpand(t, k * 4) == NULL) { in BN_mul()
625 if (bn_wexpand(rr, k * 4) == NULL) { in BN_mul()
631 if (bn_wexpand(t, k * 2) == NULL) { in BN_mul()
634 if (bn_wexpand(rr, k * 2) == NULL) { in BN_mul()
644 if (bn_wexpand(rr, top) == NULL) { in BN_mul()
793 if (bn_wexpand(bn, bn->top + 1) == NULL) { in BN_mul_word()
822 if (bn_wexpand(rr, max) == NULL) { in BN_sqr()
841 if (bn_wexpand(tmp, k * 2) == NULL) { in BN_sqr()
846 if (bn_wexpand(tmp, max) == NULL) { in BN_sqr()
Dadd.c118 if (bn_wexpand(r, max + 1) == NULL) { in BN_uadd()
194 if (bn_wexpand(a, a->top + 1) == NULL) { in BN_add_word()
242 if (bn_wexpand(r, max) == NULL) { in BN_sub()
276 if (bn_wexpand(r, max) == NULL) { in BN_usub()
Ddiv.c242 if (bn_wexpand(snum, sdiv->top + 2) == NULL) { in BN_div()
250 if (bn_wexpand(snum, snum->top + 1) == NULL) { in BN_div()
279 if (!bn_wexpand(res, (loop + 1))) { in BN_div()
286 if (!bn_wexpand(tmp, (div_n + 1))) { in BN_div()
666 if (bn_wexpand(r, num_words) == NULL) { in BN_mod_pow2()
699 if (bn_wexpand(r, num_words) == NULL) { in BN_nnmod_pow2()
Dmontgomery.c276 if (bn_wexpand(r, max) == NULL) { in BN_from_montgomery_word()
300 if (bn_wexpand(ret, nl) == NULL) { in BN_from_montgomery_word()
381 if (bn_wexpand(r, num) == NULL) { in BN_mod_mul_montgomery()
Dconvert.c93 if (bn_wexpand(ret, num_words) == NULL) { in BN_bin2bn()
140 if (!bn_wexpand(ret, num_words)) { in BN_le2bn()
Dexponentiation.c654 if (bn_wexpand(r, j) == NULL) { in BN_mod_exp_mont()
763 if (bn_wexpand(b, top) == NULL) { in copy_from_prebuf()
906 if (NULL == bn_wexpand(rr, 16)) { in BN_mod_exp_mont_consttime()
/external/boringssl/src/include/openssl/
Dbn.h342 OPENSSL_EXPORT BIGNUM *bn_wexpand(BIGNUM *bn, size_t words);