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

12

/external/chromium_org/third_party/openssl/openssl/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);
117 if (bn_wexpand(r,j) == NULL) return(0);
146 if (bn_wexpand(r,a->top+nw+1) == NULL) return(0);
192 if (bn_wexpand(r,i) == 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_div.c105 if(bn_wexpand(dv,1) == NULL) goto end;
252 if (bn_wexpand(snum, sdiv->top + 2) == NULL) goto err;
258 if (bn_wexpand(snum, snum->top + 1) == NULL) goto err;
286 if (!bn_wexpand(res,(loop+1))) goto err;
291 if (!bn_wexpand(tmp,(div_n+1))) 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.c154 if (bn_wexpand(a,a->top+1) == NULL) return 0;
230 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_mont.c139 if (bn_wexpand(r,num) == NULL) return(0);
188 if (bn_wexpand(r,max) == NULL) return(0);
232 if (bn_wexpand(ret,nl) == NULL) return(0);
H A Dbn_gf2m.c240 if(bn_wexpand(r, at->top) == NULL)
287 if (!bn_wexpand(r, a->top)) return 0;
404 if (!bn_wexpand(s, zlen)) goto err;
471 if (!bn_wexpand(s, 2 * a->top)) goto err;
576 bn_wexpand(u,top); udp = u->d;
579 bn_wexpand(b,top); bdp = b->d;
583 bn_wexpand(c,top); cdp = c->d;
H A Dbn_lib.c441 /* NB: bn_wexpand() calls this only if the BIGNUM really has to grow */
487 if (bn_wexpand(a,b->top) == NULL) return(NULL);
598 if (bn_wexpand(ret, (int)i) == NULL)
711 if (bn_wexpand(a,i+1) == NULL) return(0);
H A Dbn_nist.c391 if (!bn_wexpand(r, BN_NIST_192_TOP))
510 if (!bn_wexpand(r, BN_NIST_224_TOP))
666 if (!bn_wexpand(r, BN_NIST_256_TOP))
870 if (!bn_wexpand(r, BN_NIST_384_TOP))
1072 if (!bn_wexpand(r,BN_NIST_521_TOP))
H A Dbn.h699 #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) macro
H A Dbn_exp.c555 if (bn_wexpand(b, top) == NULL)
/external/openssl/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);
117 if (bn_wexpand(r,j) == NULL) return(0);
146 if (bn_wexpand(r,a->top+nw+1) == NULL) return(0);
192 if (bn_wexpand(r,i) == 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_div.c105 if(bn_wexpand(dv,1) == NULL) goto end;
252 if (bn_wexpand(snum, sdiv->top + 2) == NULL) goto err;
258 if (bn_wexpand(snum, snum->top + 1) == NULL) goto err;
286 if (!bn_wexpand(res,(loop+1))) goto err;
291 if (!bn_wexpand(tmp,(div_n+1))) 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.c154 if (bn_wexpand(a,a->top+1) == NULL) return 0;
230 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_mont.c139 if (bn_wexpand(r,num) == NULL) return(0);
188 if (bn_wexpand(r,max) == NULL) return(0);
232 if (bn_wexpand(ret,nl) == NULL) return(0);
H A Dbn_gf2m.c240 if(bn_wexpand(r, at->top) == NULL)
287 if (!bn_wexpand(r, a->top)) return 0;
404 if (!bn_wexpand(s, zlen)) goto err;
471 if (!bn_wexpand(s, 2 * a->top)) goto err;
576 bn_wexpand(u,top); udp = u->d;
579 bn_wexpand(b,top); bdp = b->d;
583 bn_wexpand(c,top); cdp = c->d;
H A Dbn_lib.c441 /* NB: bn_wexpand() calls this only if the BIGNUM really has to grow */
487 if (bn_wexpand(a,b->top) == NULL) return(NULL);
598 if (bn_wexpand(ret, (int)i) == NULL)
711 if (bn_wexpand(a,i+1) == NULL) return(0);
H A Dbn_nist.c391 if (!bn_wexpand(r, BN_NIST_192_TOP))
510 if (!bn_wexpand(r, BN_NIST_224_TOP))
666 if (!bn_wexpand(r, BN_NIST_256_TOP))
870 if (!bn_wexpand(r, BN_NIST_384_TOP))
1072 if (!bn_wexpand(r,BN_NIST_521_TOP))
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Dec2_smpl.c188 if (bn_wexpand(&dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
189 if (bn_wexpand(&dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
213 if(bn_wexpand(&group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
218 if(bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
/external/openssl/crypto/ec/
H A Dec2_smpl.c188 if (bn_wexpand(&dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
189 if (bn_wexpand(&dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) return 0;
213 if(bn_wexpand(&group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
218 if(bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2) == NULL) goto err;
/external/chromium_org/third_party/openssl/openssl/include/openssl/
H A Dbn.h699 #define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words))) macro

Completed in 288 milliseconds

12