Searched refs:BN_BITS2 (Results 1 - 21 of 21) sorted by relevance
/freebsd-9.3-release/crypto/openssl/crypto/bn/ |
H A D | bn_shift.c | 142 nw = n / BN_BITS2; 145 lb = n % BN_BITS2; 146 rb = BN_BITS2 - lb; 183 nw = n / BN_BITS2; 184 rb = n % BN_BITS2; 185 lb = BN_BITS2 - rb;
|
H A D | bn_nist.c | 62 #define BN_NIST_192_TOP (192+BN_BITS2-1)/BN_BITS2 63 #define BN_NIST_224_TOP (224+BN_BITS2-1)/BN_BITS2 64 #define BN_NIST_256_TOP (256+BN_BITS2-1)/BN_BITS2 65 #define BN_NIST_384_TOP (384+BN_BITS2-1)/BN_BITS2 66 #define BN_NIST_521_TOP (521+BN_BITS2-1)/BN_BITS2 [all...] |
H A D | exptest.c | 154 c = (c % BN_BITS) - BN_BITS2; 158 c = (c % BN_BITS) - BN_BITS2; 162 c = (c % BN_BITS) - BN_BITS2;
|
H A D | bn_lib.c | 223 return ((i * BN_BITS2) + BN_num_bits_word(a->d[i])); 294 if (words > (INT_MAX / (4 * BN_BITS2))) { 732 i = n / BN_BITS2; 733 j = n % BN_BITS2; 755 i = n / BN_BITS2; 756 j = n % BN_BITS2; 772 i = n / BN_BITS2; 773 j = n % BN_BITS2; 787 w = n / BN_BITS2; 788 b = n % BN_BITS2; [all...] |
H A D | bn_mont.c | 125 #if defined(MONT_WORD) && defined(OPENSSL_BN_ASM_MONT) && (BN_BITS2<=32) 128 * branch, OPENSSL_BN_ASM_MONT is normally not set for any BN_BITS2<=32 206 al = ri = mont->ri / BN_BITS2; 376 al = ri = mont->ri / BN_BITS2; 627 mont->ri = (BN_num_bits(mod) + (BN_BITS2 - 1)) / BN_BITS2 * BN_BITS2; 631 * (BN_BITS2<=32)", only certain BN_BITS2<=32 633 if (!(BN_set_bit(R, 2 * BN_BITS2))) [all...] |
H A D | bn_div.c | 146 * in reply to ((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0 (I fail to 250 norm_shift = BN_BITS2 - ((BN_num_bits(divisor)) % BN_BITS2); 254 norm_shift += BN_BITS2; 334 q = (BN_ULONG)(((((BN_ULLONG) n0) << BN_BITS2) | n1) / d0); 353 if (t2 <= ((((BN_ULLONG) rem) << BN_BITS2) | wnump[-2])) 485 norm_shift = BN_BITS2 - ((BN_num_bits(divisor)) % BN_BITS2); 489 norm_shift += BN_BITS2; 576 q = (BN_ULONG)(((((BN_ULLONG) n0) << BN_BITS2) | n [all...] |
H A D | bn_word.c | 82 ret = (BN_ULLONG) (((ret << (BN_ULLONG) BN_BITS2) | a->d[i]) % 104 j = BN_BITS2 - BN_num_bits_word(w);
|
H A D | bn.h | 131 # define BN_BITS2 64 macro 158 # define BN_BITS2 64 macro 183 # define BN_BITS2 32 macro 211 # define BN_BITS2 16 macro 234 # define BN_BITS2 8 macro 302 BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit 710 bits > (INT_MAX - BN_BITS2 + 1) ? \
713 (((bits+BN_BITS2-1)/BN_BITS2) <= (a)->dmax) ? \
716 bn_expand2((a),(bits+BN_BITS2 [all...] |
H A D | bn_gf2m.c | 143 * Product of two polynomials a, b each with degree < BN_BITS2 - 1, result is 405 * Product of two polynomials a, b each with degree < 2 * BN_BITS2 - 1, 406 * result is a polynomial r with degree < 4 * BN_BITS2 - 1 The caller MUST 495 dN = p[0] / BN_BITS2; 507 d0 = n % BN_BITS2; 508 d1 = BN_BITS2 - d0; 509 n /= BN_BITS2; 517 d0 = p[0] % BN_BITS2; 518 d1 = BN_BITS2 - d0; 527 d0 = p[0] % BN_BITS2; [all...] |
H A D | bn_print.c | 91 for (j = BN_BITS2 - 8; j >= 0; j -= 8) { 351 for (j = BN_BITS2 - 4; j >= 0; j -= 4) {
|
H A D | bn_lcl.h | 283 # define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2) 386 # define LHBITS(a) (((a)>>BN_BITS2)&BN_MASKl) 387 # define LL2HBITS(a) ((BN_ULLONG)((a)&BN_MASKl)<<BN_BITS2)
|
H A D | bn_asm.c | 257 return ((BN_ULONG)(((((BN_ULLONG) h) << BN_BITS2) | l) / (BN_ULLONG) d)); 273 assert((i == BN_BITS2) || (h <= (BN_ULONG)1 << i)); 275 i = BN_BITS2 - i; 281 h = (h << i) | (l >> (BN_BITS2 - i)); 341 ll >>= BN_BITS2; local 347 ll >>= BN_BITS2; local 353 ll >>= BN_BITS2; local 359 ll >>= BN_BITS2; local
|
H A D | bntest.c | 515 BN_bntest_rand(&b, BN_BITS2, -1, 0);
|
/freebsd-9.3-release/crypto/openssl/engines/ |
H A D | e_ubsec.c | 607 r->top = (BN_num_bits(m) + BN_BITS2 - 1) / BN_BITS2; 679 r->top = (BN_num_bits(p) + BN_num_bits(q) + BN_BITS2 - 1) / BN_BITS2; 767 if (!bn_wexpand(r, (160 + BN_BITS2 - 1) / BN_BITS2) || 768 (!bn_wexpand(s, (160 + BN_BITS2 - 1) / BN_BITS2))) { 814 r->top = (160 + BN_BITS2 - 1) / BN_BITS2; [all...] |
H A D | e_gmp.c | 270 (BN_BITS2 == GMP_NUMB_BITS)) { 293 (BN_BITS2 == GMP_NUMB_BITS)) {
|
/freebsd-9.3-release/tools/tools/crypto/ |
H A D | cryptokeytest.c | 114 for (k = 0; k < BN_BITS2 / 8; k++) { 119 j += BN_BITS2 / 8;
|
/freebsd-9.3-release/crypto/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 182 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)
|
H A D | ec2_mult.c | 316 j = BN_BITS2 - 1; 327 j = BN_BITS2 - 1; 343 j = BN_BITS2 - 1;
|
H A D | ecp_nist.c | 116 #if BN_BITS2 == 64
|
/freebsd-9.3-release/crypto/openssl/demos/engines/zencod/ |
H A D | hw_zencod.c | 127 (unsigned long) ((bn)->top * BN_BITS2), \ 770 r->top = (BN_num_bits(m) + BN_BITS2 - 1) / BN_BITS2; 809 r0->top = (RSA_size(rsa) * 8 + BN_BITS2 - 1) / BN_BITS2; 859 r->top = (BN_num_bits(m) + BN_BITS2 - 1) / BN_BITS2; 921 bn_r->top = bn_s->top = (160 + BN_BITS2 - 1) / BN_BITS2;
|
/freebsd-9.3-release/crypto/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 674 for (k = 0; k < BN_BITS2 / 8; k++) { 679 j += BN_BITS2 / 8;
|
Completed in 141 milliseconds