/external/openssl/crypto/bn/ |
bn_shift.c | 145 nw=n/BN_BITS2; 147 lb=n%BN_BITS2; 148 rb=BN_BITS2-lb; 180 nw=n/BN_BITS2; 181 rb=n%BN_BITS2; 182 lb=BN_BITS2-rb; 188 i = (BN_num_bits(a)-n+(BN_BITS2-1))/BN_BITS2;
|
exptest.c | 109 c=(c%BN_BITS)-BN_BITS2; 113 c=(c%BN_BITS)-BN_BITS2; 117 c=(c%BN_BITS)-BN_BITS2;
|
bn_mont.c | 376 mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2; 378 #if defined(OPENSSL_BN_ASM_MONT) && (BN_BITS2<=32) 379 /* Only certain BN_BITS2<=32 platforms actually make use of 385 if (!(BN_set_bit(R,2*BN_BITS2))) goto err; 393 if (!BN_lshift(Ri,Ri,2*BN_BITS2)) goto err; /* R*Ri */ 415 if (!(BN_set_bit(R,BN_BITS2))) goto err; /* R */ 423 if (!BN_lshift(Ri,Ri,BN_BITS2)) goto err; /* R*Ri */
|
bn_nist.c | 63 #define BN_NIST_192_TOP (192+BN_BITS2-1)/BN_BITS2 64 #define BN_NIST_224_TOP (224+BN_BITS2-1)/BN_BITS2 65 #define BN_NIST_256_TOP (256+BN_BITS2-1)/BN_BITS2 66 #define BN_NIST_384_TOP (384+BN_BITS2-1)/BN_BITS2 67 #define BN_NIST_521_TOP (521+BN_BITS2-1)/BN_BITS2 [all...] |
bn_lib.c | 235 return ((i*BN_BITS2) + BN_num_bits_word(a->d[i])); 307 if (words > (INT_MAX/(4*BN_BITS2))) 707 i=n/BN_BITS2; 708 j=n%BN_BITS2; 729 i=n/BN_BITS2; 730 j=n%BN_BITS2; 744 i=n/BN_BITS2; 745 j=n%BN_BITS2; 757 w=n/BN_BITS2; 758 b=n%BN_BITS2; [all...] |
bn_div.c | 137 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to 235 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2); 238 norm_shift+=BN_BITS2; 335 q=(BN_ULONG)(((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0); 356 if (t2 <= ((((BN_ULLONG)rem)<<BN_BITS2)|wnump[-2]))
|
bn_gf2m.c | 128 /* Product of two polynomials a, b each with degree < BN_BITS2 - 1, 206 /* Product of two polynomials a, b each with degree < 2 * BN_BITS2 - 1, 207 * result is a polynomial r with degree < 4 * BN_BITS2 - 1 297 dN = p[0] / BN_BITS2; 308 d0 = n % BN_BITS2; d1 = BN_BITS2 - d0; 309 n /= BN_BITS2; 316 d0 = p[0] % BN_BITS2; 317 d1 = BN_BITS2 - d0; 326 d0 = p[0] % BN_BITS2; [all...] |
bn_word.c | 83 ret=(BN_ULLONG)(((ret<<(BN_ULLONG)BN_BITS2)|a->d[i])% 105 j = BN_BITS2 - BN_num_bits_word(w);
|
bn_print.c | 85 for (j=BN_BITS2-8; j >= 0; j-=8) 343 for (j=BN_BITS2-4; j >= 0; j-=4)
|
bn.h | 184 #define BN_BITS2 64 212 #define BN_BITS2 64 241 #define BN_BITS2 32 320 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */ 697 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\ 698 (a):bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2)) [all...] |
bn_asm.c | 232 return((BN_ULONG)(((((BN_ULLONG)h)<<BN_BITS2)|l)/(BN_ULLONG)d)); 247 assert((i == BN_BITS2) || (h <= (BN_ULONG)1<<i)); 249 i=BN_BITS2-i; 255 h=(h<<i)|(l>>(BN_BITS2-i)); 318 ll>>=BN_BITS2; 321 ll>>=BN_BITS2; 324 ll>>=BN_BITS2; 327 ll>>=BN_BITS2; 335 ll>>=BN_BITS2;
|
bn_lcl.h | 303 #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2) 406 #define LHBITS(a) (((a)>>BN_BITS2)&BN_MASKl) 407 #define LL2HBITS(a) ((BN_ULLONG)((a)&BN_MASKl)<<BN_BITS2)
|
bntest.c | 505 BN_bntest_rand(&b,BN_BITS2,-1,0); [all...] |
/external/openssl/crypto/ec/ |
ec2_smpl.c | 188 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/include/openssl/ |
bn.h | 184 #define BN_BITS2 64 212 #define BN_BITS2 64 241 #define BN_BITS2 32 320 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */ 697 #define bn_expand(a,bits) ((((((bits+BN_BITS2-1))/BN_BITS2)) <= (a)->dmax)?\ 698 (a):bn_expand2((a),(bits+BN_BITS2-1)/BN_BITS2)) [all...] |
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 947 for (k = 0; k < BN_BITS2 / 8; k++) { 952 j += BN_BITS2 / 8; [all...] |