Home
last modified time | relevance | path

Searched refs:BN_clear_free (Results 1 – 25 of 33) sorted by relevance

12

/external/openssh/
Ddh.c138 BN_clear_free(dhg->g); in parse_prime()
140 BN_clear_free(dhg->p); in parse_prime()
167 BN_clear_free(dhg.g); in choose_dh()
168 BN_clear_free(dhg.p); in choose_dh()
197 BN_clear_free(dhg.g); in choose_dh()
198 BN_clear_free(dhg.p); in choose_dh()
238 BN_clear_free(tmp); in dh_pub_is_valid()
242 BN_clear_free(tmp); in dh_pub_is_valid()
274 BN_clear_free(dh->priv_key); in dh_gen_key()
Dkexgexc.c139 BN_clear_free(p); in input_kex_dh_gex_group()
141 BN_clear_free(g); in input_kex_dh_gex_group()
260 BN_clear_free(dh_server_pub); in input_kex_dh_gex_reply()
266 BN_clear_free(shared_secret); in input_kex_dh_gex_reply()
Dsshconnect1.c164 BN_clear_free(challenge); in try_agent_authentication()
309 BN_clear_free(challenge); in try_rsa_authentication()
321 BN_clear_free(challenge); in try_rsa_authentication()
381 BN_clear_free(challenge); in try_rhosts_rsa_authentication()
655 BN_clear_free(key); in ssh_kex()
Dkexdhc.c200 BN_clear_free(dh_server_pub); in input_kex_dh()
206 BN_clear_free(shared_secret); in input_kex_dh()
Dkexdhs.c205 BN_clear_free(dh_client_pub); in input_kex_dh_init()
211 BN_clear_free(shared_secret); in input_kex_dh_init()
Dauth-rsa.c156 BN_clear_free(encrypted_challenge); in auth_rsa_challenge_dialog()
166 BN_clear_free(challenge); in auth_rsa_challenge_dialog()
Dkexgexs.c243 BN_clear_free(dh_client_pub); in input_kex_dh_gex_init()
249 BN_clear_free(shared_secret); in input_kex_dh_gex_init()
Drsa.c184 BN_clear_free(aux); in rsa_generate_additional_parameters()
Dkexecdhs.c202 BN_clear_free(shared_secret); in input_kex_ecdh_init()
Dkexecdhc.c221 BN_clear_free(shared_secret); in input_kex_ecdh_reply()
Dauth1.c154 BN_clear_free(n); in auth1_process_rsa()
/external/boringssl/src/crypto/dsa/
Ddsa.c115 BN_clear_free(dsa->p); in DSA_free()
116 BN_clear_free(dsa->q); in DSA_free()
117 BN_clear_free(dsa->g); in DSA_free()
118 BN_clear_free(dsa->pub_key); in DSA_free()
119 BN_clear_free(dsa->priv_key); in DSA_free()
120 BN_clear_free(dsa->kinv); in DSA_free()
121 BN_clear_free(dsa->r); in DSA_free()
596 BN_clear_free(&m); in DSA_do_sign()
597 BN_clear_free(&xr); in DSA_do_sign()
598 BN_clear_free(kinv); in DSA_do_sign()
[all …]
/external/boringssl/src/crypto/dh/
Ddh.c104 BN_clear_free(dh->p); in DH_free()
105 BN_clear_free(dh->g); in DH_free()
106 BN_clear_free(dh->q); in DH_free()
107 BN_clear_free(dh->j); in DH_free()
109 BN_clear_free(dh->counter); in DH_free()
110 BN_clear_free(dh->pub_key); in DH_free()
111 BN_clear_free(dh->priv_key); in DH_free()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c499 BN_clear_free(bn_base); in crypto_mod_exp()
500 BN_clear_free(bn_exp); in crypto_mod_exp()
501 BN_clear_free(bn_modulus); in crypto_mod_exp()
502 BN_clear_free(bn_result); in crypto_mod_exp()
793 BN_clear_free(priv_key); in dh5_init_fixed()
826 BN_clear_free(pub_key); in dh5_derive_shared()
831 BN_clear_free(pub_key); in dh5_derive_shared()
1136 BN_clear_free((BIGNUM *) n); in crypto_bignum_deinit()
1350 BN_clear_free(tmp); in crypto_bignum_legendre()
1351 BN_clear_free(exp); in crypto_bignum_legendre()
[all …]
/external/boringssl/src/crypto/ecdsa/
Decdsa.c321 BN_clear_free(*rp); in ecdsa_sign_setup()
322 BN_clear_free(*kinvp); in ecdsa_sign_setup()
331 BN_clear_free(k); in ecdsa_sign_setup()
332 BN_clear_free(r); in ecdsa_sign_setup()
338 BN_clear_free(tmp); in ecdsa_sign_setup()
438 BN_clear_free(m); in ECDSA_do_sign_ex()
439 BN_clear_free(tmp); in ECDSA_do_sign_ex()
440 BN_clear_free(kinv); in ECDSA_do_sign_ex()
/external/boringssl/src/crypto/rsa/
Drsa.c117 BN_clear_free(ap->prime); in RSA_additional_prime_free()
118 BN_clear_free(ap->exp); in RSA_additional_prime_free()
119 BN_clear_free(ap->coeff); in RSA_additional_prime_free()
120 BN_clear_free(ap->r); in RSA_additional_prime_free()
143 BN_clear_free(rsa->n); in RSA_free()
144 BN_clear_free(rsa->e); in RSA_free()
145 BN_clear_free(rsa->d); in RSA_free()
146 BN_clear_free(rsa->p); in RSA_free()
147 BN_clear_free(rsa->q); in RSA_free()
148 BN_clear_free(rsa->dmp1); in RSA_free()
[all …]
/external/ipsec-tools/src/racoon/
Dprsa_par.y191 if (rsa_cur->p) BN_clear_free(rsa_cur->p);
192 if (rsa_cur->q) BN_clear_free(rsa_cur->q);
193 if (rsa_cur->dmp1) BN_clear_free(rsa_cur->dmp1);
194 if (rsa_cur->dmq1) BN_clear_free(rsa_cur->dmq1);
195 if (rsa_cur->iqmp) BN_clear_free(rsa_cur->iqmp);
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c141 BN_clear_free(data->private_value); in eap_pwd_reset()
142 BN_clear_free(data->peer_scalar); in eap_pwd_reset()
143 BN_clear_free(data->my_scalar); in eap_pwd_reset()
144 BN_clear_free(data->k); in eap_pwd_reset()
154 BN_clear_free(data->grp->order); in eap_pwd_reset()
155 BN_clear_free(data->grp->prime); in eap_pwd_reset()
246 BN_clear_free(mask); in eap_pwd_build_commit_req()
298 BN_clear_free(x); in eap_pwd_build_commit_req()
299 BN_clear_free(y); in eap_pwd_build_commit_req()
423 BN_clear_free(x); in eap_pwd_build_confirm_req()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c291 BN_clear_free(grp->order); in compute_password_element()
293 BN_clear_free(grp->prime); in compute_password_element()
298 BN_clear_free(cofactor); in compute_password_element()
299 BN_clear_free(x_candidate); in compute_password_element()
300 BN_clear_free(rnd); in compute_password_element()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c155 BN_clear_free(data->private_value); in eap_pwd_deinit()
156 BN_clear_free(data->server_scalar); in eap_pwd_deinit()
157 BN_clear_free(data->my_scalar); in eap_pwd_deinit()
158 BN_clear_free(data->k); in eap_pwd_deinit()
168 BN_clear_free(data->grp->order); in eap_pwd_deinit()
169 BN_clear_free(data->grp->prime); in eap_pwd_deinit()
555 BN_clear_free(x); in eap_pwd_perform_commit_exchange()
556 BN_clear_free(y); in eap_pwd_perform_commit_exchange()
557 BN_clear_free(mask); in eap_pwd_perform_commit_exchange()
558 BN_clear_free(cofactor); in eap_pwd_perform_commit_exchange()
[all …]
/external/boringssl/src/crypto/ec/
Dec_key.c152 BN_clear_free(r->priv_key); in EC_KEY_free()
265 BN_clear_free(key->priv_key); in EC_KEY_set_private_key()
Dsimple.c253 BN_clear_free(&point->X); in ec_GFp_simple_point_clear_finish()
254 BN_clear_free(&point->Y); in ec_GFp_simple_point_clear_finish()
255 BN_clear_free(&point->Z); in ec_GFp_simple_point_clear_finish()
1102 BN_clear_free(prod_Z[i]); in ec_GFp_simple_points_make_affine()
/external/boringssl/src/crypto/bn/
Dctx.c249 BN_clear_free(bn); in BN_POOL_finish()
Dbn.c102 void BN_clear_free(BIGNUM *bn) { in BN_clear_free() function
Dsqrt.c423 BN_clear_free(ret); in BN_mod_sqrt()

12