/external/openssl/crypto/bn/ |
D | exptest.c | 171 printf("a (%3d) = ",BN_num_bits(a)); BN_print(out,a); in main() 172 printf("\nb (%3d) = ",BN_num_bits(b)); BN_print(out,b); in main() 173 printf("\nm (%3d) = ",BN_num_bits(m)); BN_print(out,m); in main()
|
D | bn_mpi.c | 70 bits=BN_num_bits(a); in BN_bn2mpi() 125 BN_clear_bit(a,BN_num_bits(a)-1); in BN_mpi2bn()
|
D | bn_gcd.c | 256 if (BN_is_odd(n) && (BN_num_bits(n) <= (BN_BITS <= 32 ? 450 : 2048))) in BN_mod_inverse() 356 if (BN_num_bits(A) == BN_num_bits(B)) in BN_mod_inverse() 361 else if (BN_num_bits(A) == BN_num_bits(B) + 1) in BN_mod_inverse()
|
D | bn_exp.c | 140 bits=BN_num_bits(p); in BN_exp() 255 bits=BN_num_bits(p); in BN_mod_exp_recp() 396 bits=BN_num_bits(p); in BN_mod_exp_mont() 597 bits=BN_num_bits(p); in BN_mod_exp_mont_consttime() 766 bits = BN_num_bits(p); in BN_mod_exp_mont_word() 891 bits=BN_num_bits(p); in BN_mod_exp_simple()
|
D | bn_gf2m.c | 420 const int max = BN_num_bits(p); in BN_GF2m_mod() 498 const int max = BN_num_bits(p); in BN_GF2m_mod_mul() 554 const int max = BN_num_bits(p); in BN_GF2m_mod_sqr() 615 if (BN_num_bits(u) < BN_num_bits(v)) in BN_GF2m_mod_inv() 811 n = BN_num_bits(b) - 1; in BN_GF2m_mod_exp_arr() 838 const int max = BN_num_bits(p); in BN_GF2m_mod_exp() 897 const int max = BN_num_bits(p); in BN_GF2m_mod_sqrt() 1016 const int max = BN_num_bits(p); in BN_GF2m_mod_solve_quad()
|
D | bn_mod.c | 268 max_shift = BN_num_bits(m) - BN_num_bits(r); in BN_mod_lshift_quick()
|
D | bn_recp.c | 98 recp->num_bits=BN_num_bits(d); in BN_RECP_CTX_set() 164 i=BN_num_bits(m); in BN_div_recp()
|
D | bn_exp2.c | 141 bits1=BN_num_bits(p1); in BN_mod_exp2_mont() 142 bits2=BN_num_bits(p2); in BN_mod_exp2_mont()
|
D | bn_div.c | 97 nd=BN_num_bits(d); 98 nm=BN_num_bits(m); 224 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2); in BN_div() 441 norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2); in BN_div_no_branch()
|
/external/openssl/crypto/dsa/ |
D | dsa_ossl.c | 256 if (BN_num_bits(&kq) <= BN_num_bits(dsa->q)) in dsa_sign_setup() 307 if (BN_num_bits(dsa->q) != 160) in dsa_do_verify() 313 if (BN_num_bits(dsa->p) > OPENSSL_DSA_MAX_MODULUS_BITS) in dsa_do_verify()
|
D | dsa_lib.c | 245 i=BN_num_bits(r->q); in DSA_size() 293 ret->length = BN_num_bits(r->q); in DSA_dup_DH()
|
/external/openssl/crypto/rsa/ |
D | rsa_eay.c | 171 if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) in RSA_eay_public_encrypt() 184 if (BN_num_bits(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS) in RSA_eay_public_encrypt() 186 if (BN_num_bits(rsa->e) > OPENSSL_RSA_MAX_PUBEXP_BITS) in RSA_eay_public_encrypt() 622 if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) in RSA_eay_public_decrypt() 635 if (BN_num_bits(rsa->n) > OPENSSL_RSA_SMALL_MODULUS_BITS) in RSA_eay_public_decrypt() 637 if (BN_num_bits(rsa->e) > OPENSSL_RSA_MAX_PUBEXP_BITS) in RSA_eay_public_decrypt()
|
D | rsa_pss.c | 99 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_verify_PKCS1_PSS() 194 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_padding_add_PKCS1_PSS()
|
/external/openssl/crypto/asn1/ |
D | t_pkey.c | 147 mod_len = BN_num_bits(x->n); in RSA_print() 240 if (BIO_printf(bp,"Private-Key: (%d bit)\n",BN_num_bits(x->p)) in DSA_print() 543 BN_num_bits(order)) <= 0) goto err; in EC_KEY_print() 704 BN_num_bits(x->p)) <= 0) in DHparams_print() 770 BN_num_bits(x->p)) <= 0) in DSAparams_print() 827 BN_num_bits(order)) <= 0) in ECParameters_print()
|
D | t_spki.c | 90 BN_num_bits(pkey->pkey.rsa->n)); in NETSCAPE_SPKI_print()
|
D | x_bignum.c | 117 if(BN_num_bits(bn) & 0x7) pad = 0; in bn_i2c()
|
D | a_enum.c | 154 j=BN_num_bits(bn); in BN_to_ASN1_ENUMERATED()
|
/external/openssl/crypto/ec/ |
D | ec_mult.c | 227 len = BN_num_bits(scalar); in compute_wNAF() 416 numblocks = (BN_num_bits(scalar) / blocksize) + 1; in ec_wNAF_mul() 462 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar); in ec_wNAF_mul() 805 bits = BN_num_bits(order); in ec_wNAF_precompute_mult()
|
D | ectest.c | 132 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s)); 142 if (!BN_pseudo_rand(r[i], BN_num_bits(s), 0, 0)) ABORT; 146 if (!BN_pseudo_rand(r0[i], BN_num_bits(s), 0, 0)) ABORT; 690 if (!BN_pseudo_rand(y, BN_num_bits(y), 0, 0)) ABORT; in prime_field_tests() 702 if (!BN_pseudo_rand(x, BN_num_bits(y) - 1, 0, 0)) ABORT; in prime_field_tests() 1171 if (!BN_pseudo_rand(y, BN_num_bits(y), 0, 0)) ABORT; in char2_field_tests() 1183 if (!BN_pseudo_rand(x, BN_num_bits(y) - 1, 0, 0)) ABORT; in char2_field_tests()
|
/external/openssl/apps/ |
D | dsaparam.c | 363 bits_p=BN_num_bits(dsa->p); in MAIN() 364 bits_q=BN_num_bits(dsa->q); in MAIN() 365 bits_g=BN_num_bits(dsa->g); in MAIN()
|
/external/openssl/crypto/dh/ |
D | dh_key.c | 141 l = dh->length ? dh->length : BN_num_bits(dh->p)-1; /* secret exponent length */ in generate_key() 182 if (BN_num_bits(dh->p) > OPENSSL_DH_MAX_MODULUS_BITS) in compute_key()
|
/external/openssl/crypto/evp/ |
D | p_lib.c | 85 return(BN_num_bits(pkey->pkey.rsa->n)); in EVP_PKEY_bits() 89 return(BN_num_bits(pkey->pkey.dsa->p)); in EVP_PKEY_bits() 110 ret = BN_num_bits(order); in EVP_PKEY_bits()
|
/external/openssl/crypto/ecdsa/ |
D | ecs_ossl.c | 254 if (8 * dgst_len > BN_num_bits(order)) in ecdsa_do_sign() 387 if (8 * dgst_len > BN_num_bits(order)) in ecdsa_do_verify()
|
/external/openssl/crypto/pqueue/ |
D | pq_compat.h | 104 #define pq_64bit_get_length(x) BN_num_bits((x))
|
/external/openssl/include/openssl/ |
D | pq_compat.h | 104 #define pq_64bit_get_length(x) BN_num_bits((x))
|