HomeSort by relevance Sort by last modified time
    Searched refs:BN_ULONG (Results 26 - 50 of 61) sorted by null

12 3

  /external/openssl/crypto/bn/
bn_div.c 186 BN_ULONG *resp,*wnump;
187 BN_ULONG d0,d1;
317 BN_ULONG q,l0;
319 * snum and sdiv to calculate a BN_ULONG q such that
322 BN_ULONG bn_div_3_words(BN_ULONG*,BN_ULONG,BN_ULONG);
325 BN_ULONG n0,n1,rem=0;
337 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0)
    [all...]
bn_print.c 109 BN_ULONG *bn_data=NULL,*lp;
118 bn_data=(BN_ULONG *)OPENSSL_malloc((num/BN_DEC_NUM+1)*sizeof(BN_ULONG));
175 BN_ULONG l=0;
242 BN_ULONG l=0;
371 (int)sizeof(BN_ULLONG)*8,(int)sizeof(BN_ULONG)*8);
374 (int)sizeof(BN_ULONG)*8,(int)sizeof(BN_ULONG)*8);
bn_gf2m.c 102 static const BN_ULONG SQR_tb[16] =
134 static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a, const BN_ULONG b)
136 register BN_ULONG h, l, s;
137 BN_ULONG tab[8], top2b = a >> 30;
138 register BN_ULONG a1, a2, a4;
166 static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a, const BN_ULONG b
    [all...]
