Searched refs:bn_wexpand (Results 1 - 19 of 19) sorted by relevance

/freebsd-9.3-release/crypto/openssl/crypto/bn/
H A Dbn_shift.c73 if (bn_wexpand(r, a->top + 1) == NULL)
77 if (bn_wexpand(r, a->top + 1) == NULL)
109 if (bn_wexpand(r, a->top) == NULL)
143 if (bn_wexpand(r, a->top + nw + 1) == NULL)
192 if (bn_wexpand(r, a->top - nw + 1) == NULL)
H A Dbn_sqr.c92 if (bn_wexpand(rr, max) == NULL)
121 if (bn_wexpand(tmp, k * 2) == NULL)
125 if (bn_wexpand(tmp, max) == NULL)
131 if (bn_wexpand(tmp, max) == NULL)
H A Dbn_mul.c982 if (bn_wexpand(rr, 8) == NULL)
990 if (bn_wexpand(rr, 16) == NULL)
1018 if (bn_wexpand(t, k * 4) == NULL)
1020 if (bn_wexpand(rr, k * 4) == NULL)
1026 if (bn_wexpand(t, k * 2) == NULL)
1028 if (bn_wexpand(rr, k * 2) == NULL)
1038 if (bn_wexpand(tmp_bn, al) == NULL)
1045 if (bn_wexpand(tmp_bn, bl) == NULL)
1059 if (bn_wexpand(t, k * 2) == NULL)
1061 if (bn_wexpand(r
[all...]
H A Dbn_word.c151 if (bn_wexpand(a, a->top + 1) == NULL)
219 if (bn_wexpand(a, a->top + 1) == NULL)
H A Dbn_add.c125 if (bn_wexpand(r, max + 1) == NULL)
187 if (bn_wexpand(r, max) == NULL)
300 if (bn_wexpand(r, max) == NULL)
H A Dbn_div.c111 if (bn_wexpand(dv, 1) == NULL)
283 if (!bn_wexpand(res, (loop + 1)))
289 if (!bn_wexpand(tmp, (div_n + 1)))
499 if (bn_wexpand(snum, sdiv->top + 2) == NULL)
505 if (bn_wexpand(snum, snum->top + 1) == NULL)
536 if (!bn_wexpand(res, (loop + 1)))
542 if (!bn_wexpand(tmp, (div_n + 1)))
H A Dbn_mont.c151 if (bn_wexpand(r, num) == NULL)
215 if (bn_wexpand(r, max) == NULL)
278 if (bn_wexpand(ret, ri) == NULL)
385 if (bn_wexpand(r, max) == NULL)
451 if (bn_wexpand(ret, ri) == NULL)
508 if (bn_wexpand(ret, al) == NULL)
H A Dbn_nist.c387 if (!bn_wexpand(r, BN_NIST_192_TOP))
475 if (!bn_wexpand(r, BN_NIST_224_TOP))
586 if (!bn_wexpand(r, BN_NIST_256_TOP))
724 if (!bn_wexpand(r, BN_NIST_384_TOP))
847 if (!bn_wexpand(r, BN_NIST_521_TOP))
H A Dbn_lib.c442 * NB: bn_wexpand() calls this only if the BIGNUM really has to grow
495 if (bn_wexpand(a, b->top) == NULL)
618 if (bn_wexpand(ret, (int)i) == NULL) {
735 if (bn_wexpand(a, i + 1) == NULL)
H A Dbn_gf2m.c442 if (bn_wexpand(r, at->top) == NULL)
485 if (!bn_wexpand(r, a->top))
611 if (!bn_wexpand(s, zlen))
683 if (!bn_wexpand(s, 2 * a->top))
H A Dbn_exp.c533 if (bn_wexpand(b, top) == NULL)
555 if (bn_wexpand(b, top) == NULL)
H A Dbn.h719 # define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) macro
/freebsd-9.3-release/crypto/openssl/engines/
H A De_cswift.c525 if (!bn_wexpand(modulus, m->top) || !bn_wexpand(exponent, p->top) ||
526 !bn_wexpand(argument, a->top) || !bn_wexpand(result, m->top)) {
669 if (!bn_wexpand(argument, a->top) || !bn_wexpand(result, p->top + q->top)) {
828 if (!bn_wexpand(dsa_p, dsa->p->top) ||
829 !bn_wexpand(dsa_q, dsa->q->top) ||
830 !bn_wexpand(dsa_g, dsa->g->top) ||
831 !bn_wexpand(dsa_ke
[all...]
H A De_atalla.c491 if (!bn_wexpand(modulus, m->top) || !bn_wexpand(exponent, m->top) ||
492 !bn_wexpand(argument, m->top) || !bn_wexpand(result, m->top)) {
H A De_ubsec.c584 if (!bn_wexpand(r, m->top)) {
652 if (!bn_wexpand(r, p->top + q->top + 1)) {
767 if (!bn_wexpand(r, (160 + BN_BITS2 - 1) / BN_BITS2) ||
768 (!bn_wexpand(s, (160 + BN_BITS2 - 1) / BN_BITS2))) {
847 if (!bn_wexpand(pv, dsa->p->top)) {
957 if (bn_wexpand(priv_key, dh->p->top) == NULL)
971 if (bn_wexpand(pub_key, dh->p->top) == NULL)
/freebsd-9.3-release/crypto/openssl/demos/engines/ibmca/
H A Dhw_ibmca.c500 if (!bn_wexpand(argument, m->top) || !bn_wexpand(result, m->top) ||
501 !bn_wexpand(key, sizeof(*publKey) / BN_BYTES)) {
646 if (!bn_wexpand(argument, p->top + q->top) ||
647 !bn_wexpand(result, p->top + q->top) ||
648 !bn_wexpand(key, sizeof(*privKey) / BN_BYTES)) {
/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dec2_mult.c298 bn_wexpand(x1, group->field.top);
299 bn_wexpand(z1, group->field.top);
300 bn_wexpand(x2, group->field.top);
301 bn_wexpand(z2, group->field.top);
H A Dec2_smpl.c182 if (bn_wexpand(&dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2)
185 if (bn_wexpand(&dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2)
214 if (bn_wexpand(&group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2)
223 if (bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2)
/freebsd-9.3-release/crypto/openssl/demos/engines/zencod/
H A Dhw_zencod.c748 if (!bn_wexpand(r, m->top + 1)) {
1055 if (!bn_wexpand(bn_prv, dh->p->dmax) || !bn_wexpand(bn_pub, dh->p->dmax)) {

Completed in 566 milliseconds