Home
last modified time | relevance | path

Searched refs:os_memset (Results 1 – 25 of 212) sorted by relevance

123456789

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c26 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()
Ddriver_wired.c94 os_memset(&mreq, 0, sizeof(mreq)); in wired_multicast_membership()
136 os_memset(&event, 0, sizeof(event)); in handle_data()
195 os_memset(&event, 0, sizeof(event)); in handle_dhcp()
221 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
228 os_memset(&addr, 0, sizeof(addr)); in wired_init_sockets()
247 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
273 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets()
289 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
404 os_memset(capa, 0, sizeof(*capa)); in wpa_driver_wired_get_capa()
421 os_memset(&ifr, 0, sizeof(ifr)); in wpa_driver_wired_get_ifflags()
[all …]
Ddriver_macsec_qca.c85 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()
162 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_set_ifflags()
187 os_memset(&ifmr, 0, sizeof(ifmr)); in macsec_qca_get_ifstatus()
218 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_multi()
276 os_memset(&rx_ctl_filt, 0, sizeof(rx_ctl_filt)); in __macsec_drv_init()
285 os_memset(&tx_ctl_filt, 0, sizeof(tx_ctl_filt)); in __macsec_drv_init()
613 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_create_receive_sc()
656 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_delete_receive_sc()
[all …]
Ddriver_wext.c47 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_auth_param()
77 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_get_bssid()
102 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_bssid()
108 os_memset(iwr.u.ap_addr.sa_data, 0, ETH_ALEN); in wpa_driver_wext_set_bssid()
131 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_get_ssid()
173 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_ssid()
177 os_memset(buf, 0, sizeof(buf)); in wpa_driver_wext_set_ssid()
215 os_memset(&iwr, 0, sizeof(iwr)); in wpa_driver_wext_set_freq()
237 os_memset(&data, 0, sizeof(data)); in wpa_driver_wext_event_wireless_custom()
317 os_memset(&data, 0, sizeof(data)); in wpa_driver_wext_event_wireless_michaelmicfailure()
[all …]
Ddriver_privsep.c55 os_memset(&msg, 0, sizeof(msg)); in wpa_priv_cmd()
199 os_memset(&cmd, 0, sizeof(cmd)); in wpa_driver_privsep_set_key()
204 os_memset(cmd.addr, 0xff, ETH_ALEN); in wpa_driver_privsep_set_key()
316 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_assoc()
350 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_interface_status()
366 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_michael_mic_failure()
380 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_pmkid_candidate()
393 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_stkstart()
407 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_ft_response()
638 os_memset(&addr, 0, sizeof(addr)); in wpa_driver_privsep_set_param()
[all …]
Ddriver_bsd.c77 os_memset(&ireq, 0, sizeof(ireq)); in bsd_set80211()
99 os_memset(ireq, 0, sizeof(*ireq)); in bsd_get80211()
143 os_memset(&ifr, 0, sizeof(ifr)); in bsd_get_ssid()
166 os_memset(&ifr, 0, sizeof(ifr)); in bsd_set_ssid()
181 os_memset(&ifmr, 0, sizeof(ifmr)); in bsd_get_if_media()
199 os_memset(&ifr, 0, sizeof(ifr)); in bsd_set_if_media()
231 os_memset(&wk, 0, sizeof(wk)); in bsd_del_key()
250 os_memset(&mlme, 0, sizeof(mlme)); in bsd_send_mlme_param()
263 os_memset(&ifr, 0, sizeof(ifr)); in bsd_ctrl_iface()
312 os_memset(&wk, 0, sizeof(wk)); in bsd_set_key()
[all …]
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c52 os_memset(&ll, 0, sizeof(ll)); in l2_packet_send()
77 os_memset(&ll, 0, sizeof(ll)); in l2_packet_receive()
117 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_init()
128 os_memset(&ll, 0, sizeof(ll)); in l2_packet_init()
182 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_get_ip_addr()
Dl2_packet_privsep.c40 os_memset(&msg, 0, sizeof(msg)); in wpa_priv_cmd()
78 os_memset(&msg, 0, sizeof(msg)); in l2_packet_send()
101 os_memset(&from, 0, sizeof(from)); in l2_packet_receive()
172 os_memset(&addr, 0, sizeof(addr)); in l2_packet_init()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c70 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init()
89 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init()
109 os_memset(k_pad + key_len, 0, sizeof(k_pad) - key_len); in crypto_hash_init()
205 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish()
225 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish()
246 os_memset(k_pad + ctx->key_len, 0, in crypto_hash_finish()
Daes-gcm.c70 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()
Dsha1.c60 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha1_vector()
76 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha1_vector()
Dmd5.c60 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_md5_vector()
77 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_md5_vector()
Dsha256.c60 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha256_vector()
76 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha256_vector()
Dfips_prf_openssl.c19 os_memset(&context, 0, sizeof(context)); in sha1_transform()
35 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf()
/external/wpa_supplicant_8/wpa_supplicant/tests/
Dtest_wpa.c110 os_memset(hdr + 1, 0, data_len); in supp_alloc_eapol()
271 os_memset(&conf, 0, sizeof(conf)); in auth_init_group()
279 os_memset(&cb, 0, sizeof(cb)); in auth_init_group()
336 os_memset(&wpa, 0, sizeof(wpa)); in main()
337 os_memset(wpa.auth_addr, 0x12, ETH_ALEN); in main()
338 os_memset(wpa.supp_addr, 0x32, ETH_ALEN); in main()
339 os_memset(wpa.psk, 0x44, PMK_LEN); in main()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c265 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); in eap_pwd_build_commit_req()
266 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_build_commit_req()
335 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
349 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
353 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
359 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
374 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
378 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
384 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
392 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_build_confirm_req()
[all …]
/external/wpa_supplicant_8/src/ap/
Diapp.c201 os_memset(&addr, 0, sizeof(addr)); in iapp_send_add()
221 os_memset(msg.da, 0xff, ETH_ALEN); in iapp_send_layer2_update()
407 os_memset(&ifr, 0, sizeof(ifr)); in iapp_init()
447 os_memset(&uaddr, 0, sizeof(uaddr)); in iapp_init()
458 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init()
478 os_memset(&addr, 0, sizeof(addr)); in iapp_init()
515 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
Dvlan_init.c49 os_memset(&ifr, 0, sizeof(ifr)); in ifconfig_helper()
271 os_memset(&ifr, 0, sizeof(ifr)); in br_addbr()
310 os_memset(ifindices, 0, sizeof(ifindices)); in br_getnumports()
353 os_memset(&if_request, 0, sizeof(if_request)); in vlan_rem()
399 os_memset(&if_request, 0, sizeof(if_request)); in vlan_add()
427 os_memset(&if_request, 0, sizeof(if_request)); in vlan_add()
458 os_memset(&if_request, 0, sizeof(if_request)); in vlan_set_name_type()
643 os_memset(ifname, 0, sizeof(ifname)); in vlan_read_ifnames()
739 os_memset(&local, 0, sizeof(local)); in full_dynamic_vlan_init()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c454 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); in eap_pwd_perform_commit_exchange()
455 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); in eap_pwd_perform_commit_exchange()
535 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
548 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
552 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
558 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
573 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
577 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
583 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
613 os_memset(cruft, 0, BN_num_bytes(data->grp->prime)); in eap_pwd_perform_confirm_exchange()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c192 os_memset(buf, 0, sizeof(buf)); in wpa_supplicant_get_pmk()
401 os_memset(&ie, 0, sizeof(ie)); in wpa_supplicant_process_1_of_4()
445 os_memset(buf, 0, sizeof(buf)); in wpa_supplicant_process_1_of_4()
661 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk()
671 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk()
674 os_memset(gtk_buf, 0, sizeof(gtk_buf)); in wpa_supplicant_install_gtk()
713 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk()
736 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk()
739 os_memset(&gd, 0, sizeof(gd)); in wpa_supplicant_pairwise_gtk()
1277 os_memset(ek, 0, sizeof(ek)); in wpa_supplicant_process_1_of_2_wpa()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c20 os_memset(allzero, 0, SHA256_MAC_LEN); in eap_pwd_h_init()
163 os_memset(prfbuf, 0, primebytelen); in compute_password_element()
311 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys()
315 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys()
327 os_memset(cruft, 0, BN_num_bytes(grp->prime)); in compute_keys()
Deap_eke_common.c201 os_memset(ret_pub, 0, pad); in eap_eke_dh_init()
342 os_memset(zeros, 0, sess->prf_len); in eap_eke_derive_key()
438 os_memset(modexp, 0, pad); in eap_eke_shared_secret()
441 os_memset(zeros, 0, sess->auth_len); in eap_eke_shared_secret()
593 os_memset(buf, 0, sizeof(buf)); in eap_eke_derive_msk()
764 os_memset(sess->shared_secret, 0, EAP_EKE_MAX_HASH_LEN); in eap_eke_session_clean()
765 os_memset(sess->ke, 0, EAP_EKE_MAX_KE_LEN); in eap_eke_session_clean()
766 os_memset(sess->ki, 0, EAP_EKE_MAX_KI_LEN); in eap_eke_session_clean()
767 os_memset(sess->ka, 0, EAP_EKE_MAX_KA_LEN); in eap_eke_session_clean()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c48 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()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.c75 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()
282 os_memset(wpabuf_put(ret, len - blen), 0, len - blen); in wpabuf_zeropad()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ap.c46 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar()
66 os_memset(s->authorized_macs, 0xff, ETH_ALEN); in upnp_er_set_selected_registrar()

123456789