/external/vboot_reference/utility/ |
D | dumpRSAPublicKey.c | 59 Big1 = BN_new(); in output() 60 Big2 = BN_new(); in output() 61 Big32 = BN_new(); in output() 62 BigMinus1 = BN_new(); in output() 63 N0inv= BN_new(); in output() 64 R = BN_new(); in output() 65 RR = BN_new(); in output() 66 RRTemp = BN_new(); in output() 67 NnumBits = BN_new(); in output() 68 n = BN_new(); in output() [all …]
|
/external/boringssl/src/crypto/bn/ |
D | bn_test.cc | 162 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestSum() 256 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestLShift1() 263 bssl::UniquePtr<BIGNUM> ret(BN_new()), two(BN_new()), remainder(BN_new()); in TestLShift1() 302 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestLShift() 322 bssl::UniquePtr<BIGNUM> ret(BN_new()); in TestRShift() 335 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestSquare() 342 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestSquare() 362 bssl::UniquePtr<BIGNUM> tmp(BN_new()); in TestSquare() 392 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TestProduct() 399 bssl::UniquePtr<BIGNUM> ret(BN_new()), remainder(BN_new()); in TestProduct() [all …]
|
D | sqrt.c | 74 ret = BN_new(); in BN_mod_sqrt() 94 ret = BN_new(); in BN_mod_sqrt() 120 ret = BN_new(); in BN_mod_sqrt()
|
D | convert.c | 79 ret = bn = BN_new(); in BN_bin2bn() 124 bn = BN_new(); in BN_le2bn() 389 ret = BN_new(); in bn_x2bn() 645 out = BN_new(); in BN_mpi2bn()
|
/external/boringssl/src/crypto/ec/ |
D | ec_test.cc | 144 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST() 145 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST() 265 bssl::UniquePtr<BIGNUM> x(BN_new()), y(BN_new()); in TEST() 294 bssl::UniquePtr<BIGNUM> x(BN_new()); in TEST_P() 296 bssl::UniquePtr<BIGNUM> y(BN_new()); in TEST_P() 354 bssl::UniquePtr<BIGNUM> zero(BN_new()); in TEST_P()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 152 if (((rnd = BN_new()) == NULL) || in compute_password_element() 153 ((cofactor = BN_new()) == NULL) || in compute_password_element() 155 ((grp->order = BN_new()) == NULL) || in compute_password_element() 156 ((grp->prime = BN_new()) == NULL) || in compute_password_element() 157 ((x_candidate = BN_new()) == NULL)) { in compute_password_element()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 486 bn_result = BN_new(); in crypto_mod_exp() 642 dh->g = BN_new(); in dh5_init() 689 g = BN_new(); in dh5_init() 737 dh->g = BN_new(); in dh5_init_fixed() 769 g = BN_new(); in dh5_init_fixed() 1117 return (struct crypto_bignum *) BN_new(); in crypto_bignum_init() 1332 exp = BN_new(); in crypto_bignum_legendre() 1333 tmp = BN_new(); in crypto_bignum_legendre() 1420 e->prime = BN_new(); in crypto_ec_init() 1421 e->order = BN_new(); in crypto_ec_init() [all …]
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 808 ap->prime = BN_new(); in rsa_default_multi_prime_keygen() 809 ap->exp = BN_new(); in rsa_default_multi_prime_keygen() 810 ap->coeff = BN_new(); in rsa_default_multi_prime_keygen() 811 ap->r = BN_new(); in rsa_default_multi_prime_keygen() 823 if (!rsa->n && ((rsa->n = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() 826 if (!rsa->d && ((rsa->d = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() 829 if (!rsa->e && ((rsa->e = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() 832 if (!rsa->p && ((rsa->p = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() 835 if (!rsa->q && ((rsa->q = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() 838 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) { in rsa_default_multi_prime_keygen() [all …]
|
D | blinding.c | 140 ret->A = BN_new(); in BN_BLINDING_new() 145 ret->Ai = BN_new(); in BN_BLINDING_new()
|
D | rsa.c | 761 rsa->p = BN_new(); in RSA_recover_crt_params() 762 rsa->q = BN_new(); in RSA_recover_crt_params() 763 rsa->dmp1 = BN_new(); in RSA_recover_crt_params() 764 rsa->dmq1 = BN_new(); in RSA_recover_crt_params() 765 rsa->iqmp = BN_new(); in RSA_recover_crt_params()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 213 if (((data->private_value = BN_new()) == NULL) || in eap_pwd_build_commit_req() 215 ((data->my_scalar = BN_new()) == NULL) || in eap_pwd_build_commit_req() 216 ((mask = BN_new()) == NULL)) { in eap_pwd_build_commit_req() 248 if (((x = BN_new()) == NULL) || in eap_pwd_build_commit_req() 249 ((y = BN_new()) == NULL)) { in eap_pwd_build_commit_req() 324 ((x = BN_new()) == NULL) || ((y = BN_new()) == NULL)) { in eap_pwd_build_confirm_req() 681 if (((data->peer_scalar = BN_new()) == NULL) || in eap_pwd_process_commit_resp() 682 ((data->k = BN_new()) == NULL) || in eap_pwd_process_commit_resp() 683 ((cofactor = BN_new()) == NULL) || in eap_pwd_process_commit_resp() 684 ((x = BN_new()) == NULL) || in eap_pwd_process_commit_resp() [all …]
|
/external/openssh/ |
D | kexgexc.c | 101 if ((p = BN_new()) == NULL || in input_kex_dh_gex_group() 102 (g = BN_new()) == NULL) { in input_kex_dh_gex_group() 183 if ((dh_server_pub = BN_new()) == NULL) { in input_kex_dh_gex_reply() 206 (shared_secret = BN_new()) == NULL) { in input_kex_dh_gex_reply()
|
D | dh.c | 112 if ((dhg->g = BN_new()) == NULL || in parse_prime() 113 (dhg->p = BN_new()) == NULL) { in parse_prime() 232 if ((tmp = BN_new()) == NULL) { in dh_pub_is_valid()
|
D | sshconnect1.c | 83 if ((challenge = BN_new()) == NULL) in try_agent_authentication() 256 if ((challenge = BN_new()) == NULL) in try_rsa_authentication() 370 if ((challenge = BN_new()) == NULL) in try_rhosts_rsa_authentication() 576 if ((key = BN_new()) == NULL) in ssh_kex()
|
D | moduli.c | 321 if ((q = BN_new()) == NULL) in gen_candidates() 328 if ((largebase = BN_new()) == NULL) in gen_candidates() 600 if ((p = BN_new()) == NULL) in prime_test() 602 if ((q = BN_new()) == NULL) in prime_test()
|
D | kexdhc.c | 128 if ((dh_server_pub = BN_new()) == NULL) { in input_kex_dh() 151 (shared_secret = BN_new()) == NULL) { in input_kex_dh()
|
D | kexdhs.c | 114 if ((dh_client_pub = BN_new()) == NULL) { in input_kex_dh_init() 143 (shared_secret = BN_new()) == NULL) { in input_kex_dh_init()
|
D | ssh-dss.c | 180 (sig->r = BN_new()) == NULL || in ssh_dss_verify() 181 (sig->s = BN_new()) == NULL) { in ssh_dss_verify()
|
D | auth-rsa.c | 79 if ((challenge = BN_new()) == NULL) in auth_rsa_generate_challenge() 143 if ((encrypted_challenge = BN_new()) == NULL) in auth_rsa_challenge_dialog()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 251 k = BN_new(); /* this value is later returned in *kinvp */ in ecdsa_sign_setup() 252 r = BN_new(); /* this value is later returned in *rp */ in ecdsa_sign_setup() 253 tmp = BN_new(); in ecdsa_sign_setup() 379 (tmp = BN_new()) == NULL || in ECDSA_do_sign_ex() 380 (m = BN_new()) == NULL) { in ECDSA_do_sign_ex()
|
D | ecdsa_asn1.c | 93 sig->r = BN_new(); in ECDSA_SIG_new() 94 sig->s = BN_new(); in ECDSA_SIG_new()
|
/external/boringssl/src/crypto/dh/ |
D | dh.c | 185 dh->p = BN_new(); in DH_generate_parameters_ex() 191 dh->g = BN_new(); in DH_generate_parameters_ex() 273 priv_key = BN_new(); in DH_generate_key() 283 pub_key = BN_new(); in DH_generate_key()
|
/external/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 85 dsa->pub_key = BN_new(); in dsa_pub_decode() 138 dsa->priv_key = BN_new(); in dsa_priv_decode() 139 dsa->pub_key = BN_new(); in dsa_priv_decode()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 383 if (((data->private_value = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 385 ((cofactor = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 386 ((data->my_scalar = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 387 ((mask = BN_new()) == NULL)) { in eap_pwd_perform_commit_exchange() 422 if (((x = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 423 ((y = BN_new()) == NULL)) { in eap_pwd_perform_commit_exchange() 429 if (((data->server_scalar = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 430 ((data->k = BN_new()) == NULL) || in eap_pwd_perform_commit_exchange() 607 ((x = BN_new()) == NULL) || ((y = BN_new()) == NULL)) { in eap_pwd_perform_confirm_exchange()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 445 priv_key = BN_new(); in DSA_generate_key() 457 pub_key = BN_new(); in DSA_generate_key() 524 s = BN_new(); in DSA_do_sign() 833 r = BN_new(); in DSA_sign_setup() 880 kinv = BN_new(); in DSA_sign_setup()
|