/external/wpa_supplicant_8/src/crypto/ |
D | sha256-kdf.c | 63 os_memset(out, 0, outlen); in hmac_sha256_kdf() 64 os_memset(T, 0, SHA256_MAC_LEN); in hmac_sha256_kdf() 71 os_memset(out, 0, outlen); in hmac_sha256_kdf() 72 os_memset(T, 0, SHA256_MAC_LEN); in hmac_sha256_kdf() 77 os_memset(T, 0, SHA256_MAC_LEN); in hmac_sha256_kdf()
|
D | md5.c | 61 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_md5_vector() 78 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_md5_vector() 90 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_md5_vector() 91 os_memset(tk, 0, sizeof(tk)); in hmac_md5_vector()
|
D | sha1-tlsprf.c | 98 os_memset(A_MD5, 0, MD5_MAC_LEN); in tls_prf_sha1_md5() 99 os_memset(P_MD5, 0, MD5_MAC_LEN); in tls_prf_sha1_md5() 100 os_memset(A_SHA1, 0, SHA1_MAC_LEN); in tls_prf_sha1_md5() 101 os_memset(P_SHA1, 0, SHA1_MAC_LEN); in tls_prf_sha1_md5()
|
D | sha1.c | 61 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha1_vector() 77 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha1_vector() 89 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha1_vector()
|
D | crypto_internal.c | 88 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init() 107 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init() 127 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init() 255 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish() 275 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish() 296 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish()
|
D | aes-gcm.c | 70 os_memset(z, 0, 16); /* Z_0 = 0^128 */ in gf_mult() 99 os_memset(y, 0, 16); in ghash_start() 127 os_memset(tmp + last, 0, sizeof(tmp) - last); in ghash() 184 os_memset(H, 0, AES_BLOCK_SIZE); in aes_gcm_init_hash_subkey() 199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); in aes_gcm_prepare_j0()
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 26 os_memset(&ifr, 0, sizeof(ifr)); in linux_set_iface_flags() 66 os_memset(&ifr, 0, sizeof(ifr)); in linux_iface_up() 84 os_memset(&ifr, 0, sizeof(ifr)); in linux_get_ifhwaddr() 107 os_memset(&ifr, 0, sizeof(ifr)); in linux_set_ifhwaddr() 169 os_memset(&ifr, 0, sizeof(ifr)); in linux_br_add_if() 191 os_memset(&ifr, 0, sizeof(ifr)); in linux_br_del_if()
|
D | driver_wired.c | 95 os_memset(&mreq, 0, sizeof(mreq)); in wired_multicast_membership() 137 os_memset(&event, 0, sizeof(event)); in handle_data() 196 os_memset(&event, 0, sizeof(event)); in handle_dhcp() 223 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets() 231 os_memset(&addr, 0, sizeof(addr)); in wired_init_sockets() 250 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets() 278 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets() 296 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets() 419 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_wired_get_capa() 436 os_memset(&ifr, 0, sizeof(ifr)); in wpa_driver_wired_get_ifflags() [all …]
|
D | driver_macsec_qca.c | 85 os_memset(&mreq, 0, sizeof(mreq)); in macsec_qca_multicast_membership() 121 os_memset(capa, 0, sizeof(*capa)); in macsec_qca_get_capa() 138 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_get_ifflags() 163 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_set_ifflags() 189 os_memset(&ifmr, 0, sizeof(ifmr)); in macsec_qca_get_ifstatus() 221 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_multi() 280 os_memset(&rx_ctl_filt, 0, sizeof(rx_ctl_filt)); in __macsec_drv_init() 289 os_memset(&tx_ctl_filt, 0, sizeof(tx_ctl_filt)); in __macsec_drv_init() 617 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_create_receive_sc() 660 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_delete_receive_sc() [all …]
|
D | driver_wext.c | 48 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_auth_param() 78 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_get_bssid() 103 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_bssid() 109 os_memset(iwr.u.ap_addr.sa_data, 0, ETH_ALEN); in wpa_driver_wext_set_bssid() 132 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_get_ssid() 175 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_ssid() 179 os_memset(buf, 0, sizeof(buf)); in wpa_driver_wext_set_ssid() 218 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_freq() 241 os_memset(&data, 0, sizeof(data)); in wpa_driver_wext_event_wireless_custom() 321 os_memset(&data, 0, sizeof(data)); in wpa_driver_wext_event_wireless_michaelmicfailure() [all …]
|
D | driver_nl80211_event.c | 167 os_memset(drv->auth_attempt_bssid, 0, ETH_ALEN); in mlme_event_auth() 168 os_memset(&event, 0, sizeof(event)); in mlme_event_auth() 231 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc() 249 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc() 300 os_memset(&event, 0, sizeof(event)); in mlme_event_connect() 419 os_memset(&data, 0, sizeof(data)); in mlme_event_disconnect() 505 os_memset(&data, 0, sizeof(data)); in mlme_event_ch_switch() 541 os_memset(&event, 0, sizeof(event)); in mlme_timeout_event() 571 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt() 619 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt_tx_status() [all …]
|
D | driver_atheros.c | 192 os_memset(&iwr, 0, sizeof(iwr)); in set80211priv() 225 os_memset(&iwr, 0, sizeof(iwr)); in set80211param() 458 os_memset(&wk, 0, sizeof(wk)); in atheros_del_key() 541 os_memset(&wk, 0, sizeof(wk)); in atheros_set_key() 545 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_set_key() 578 os_memset(&wk, 0, sizeof(wk)); in atheros_get_seqnum() 580 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_get_seqnum() 619 os_memset(allsta, 0xff, IEEE80211_ADDR_LEN); in atheros_flush() 632 os_memset(data, 0, sizeof(*data)); in atheros_read_sta_driver_data() 637 os_memset(&stats, 0, sizeof(stats)); in atheros_read_sta_driver_data() [all …]
|
D | driver_privsep.c | 55 os_memset(&msg, 0, sizeof(msg)); in wpa_priv_cmd() 201 os_memset(&cmd, 0, sizeof(cmd)); in wpa_driver_privsep_set_key() 206 os_memset(cmd.addr, 0xff, ETH_ALEN); in wpa_driver_privsep_set_key() 367 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_auth() 397 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_assoc() 431 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_interface_status() 447 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_michael_mic_failure() 461 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_pmkid_candidate() 474 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_stkstart() 488 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_ft_response() [all …]
|
D | driver_bsd.c | 117 os_memset(&ireq, 0, sizeof(ireq)); in bsd_set80211() 139 os_memset(ireq, 0, sizeof(*ireq)); in bsd_get80211() 183 os_memset(&ifr, 0, sizeof(ifr)); in bsd_get_ssid() 206 os_memset(&ifr, 0, sizeof(ifr)); in bsd_set_ssid() 221 os_memset(&ifmr, 0, sizeof(ifmr)); in bsd_get_if_media() 239 os_memset(&ifr, 0, sizeof(ifr)); in bsd_set_if_media() 271 os_memset(&wk, 0, sizeof(wk)); in bsd_del_key() 290 os_memset(&mlme, 0, sizeof(mlme)); in bsd_send_mlme_param() 303 os_memset(&ifr, 0, sizeof(ifr)); in bsd_ctrl_iface() 356 os_memset(&wk, 0, sizeof(wk)); in bsd_set_key() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_ioctl.c | 37 os_memset(&if_request, 0, sizeof(if_request)); in vlan_rem() 83 os_memset(&if_request, 0, sizeof(if_request)); in vlan_add() 109 os_memset(&if_request, 0, sizeof(if_request)); in vlan_add() 141 os_memset(&if_request, 0, sizeof(if_request)); in vlan_set_name_type()
|
D | iapp.c | 197 os_memset(&addr, 0, sizeof(addr)); in iapp_send_add() 217 os_memset(msg.da, 0xff, ETH_ALEN); in iapp_send_layer2_update() 403 os_memset(&ifr, 0, sizeof(ifr)); in iapp_init() 443 os_memset(&uaddr, 0, sizeof(uaddr)); in iapp_init() 454 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init() 474 os_memset(&addr, 0, sizeof(addr)); in iapp_init() 511 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
|
D | authsrv.c | 67 os_memset(user, 0, sizeof(*user)); in hostapd_radius_get_eap_user() 101 os_memset(&srv, 0, sizeof(srv)); in hostapd_setup_radius_srv() 158 os_memset(&conf, 0, sizeof(conf)); in authsrv_init() 167 os_memset(¶ms, 0, sizeof(params)); in authsrv_init()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 274 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); in eap_pwd_build_commit_req() 275 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_build_commit_req() 344 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 358 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 362 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 368 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 383 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 387 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 393 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() 401 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req() [all …]
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 238 os_memset(buf, 0, sizeof(buf)); in wpa_supplicant_get_pmk() 466 os_memset(&ie, 0, sizeof(ie)); in wpa_supplicant_process_1_of_4() 510 os_memset(buf, 0, sizeof(buf)); in wpa_supplicant_process_1_of_4() 661 os_memset(sm->ptk.tk, 0, WPA_TK_MAX_LEN); in wpa_supplicant_install_ptk() 736 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk() 746 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk() 749 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk() 819 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk() 846 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk() 849 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 306 os_memset(pwhash, 0, sizeof(pwhash)); in eap_pwd_perform_id_exchange() 328 os_memset(pwhashhash, 0, sizeof(pwhashhash)); in eap_pwd_perform_id_exchange() 531 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); in eap_pwd_perform_commit_exchange() 532 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_perform_commit_exchange() 625 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() 638 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() 642 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() 648 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() 663 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() 667 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.c | 75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize() 86 os_memset(nbuf + sizeof(struct wpabuf_trace) + in wpabuf_resize() 95 os_memset(nbuf + sizeof(struct wpabuf) + buf->used, 0, in wpabuf_resize() 211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free() 291 os_memset(wpabuf_put(ret, len - blen), 0, len - blen); in wpabuf_zeropad()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 108 os_memset(&ll, 0, sizeof(ll)); in l2_packet_send() 133 os_memset(&ll, 0, sizeof(ll)); in l2_packet_receive() 205 os_memset(&ll, 0, sizeof(ll)); in l2_packet_receive_br() 274 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_init() 285 os_memset(&ll, 0, sizeof(ll)); in l2_packet_init() 366 os_memset(&ll, 0, sizeof(ll)); in l2_packet_init_bridge() 431 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_get_ip_addr()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 20 os_memset(allzero, 0, SHA256_MAC_LEN); in eap_pwd_h_init() 184 os_memset(prfbuf, 0, primebytelen); in compute_password_element() 332 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys() 336 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys() 348 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys()
|
D | eap_eke_common.c | 196 os_memset(ret_pub, 0, pad); in eap_eke_dh_init() 337 os_memset(zeros, 0, sess->prf_len); in eap_eke_derive_key() 430 os_memset(modexp, 0, pad); in eap_eke_shared_secret() 433 os_memset(zeros, 0, sess->auth_len); in eap_eke_shared_secret() 585 os_memset(buf, 0, sizeof(buf)); in eap_eke_derive_msk() 746 os_memset(sess->shared_secret, 0, EAP_EKE_MAX_HASH_LEN); in eap_eke_session_clean() 747 os_memset(sess->ke, 0, EAP_EKE_MAX_KE_LEN); in eap_eke_session_clean() 748 os_memset(sess->ki, 0, EAP_EKE_MAX_KI_LEN); in eap_eke_session_clean() 749 os_memset(sess->ka, 0, EAP_EKE_MAX_KA_LEN); in eap_eke_session_clean()
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_key.c | 48 os_memset(ret, 0, ret_len); in aes_kdf_128() 134 os_memset(context, 0, sizeof(context)); in ieee802_1x_kek_128bits_aes_cmac() 154 os_memset(context, 0, sizeof(context)); in ieee802_1x_ick_128bits_aes_cmac()
|