bn_mont.c 180 BN_ULONG *ap,*np,*rp,n0,v,carry;
199 memset(&(rp[r->top]),0,(max-r->top)*sizeof(BN_ULONG));
221 v=bn_mul_add_words(rp,np,nl,(BN_ULONG) t1);
242 BN_ULONG *nrp;
250 nrp=(BN_ULONG *)(((PTR_SIZE_INT)rp&~m)|((PTR_SIZE_INT)ap&m));
254 BN_ULONG t1,t2,t3,t4;
270 memcpy(rp,ap,nl*sizeof(BN_ULONG));
369 BN_ULONG buf[2];
400 if (bn_expand(Ri,(int)sizeof(BN_ULONG)*2) == NULL)
bn_prime.c 192 /* if (BN_mod_word(ret,(BN_ULONG)3) == 1) goto loop; */
381 BN_ULONG delta,maxdelta;
387 mods[i]=(prime_t)BN_mod_word(rnd,(BN_ULONG)primes[i]);
431 if (BN_mod_word(rnd,(BN_ULONG)primes[i]) <= 1)
481 if ( (BN_mod_word(p,(BN_ULONG)primes[i]) == 0) ||
482 (BN_mod_word(q,(BN_ULONG)primes[i]) == 0))
bn_kron.c 60 #define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG) 0 : (n)->d[0])
bn_exp.c 231 BN_ULONG A = a->d[0];
651 tmp.d = (BN_ULONG *)(powerbuf + sizeof(m->d[0])*top*numPowers);
685 void bn_mul_mont_gather5(BN_ULONG *rp,const BN_ULONG *ap,
686 const void *table,const BN_ULONG *np,
687 const BN_ULONG *n0,int num,int power);
688 void bn_scatter5(const BN_ULONG *inp,size_t num,
690 void bn_gather5(BN_ULONG *out,size_t num,
693 BN_ULONG *np=mont->N.d, *n0=mont->n0;
832 int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/bn/
bn_print.c 109 BN_ULONG *bn_data=NULL,*lp;
118 bn_data=(BN_ULONG *)OPENSSL_malloc((num/BN_DEC_NUM+1)*sizeof(BN_ULONG));
175 BN_ULONG l=0;
242 BN_ULONG l=0;
371 (int)sizeof(BN_ULLONG)*8,(int)sizeof(BN_ULONG)*8);
374 (int)sizeof(BN_ULONG)*8,(int)sizeof(BN_ULONG)*8);
bn_gf2m.c 102 static const BN_ULONG SQR_tb[16] =
134 static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a, const BN_ULONG b)
136 register BN_ULONG h, l, s;
137 BN_ULONG tab[8], top2b = a >> 30;
138 register BN_ULONG a1, a2, a4;
166 static void bn_GF2m_mul_1x1(BN_ULONG *r1, BN_ULONG *r0, const BN_ULONG a, const BN_ULONG b
    [all...]
bn_mont.c 180 BN_ULONG *ap,*np,*rp,n0,v,carry;
199 memset(&(rp[r->top]),0,(max-r->top)*sizeof(BN_ULONG));
221 v=bn_mul_add_words(rp,np,nl,(BN_ULONG) t1);
242 BN_ULONG *nrp;
250 nrp=(BN_ULONG *)(((PTR_SIZE_INT)rp&~m)|((PTR_SIZE_INT)ap&m));
254 BN_ULONG t1,t2,t3,t4;
270 memcpy(rp,ap,nl*sizeof(BN_ULONG));
369 BN_ULONG buf[2];
400 if (bn_expand(Ri,(int)sizeof(BN_ULONG)*2) == NULL)
bn_prime.c 192 /* if (BN_mod_word(ret,(BN_ULONG)3) == 1) goto loop; */
381 BN_ULONG delta,maxdelta;
387 mods[i]=(prime_t)BN_mod_word(rnd,(BN_ULONG)primes[i]);
431 if (BN_mod_word(rnd,(BN_ULONG)primes[i]) <= 1)
481 if ( (BN_mod_word(p,(BN_ULONG)primes[i]) == 0) ||
482 (BN_mod_word(q,(BN_ULONG)primes[i]) == 0))
bn_kron.c 60 #define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG) 0 : (n)->d[0])
bn_exp.c 231 BN_ULONG A = a->d[0];
651 tmp.d = (BN_ULONG *)(powerbuf + sizeof(m->d[0])*top*numPowers);
685 void bn_mul_mont_gather5(BN_ULONG *rp,const BN_ULONG *ap,
686 const void *table,const BN_ULONG *np,
687 const BN_ULONG *n0,int num,int power);
688 void bn_scatter5(const BN_ULONG *inp,size_t num,
690 void bn_gather5(BN_ULONG *out,size_t num,
693 BN_ULONG *np=mont->N.d, *n0=mont->n0;
832 int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p
    [all...]
bn_add.c 108 BN_ULONG *ap,*bp,*rp,carry,t1,t2;
169 register BN_ULONG t1,t2,*ap,*bp,*rp;
  /external/chromium_org/third_party/openssl/openssl/crypto/srp/
srp_grps.h 3 static BN_ULONG bn_group_1024_value[] = {
23 (sizeof bn_group_1024_value)/sizeof(BN_ULONG),
24 (sizeof bn_group_1024_value)/sizeof(BN_ULONG),
29 static BN_ULONG bn_group_1536_value[] = {
57 (sizeof bn_group_1536_value)/sizeof(BN_ULONG),
58 (sizeof bn_group_1536_value)/sizeof(BN_ULONG),
63 static BN_ULONG bn_group_2048_value[] = {
99 (sizeof bn_group_2048_value)/sizeof(BN_ULONG),
100 (sizeof bn_group_2048_value)/sizeof(BN_ULONG),
105 static BN_ULONG bn_group_3072_value[] =
    [all...]
  /external/openssl/crypto/srp/
srp_grps.h 3 static BN_ULONG bn_group_1024_value[] = {
23 (sizeof bn_group_1024_value)/sizeof(BN_ULONG),
24 (sizeof bn_group_1024_value)/sizeof(BN_ULONG),
29 static BN_ULONG bn_group_1536_value[] = {
57 (sizeof bn_group_1536_value)/sizeof(BN_ULONG),
58 (sizeof bn_group_1536_value)/sizeof(BN_ULONG),
63 static BN_ULONG bn_group_2048_value[] = {
99 (sizeof bn_group_2048_value)/sizeof(BN_ULONG),
100 (sizeof bn_group_2048_value)/sizeof(BN_ULONG),
105 static BN_ULONG bn_group_3072_value[] =
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
rsa_lib.c 295 BN_ULONG *ul;
305 off=k/sizeof(BN_ULONG)+1;
309 if ((p=OPENSSL_malloc_locked((off+j)*sizeof(BN_ULONG))) == NULL)
315 ul=(BN_ULONG *)&(p[off]);
323 memcpy((char *)ul,b->d,sizeof(BN_ULONG)*b->top);
  /external/openssl/crypto/rsa/
rsa_lib.c 295 BN_ULONG *ul;
305 off=k/sizeof(BN_ULONG)+1;
309 if ((p=OPENSSL_malloc_locked((off+j)*sizeof(BN_ULONG))) == NULL)
315 ul=(BN_ULONG *)&(p[off]);
323 memcpy((char *)ul,b->d,sizeof(BN_ULONG)*b->top);
  /libcore/luni/src/main/native/
java_math_NativeBN.cpp 192 STATIC_ASSERT(sizeof(BN_ULONG) == sizeof(jint), BN_ULONG_not_32_bit);
193 const BN_ULONG* tmpInts = reinterpret_cast<const BN_ULONG*>(scopedArray.get());
217 // We rely on: (BN_BITS2 == 32), i.e. BN_ULONG is unsigned int and has 4 bytes:
223 BN_ULONG* d = ret->d;
224 BN_ULONG di;
296 BN_ULONG* d = a->d;
383 BN_ULONG* ulongs = reinterpret_cast<BN_ULONG*>(ints.get());
407 // We rely on: (BN_BITS2 == 32), i.e. BN_ULONG is unsigned int and has 4 bytes
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/dh/
dh_check.c 77 BN_ULONG l;
  /external/openssl/crypto/dh/
dh_check.c 77 BN_ULONG l;
  /external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/
pa-risc2.s 80 ;BN_ULONG bn_mul_add_words(BN_ULONG *r_ptr, BN_ULONG *a_ptr,
81 ; int num, BN_ULONG w)
293 ;BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
452 ;void bn_sqr_words(BN_ULONG *rp, BN_ULONG *ap, int num
    [all...]
pa-risc2W.s 72 ;BN_ULONG bn_mul_add_words(BN_ULONG *r_ptr, BN_ULONG *a_ptr,
73 ; int num, BN_ULONG w)
283 ;BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
441 ;void bn_sqr_words(BN_ULONG *rp, BN_ULONG *ap, int num
    [all...]
  /external/openssl/crypto/bn/asm/
pa-risc2.s 80 ;BN_ULONG bn_mul_add_words(BN_ULONG *r_ptr, BN_ULONG *a_ptr,
81 ; int num, BN_ULONG w)
293 ;BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
452 ;void bn_sqr_words(BN_ULONG *rp, BN_ULONG *ap, int num
    [all...]
pa-risc2W.s 72 ;BN_ULONG bn_mul_add_words(BN_ULONG *r_ptr, BN_ULONG *a_ptr,
73 ; int num, BN_ULONG w)
283 ;BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w)
441 ;void bn_sqr_words(BN_ULONG *rp, BN_ULONG *ap, int num
    [all...]

Completed in 5021 milliseconds

12 3