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

/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_shift.c74 if (bn_wexpand(r,a->top+1) == NULL) return(0);
79 if (bn_wexpand(r,a->top+1) == NULL) return(0);
114 if (bn_wexpand(r,a->top) == NULL) return(0);
143 if (bn_wexpand(r,a->top+nw+1) == NULL) return(0);
188 if (bn_wexpand(r,a->top-nw+1) == NULL) return(0);
H A Dbn_sqr.c89 if (bn_wexpand(rr,max) == NULL) goto err;
126 if (bn_wexpand(tmp,k*2) == NULL) goto err;
131 if (bn_wexpand(tmp,max) == NULL) goto err;
136 if (bn_wexpand(tmp,max) == NULL) goto err;
H A Dbn_mul.c992 if (bn_wexpand(rr,8) == NULL) goto err;
1000 if (bn_wexpand(rr,16) == NULL) goto err;
1030 if (bn_wexpand(t,k*4) == NULL) goto err;
1031 if (bn_wexpand(rr,k*4) == NULL) goto err;
1037 if (bn_wexpand(t,k*2) == NULL) goto err;
1038 if (bn_wexpand(rr,k*2) == NULL) goto err;
1049 if (bn_wexpand(tmp_bn,al) == NULL) goto err;
1057 if (bn_wexpand(tmp_bn,bl) == NULL) goto err;
1072 if (bn_wexpand(t,k*2) == NULL) goto err;
1073 if (bn_wexpand(r
[all...]
H A Dbn_word.c149 (bn_wexpand(a,a->top+1) == NULL))
239 if (bn_wexpand(a,a->top+1) == NULL) return(0);
H A Dbn_add.c120 if (bn_wexpand(r,max+1) == NULL)
188 if (bn_wexpand(r,max) == NULL) return(0);
299 if (bn_wexpand(r,max) == NULL) return(0);
H A Dbn_div.c105 if(bn_wexpand(dv,1) == NULL) goto end;
264 if (!bn_wexpand(res,(loop+1))) goto err;
269 if (!bn_wexpand(tmp,(div_n+1))) goto err;
469 if (bn_wexpand(snum, sdiv->top + 2) == NULL) goto err;
475 if (bn_wexpand(snum, snum->top + 1) == NULL) goto err;
502 if (!bn_wexpand(res,(loop+1))) goto err;
507 if (!bn_wexpand(tmp,(div_n+1))) goto err;
H A Dbn_mont.c139 if (bn_wexpand(r,num) == NULL) return(0);
192 if (bn_wexpand(r,max) == NULL) return(0);
255 if (bn_wexpand(ret,ri) == NULL) return(0);
303 if (bn_wexpand(ret,al) == NULL) return(0);
H A Dbn_nist.c380 if (!bn_wexpand(r, BN_NIST_192_TOP))
466 if (!bn_wexpand(r, BN_NIST_224_TOP))
576 if (!bn_wexpand(r, BN_NIST_256_TOP))
699 if (!bn_wexpand(r, BN_NIST_384_TOP))
807 if (!bn_wexpand(r,BN_NIST_521_TOP))
H A Dbn_lib.c460 /* NB: bn_wexpand() calls this only if the BIGNUM really has to grow */
506 if (bn_wexpand(a,b->top) == NULL) return(NULL);
617 if (bn_wexpand(ret, (int)i) == NULL)
730 if (bn_wexpand(a,i+1) == NULL) return(0);
H A Dbn_gf2m.c235 if(bn_wexpand(r, at->top) == NULL)
282 if (!bn_wexpand(r, a->top)) return 0;
403 if (!bn_wexpand(s, zlen)) goto err;
470 if (!bn_wexpand(s, 2 * a->top)) goto err;
H A Dbn_exp.c529 if (bn_wexpand(b, top) == NULL)
549 if (bn_wexpand(b, top) == NULL)
H A Dbn.h666 #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) macro
/barrelfish-master/lib/openssl-1.0.0d/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))
676 if( !bn_wexpand(argument, a->top) ||
677 !bn_wexpand(result, p->top + q->top))
843 if(!bn_wexpand(dsa_p, dsa->p->top) ||
844 !bn_wexpand(dsa_q, dsa->q->top) ||
845 !bn_wexpand(dsa_g, dsa->g->top) ||
846 !bn_wexpand(dsa_ke
[all...]
H A De_atalla.c478 if(!bn_wexpand(modulus, m->top) || !bn_wexpand(exponent, m->top) ||
479 !bn_wexpand(argument, m->top) || !bn_wexpand(result, m->top))
H A De_ubsec.c575 if(!bn_wexpand(r, m->top))
643 if (!bn_wexpand(r, p->top + q->top + 1)) {
756 if(!bn_wexpand(r, (160+BN_BITS2-1)/BN_BITS2) ||
757 (!bn_wexpand(s, (160+BN_BITS2-1)/BN_BITS2))) {
828 if(!bn_wexpand(pv, dsa->p->top)) {
936 if(bn_wexpand(priv_key, dh->p->top) == NULL) goto err;
951 if(bn_wexpand(pub_key, dh->p->top) == NULL) goto err;
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/ibmca/
H A Dhw_ibmca.c507 if(!bn_wexpand(argument, m->top) || !bn_wexpand(result, m->top) ||
508 !bn_wexpand(key, sizeof(*publKey)/BN_BYTES))
667 if(!bn_wexpand(argument, p->top + q->top) ||
668 !bn_wexpand(result, p->top + q->top) ||
669 !bn_wexpand(key, sizeof(*privKey)/BN_BYTES ))
/barrelfish-master/lib/openssl-1.0.0d/crypto/ec/
H A Dec2_smpl.c179 if (bn_wexpand(&dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
180 if (bn_wexpand(&dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
204 if(bn_wexpand(&group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
209 if(bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/zencod/
H A Dhw_zencod.c708 if ( !bn_wexpand(r, m->top + 1) ) {
1007 if ( !bn_wexpand ( bn_prv, dh->p->dmax ) ||
1008 !bn_wexpand ( bn_pub, dh->p->dmax ) ) {
/barrelfish-master/include/openssl/
H A Dbn.h666 #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) macro

Completed in 119 milliseconds