Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
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()
Dbn.c148 if (bn_wexpand(dest, src->top) == NULL) { in BN_copy()
259 if (bn_wexpand(bn, 1) == NULL) { in BN_set_word()
281 BIGNUM *bn_wexpand(BIGNUM *bn, size_t words) { in bn_wexpand() function
318 return bn_wexpand(bn, (bits+BN_BITS2-1)/BN_BITS2); in bn_expand()
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()
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()
Dmontgomery.c344 if (bn_wexpand(r, max) == NULL) {
368 if (bn_wexpand(ret, nl) == NULL) {
429 if (bn_wexpand(r,max) == NULL) return(0); in BN_from_montgomery_word()
455 if (bn_wexpand(ret,nl) == NULL) return(0); in BN_from_montgomery_word()
523 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.c703 if (bn_wexpand(r, j) == NULL) { in BN_mod_exp_mont()
807 if (bn_wexpand(b, top) == NULL) { in copy_from_prebuf()
911 if (NULL == bn_wexpand(rr, 16)) { in BN_mod_exp_mont_consttime()
921 if (NULL == bn_wexpand(rr, 8)) { in BN_mod_exp_mont_consttime()
Dconvert.c93 if (bn_wexpand(ret, num_words) == NULL) { in BN_bin2bn()
/external/boringssl/src/crypto/ec/
Dp256-x86_64.c403 if (bn_wexpand(&r->X, P256_LIMBS) == NULL || in ecp_nistz256_points_mul()
404 bn_wexpand(&r->Y, P256_LIMBS) == NULL || in ecp_nistz256_points_mul()
405 bn_wexpand(&r->Z, P256_LIMBS) == NULL) { in ecp_nistz256_points_mul()
551 if (bn_wexpand(x, P256_LIMBS) == NULL) { in ecp_nistz256_get_affine()
563 if (bn_wexpand(y, P256_LIMBS) == NULL) { in ecp_nistz256_get_affine()
/external/boringssl/src/include/openssl/
Dbn.h332 OPENSSL_EXPORT BIGNUM *bn_wexpand(BIGNUM *bn, size_t words);