Home
last modified time | relevance | path

Searched refs:bin_clear_free (Results 1 – 25 of 63) sorted by relevance

123

/external/wpa_supplicant_8/src/utils/
Dwpa_debug.c314 bin_clear_free(strbuf, 1 + 3 * slen); in _wpa_hexdump()
346 bin_clear_free(strbuf, 1 + 3 * len); in _wpa_hexdump()
671 bin_clear_free(buf, buflen); in wpa_msg()
699 bin_clear_free(buf, buflen); in wpa_msg_ctrl()
726 bin_clear_free(buf, buflen); in wpa_msg_global()
754 bin_clear_free(buf, buflen); in wpa_msg_global_ctrl()
781 bin_clear_free(buf, buflen); in wpa_msg_no_global()
851 bin_clear_free(buf, buflen); in hostapd_logger()
Dcommon.h554 void bin_clear_free(void *bin, size_t len);
/external/wpa_supplicant_8/src/wps/
Dwps.c93 bin_clear_free(data->dev_password, data->dev_password_len); in wps_init()
127 bin_clear_free(data->dev_password, in wps_init()
179 bin_clear_free(data->dev_password, data->dev_password_len); in wps_deinit()
180 bin_clear_free(data->alt_dev_password, data->alt_dev_password_len); in wps_deinit()
181 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
183 bin_clear_free(data->new_ap_settings, sizeof(*data->new_ap_settings)); in wps_deinit()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c113 bin_clear_free(data->id_server, data->id_server_len); in eap_pwd_init()
127 bin_clear_free(data->id_server, data->id_server_len); in eap_pwd_init()
128 bin_clear_free(data->password, data->password_len); in eap_pwd_init()
153 bin_clear_free(data->id_peer, data->id_peer_len); in eap_pwd_reset()
154 bin_clear_free(data->id_server, data->id_server_len); in eap_pwd_reset()
155 bin_clear_free(data->password, data->password_len); in eap_pwd_reset()
156 bin_clear_free(data->salt, data->salt_len); in eap_pwd_reset()
164 bin_clear_free(data, sizeof(*data)); in eap_pwd_reset()
405 bin_clear_free(cruft, prime_len * 2); in eap_pwd_build_confirm_req()
841 bin_clear_free(cruft, prime_len * 2); in eap_pwd_process_confirm_resp()
Deap_server.c238 bin_clear_free(sm->eap_if.eapKeyData, sm->eap_if.eapKeyDataLen); in SM_STATE()
497 bin_clear_free(emsk, emsk_len); in eap_server_erp_init()
498 bin_clear_free(erp, sizeof(*erp)); in eap_server_erp_init()
513 bin_clear_free(sm->eap_if.eapKeyData, sm->eap_if.eapKeyDataLen); in SM_STATE()
761 bin_clear_free(sm->eap_if.eapKeyData, sm->eap_if.eapKeyDataLen); in erp_send_finish_reauth()
774 bin_clear_free(sm->eap_if.eapKeyData, erp->rRK_len); in erp_send_finish_reauth()
1138 bin_clear_free(sm->eap_if.eapKeyData, sm->eap_if.eapKeyDataLen); in SM_STATE()
1818 bin_clear_free(user->password, user->password_len); in eap_user_free()
1820 bin_clear_free(user->salt, user->salt_len); in eap_user_free()
1915 bin_clear_free(sm->eap_if.eapKeyData, sm->eap_if.eapKeyDataLen); in eap_server_sm_deinit()
[all …]
Deap_server_tls.c370 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk()
Deap_server_sake.c86 bin_clear_free(data, sizeof(*data)); in eap_sake_reset()
Deap_server_peap.c206 bin_clear_free(data, sizeof(*data)); in eap_peap_reset()
1370 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_peap_get_emsk()
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c86 bin_clear_free(user->password, user->password_len); in get_user_cb()
123 bin_clear_free(user->password, user->password_len); in get_wildcard_cb()
168 bin_clear_free(hapd->tmp_eap_user.identity, in eap_user_sqlite_get()
170 bin_clear_free(hapd->tmp_eap_user.password, in eap_user_sqlite_get()
Dap_config.c478 bin_clear_free(user->password, user->password_len); in hostapd_config_free_eap_user()
479 bin_clear_free(user->salt, user->salt_len); in hostapd_config_free_eap_user()
500 bin_clear_free(keys->key[i], keys->len[i]); in hostapd_config_free_wep()
513 bin_clear_free(tmp, sizeof(*tmp)); in hostapd_config_clear_wpa_psk()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_nettle.c67 bin_clear_free(ctx, alg->context_size); in nettle_digest_vector()
272 bin_clear_free(actx, sizeof(*actx)); in aes_encrypt_deinit()
303 bin_clear_free(actx, sizeof(*actx)); in aes_decrypt_deinit()
468 bin_clear_free(ctx, sizeof(*ctx)); in crypto_cipher_deinit()
Daes-eax.c74 bin_clear_free(buf, buf_len); in aes_128_eax_encrypt()
Daes-siv.c105 bin_clear_free(buf, len[i]); in aes_s2v()
Dcrypto_openssl.c59 bin_clear_free(ctx, sizeof(*ctx)); in HMAC_CTX_free()
79 bin_clear_free(ctx, sizeof(*ctx)); in EVP_MD_CTX_free()
1022 bin_clear_free(ctx, sizeof(*ctx)); in crypto_hash_init()
1048 bin_clear_free(ctx, sizeof(*ctx)); in crypto_hash_finish()
1055 bin_clear_free(ctx, sizeof(*ctx)); in crypto_hash_finish()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c124 bin_clear_free(data->id_peer, data->id_peer_len); in eap_pwd_init()
156 bin_clear_free(data->id_peer, data->id_peer_len); in eap_pwd_deinit()
157 bin_clear_free(data->id_server, data->id_server_len); in eap_pwd_deinit()
158 bin_clear_free(data->password, data->password_len); in eap_pwd_deinit()
166 bin_clear_free(data, sizeof(*data)); in eap_pwd_deinit()
803 bin_clear_free(cruft, prime_len * 2); in eap_pwd_perform_confirm_exchange()
Deap_mschapv2.c141 bin_clear_free(data, sizeof(*data)); in eap_mschapv2_deinit()
304 bin_clear_free(config->password, config->password_len); in eap_mschapv2_password_changed()
314 bin_clear_free(config->password, in eap_mschapv2_password_changed()
319 bin_clear_free(config->new_password, in eap_mschapv2_password_changed()
Deap.c109 bin_clear_free(sm->eapKeyData, sm->eapKeyDataLen); in eap_sm_free_key()
561 bin_clear_free(erp, sizeof(*erp)); in eap_peer_erp_free_key()
782 bin_clear_free(ext_emsk, ext_emsk_len); in eap_peer_erp_init()
784 bin_clear_free(emsk, emsk_len); in eap_peer_erp_init()
785 bin_clear_free(ext_session_id, ext_session_id_len); in eap_peer_erp_init()
786 bin_clear_free(erp, sizeof(*erp)); in eap_peer_erp_init()
Deap_tls.c132 bin_clear_free(data->key_data, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_free_key()
Deap_peap.c172 bin_clear_free(data->key_data, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_peap_free_key()
191 bin_clear_free(data, sizeof(*data)); in eap_peap_deinit()
Deap_ikev2.c114 bin_clear_free(data, sizeof(*data)); in eap_ikev2_deinit()
Deap_sake.c110 bin_clear_free(data, sizeof(*data)); in eap_sake_deinit()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c1608 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password()
1619 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password()
1641 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password()
1673 bin_clear_free(hash, 16); in wpa_config_parse_password()
1676 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password()
2519 bin_clear_free(eap->identity, eap->identity_len); in eap_peer_config_free()
2522 bin_clear_free(eap->password, eap->password_len); in eap_peer_config_free()
2561 bin_clear_free(eap->new_password, eap->new_password_len); in eap_peer_config_free()
2604 bin_clear_free(ssid->dpp_netaccesskey, ssid->dpp_netaccesskey_len); in wpa_config_free_ssid()
2609 bin_clear_free(psk, sizeof(*psk)); in wpa_config_free_ssid()
[all …]
/external/wpa_supplicant_8/src/common/
Ddpp.c3137 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
3227 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_req_rx()
3527 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx_status()
3792 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3846 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3847 bin_clear_free(unwrapped2, unwrapped2_len); in dpp_auth_resp_rx()
3852 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3853 bin_clear_free(unwrapped2, unwrapped2_len); in dpp_auth_resp_rx()
3868 bin_clear_free(unwrapped, unwrapped_len); in dpp_auth_resp_rx()
3869 bin_clear_free(unwrapped2, unwrapped2_len); in dpp_auth_resp_rx()
[all …]
Dsae.c122 bin_clear_free(tmp, sizeof(*tmp)); in sae_clear_temp_data()
612 bin_clear_free(tmp_password, password_len); in sae_derive_pwe_ecc()
717 bin_clear_free(pwe_buf, prime_len * 2); in sae_derive_pwe_ffc()
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c357 bin_clear_free(prfbuf, primebytelen); in compute_password_element()

123