Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dbn.c148 if (bn_wexpand(dest, src->top) == NULL) { in BN_copy()
260 if (bn_wexpand(bn, 1) == NULL) { in BN_set_word()
282 BIGNUM *bn_wexpand(BIGNUM *bn, unsigned words) { in bn_wexpand() function
290 OPENSSL_PUT_ERROR(BN, bn_wexpand, BN_R_BIGNUM_TOO_LONG); in bn_wexpand()
295 OPENSSL_PUT_ERROR(BN, bn_wexpand, BN_R_EXPAND_ON_STATIC_BIGNUM_DATA); in bn_wexpand()
301 OPENSSL_PUT_ERROR(BN, bn_wexpand, ERR_R_MALLOC_FAILURE); in bn_wexpand()
315 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()
200 if (bn_wexpand(r, j) == NULL) { in BN_rshift1()
231 if (bn_wexpand(a, i + 1) == NULL) { in BN_set_bit()
Dmul.c612 if (bn_wexpand(rr, 16) == NULL) { in BN_mul()
639 if (bn_wexpand(t, k * 4) == NULL) { in BN_mul()
642 if (bn_wexpand(rr, k * 4) == NULL) { in BN_mul()
648 if (bn_wexpand(t, k * 2) == NULL) { in BN_mul()
651 if (bn_wexpand(rr, k * 2) == NULL) { in BN_mul()
661 if (bn_wexpand(rr, top) == NULL) { in BN_mul()
810 if (bn_wexpand(bn, bn->top + 1) == NULL) { in BN_mul_word()
839 if (bn_wexpand(rr, max) == NULL) { in BN_sqr()
858 if (bn_wexpand(tmp, k * 2) == NULL) { in BN_sqr()
863 if (bn_wexpand(tmp, max) == NULL) { in BN_sqr()
Dadd.c116 if (bn_wexpand(r, max + 1) == NULL) { in BN_uadd()
192 if (bn_wexpand(a, a->top + 1) == NULL) { in BN_add_word()
240 if (bn_wexpand(r, max) == NULL) { in BN_sub()
274 if (bn_wexpand(r, max) == NULL) { in BN_usub()
Dmontgomery.c348 if (bn_wexpand(r, max) == NULL) {
372 if (bn_wexpand(ret, nl) == NULL) {
433 if (bn_wexpand(r,max) == NULL) return(0); in BN_from_montgomery_word()
459 if (bn_wexpand(ret,nl) == NULL) return(0); in BN_from_montgomery_word()
527 if (bn_wexpand(r, num) == NULL) { in BN_mod_mul_montgomery()
Ddiv.c185 if (bn_wexpand(snum, sdiv->top + 2) == NULL) { in BN_div()
193 if (bn_wexpand(snum, snum->top + 1) == NULL) { in BN_div()
223 if (!bn_wexpand(res, (loop + 1))) { in BN_div()
230 if (!bn_wexpand(tmp, (div_n + 1))) { in BN_div()
Dexponentiation.c689 if (bn_wexpand(r, j) == NULL) { in BN_mod_exp_mont()
795 if (bn_wexpand(b, top) == NULL) { in copy_from_prebuf()
897 if (NULL == bn_wexpand(rr, 16)) { in BN_mod_exp_mont_consttime()
907 if (NULL == bn_wexpand(rr, 8)) { in BN_mod_exp_mont_consttime()
Dconvert.c89 if (bn_wexpand(ret, num_words) == NULL) { in BN_bin2bn()
/external/boringssl/src/crypto/err/
Dbn.errordata26 BN,function,123,bn_wexpand
/external/boringssl/src/include/openssl/
Dbn.h313 OPENSSL_EXPORT BIGNUM *bn_wexpand(BIGNUM *bn, unsigned words);