Home
last modified time | relevance | path

Searched refs:BN_clear_free (Results 1 – 25 of 35) 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.c146 BN_clear_free(p); in input_kex_dh_gex_group()
148 BN_clear_free(g); in input_kex_dh_gex_group()
267 BN_clear_free(dh_server_pub); in input_kex_dh_gex_reply()
273 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.c266 BN_clear_free(dh_client_pub); in input_kex_dh_gex_init()
272 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()
/external/boringssl/src/crypto/dh/
Ddh.c131 if (dh->p != NULL) BN_clear_free(dh->p); in DH_free()
132 if (dh->g != NULL) BN_clear_free(dh->g); in DH_free()
133 if (dh->q != NULL) BN_clear_free(dh->q); in DH_free()
134 if (dh->j != NULL) BN_clear_free(dh->j); in DH_free()
136 if (dh->counter != NULL) BN_clear_free(dh->counter); in DH_free()
137 if (dh->pub_key != NULL) BN_clear_free(dh->pub_key); in DH_free()
138 if (dh->priv_key != NULL) BN_clear_free(dh->priv_key); in DH_free()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c406 BN_clear_free(bn_base); in crypto_mod_exp()
407 BN_clear_free(bn_exp); in crypto_mod_exp()
408 BN_clear_free(bn_modulus); in crypto_mod_exp()
409 BN_clear_free(bn_result); in crypto_mod_exp()
639 BN_clear_free(pub_key); in dh5_derive_shared()
644 BN_clear_free(pub_key); in dh5_derive_shared()
944 BN_clear_free((BIGNUM *) n); in crypto_bignum_deinit()
1139 BN_clear_free(tmp); in crypto_bignum_legendre()
1140 BN_clear_free(exp); in crypto_bignum_legendre()
1229 BN_clear_free(e->b); in crypto_ec_deinit()
[all …]
/external/boringssl/src/crypto/dsa/
Ddsa.c137 BN_clear_free(dsa->p); in DSA_free()
138 BN_clear_free(dsa->q); in DSA_free()
139 BN_clear_free(dsa->g); in DSA_free()
140 BN_clear_free(dsa->pub_key); in DSA_free()
141 BN_clear_free(dsa->priv_key); in DSA_free()
142 BN_clear_free(dsa->kinv); in DSA_free()
143 BN_clear_free(dsa->r); in DSA_free()
Ddsa_impl.c165 BN_clear_free(*kinvp); in sign_setup()
168 BN_clear_free(*rp); in sign_setup()
176 BN_clear_free(r); in sign_setup()
183 BN_clear_free(&k); in sign_setup()
184 BN_clear_free(&kq); in sign_setup()
277 BN_clear_free(&m); in sign()
278 BN_clear_free(&xr); in sign()
279 BN_clear_free(kinv); in sign()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c330 BN_clear_free(*rp); in ecdsa_sign_setup()
331 BN_clear_free(*kinvp); in ecdsa_sign_setup()
340 BN_clear_free(k); in ecdsa_sign_setup()
341 BN_clear_free(r); in ecdsa_sign_setup()
348 BN_clear_free(X); in ecdsa_sign_setup()
448 BN_clear_free(m); in ECDSA_do_sign_ex()
449 BN_clear_free(tmp); in ECDSA_do_sign_ex()
451 BN_clear_free(kinv); in ECDSA_do_sign_ex()
Decdsa_asn1.c98 BN_clear_free(order); in ECDSA_size()
115 BN_clear_free(order); in ECDSA_size()
/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()
241 BN_clear_free(mask); in eap_pwd_build_commit_req()
293 BN_clear_free(x); in eap_pwd_build_commit_req()
294 BN_clear_free(y); in eap_pwd_build_commit_req()
418 BN_clear_free(x); in eap_pwd_build_confirm_req()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c271 BN_clear_free(grp->order); in compute_password_element()
273 BN_clear_free(grp->prime); in compute_password_element()
278 BN_clear_free(cofactor); in compute_password_element()
279 BN_clear_free(x_candidate); in compute_password_element()
280 BN_clear_free(rnd); in compute_password_element()
/external/boringssl/src/crypto/rsa/
Drsa.c135 BN_clear_free(rsa->n); in RSA_free()
136 BN_clear_free(rsa->e); in RSA_free()
137 BN_clear_free(rsa->d); in RSA_free()
138 BN_clear_free(rsa->p); in RSA_free()
139 BN_clear_free(rsa->q); in RSA_free()
140 BN_clear_free(rsa->dmp1); in RSA_free()
141 BN_clear_free(rsa->dmq1); in RSA_free()
142 BN_clear_free(rsa->iqmp); in RSA_free()
/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()
414 BN_clear_free(mask); in eap_pwd_perform_commit_exchange()
549 BN_clear_free(x); in eap_pwd_perform_commit_exchange()
550 BN_clear_free(y); in eap_pwd_perform_commit_exchange()
551 BN_clear_free(cofactor); in eap_pwd_perform_commit_exchange()
[all …]
/external/boringssl/src/crypto/ec/
Dec_montgomery.c140 BN_clear_free(group->one); in ec_GFp_mont_group_clear_finish()
148 BN_clear_free(dest->one); in ec_GFp_mont_group_copy()
Dsimple.c150 BN_clear_free(&group->field); in ec_GFp_simple_group_clear_finish()
151 BN_clear_free(&group->a); in ec_GFp_simple_group_clear_finish()
152 BN_clear_free(&group->b); in ec_GFp_simple_group_clear_finish()
364 BN_clear_free(&point->X); in ec_GFp_simple_point_clear_finish()
365 BN_clear_free(&point->Y); in ec_GFp_simple_point_clear_finish()
366 BN_clear_free(&point->Z); in ec_GFp_simple_point_clear_finish()
1345 BN_clear_free(prod_Z[i]); in ec_GFp_simple_points_make_affine()
Dec_key.c159 BN_clear_free(r->priv_key); in EC_KEY_free()
260 BN_clear_free(key->priv_key); in EC_KEY_set_private_key()
/external/boringssl/src/crypto/asn1/
Dx_bignum.c104 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free()

12