Home
last modified time | relevance | path

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

12345678910>>...12

/hostap-3.6.0/src/ap/
Dtaxonomy.c107 os_memset(htcap, 0, sizeof(htcap)); in ie_to_string()
108 os_memset(htagg, 0, sizeof(htagg)); in ie_to_string()
109 os_memset(htmcs, 0, sizeof(htmcs)); in ie_to_string()
110 os_memset(vhtcap, 0, sizeof(vhtcap)); in ie_to_string()
111 os_memset(vhtrxmcs, 0, sizeof(vhtrxmcs)); in ie_to_string()
112 os_memset(vhttxmcs, 0, sizeof(vhttxmcs)); in ie_to_string()
113 os_memset(extcap, 0, sizeof(extcap)); in ie_to_string()
114 os_memset(txpow, 0, sizeof(txpow)); in ie_to_string()
115 os_memset(wps, 0, sizeof(wps)); in ie_to_string()
142 os_memset(model_name, 0, sizeof(model_name)); in ie_to_string()
Dvlan_ioctl.c37 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()
/hostap-3.6.0/eap_example/
Deap_example_server.c33 os_memset(user, 0, sizeof(*user)); in server_get_eap_user()
73 os_memset(&tconf, 0, sizeof(tconf)); in eap_example_server_init_tls()
78 os_memset(&tparams, 0, sizeof(tparams)); in eap_example_server_init_tls()
215 os_memset(&eap_ctx, 0, sizeof(eap_ctx)); in eap_example_server_init()
220 os_memset(&eap_cb, 0, sizeof(eap_cb)); in eap_example_server_init()
224 os_memset(&eap_conf, 0, sizeof(eap_conf)); in eap_example_server_init()
228 os_memset(&eap_sess, 0, sizeof(eap_sess)); in eap_example_server_init()
/hostap-3.6.0/src/drivers/
Dlinux_ioctl.c27 os_memset(&ifr, 0, sizeof(ifr)); in linux_set_iface_flags()
67 os_memset(&ifr, 0, sizeof(ifr)); in linux_iface_up()
85 os_memset(&ifr, 0, sizeof(ifr)); in linux_get_ifhwaddr()
108 os_memset(&ifr, 0, sizeof(ifr)); in linux_set_ifhwaddr()
159 os_memset(&ifr, 0, sizeof(ifr)); in linux_br_add_if()
184 os_memset(&ifr, 0, sizeof(ifr)); in linux_br_del_if()
Ddriver_wext.c48 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()
312 os_memset(&data, 0, sizeof(data)); in wpa_driver_wext_event_wireless_michaelmicfailure()
[all …]
Ddriver_wired.c102 os_memset(&event, 0, sizeof(event)); in handle_data()
161 os_memset(&event, 0, sizeof(event)); in handle_dhcp()
189 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
197 os_memset(&addr, 0, sizeof(addr)); in wired_init_sockets()
217 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
245 os_memset(&addr2, 0, sizeof(addr2)); in wired_init_sockets()
263 os_memset(&ifr, 0, sizeof(ifr)); in wired_init_sockets()
Ddriver_wired_common.c44 os_memset(&ifr, 0, sizeof(ifr)); in driver_wired_get_ifflags()
69 os_memset(&ifr, 0, sizeof(ifr)); in driver_wired_set_ifflags()
98 os_memset(&ifr, 0, sizeof(ifr)); in driver_wired_multi()
148 os_memset(&mreq, 0, sizeof(mreq)); in wired_multicast_membership()
184 os_memset(capa, 0, sizeof(*capa)); in driver_wired_get_capa()
202 os_memset(&ifmr, 0, sizeof(ifmr)); in driver_wired_get_ifstatus()
Ddriver_atheros.c187 os_memset(&iwr, 0, sizeof(iwr)); in get80211param()
211 os_memset(&iwr, 0, sizeof(iwr)); in set80211priv()
244 os_memset(&iwr, 0, sizeof(iwr)); in set80211param()
475 os_memset(&wk, 0, sizeof(wk)); in atheros_del_key()
560 os_memset(&wk, 0, sizeof(wk)); in atheros_set_key()
564 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_set_key()
597 os_memset(&wk, 0, sizeof(wk)); in atheros_get_seqnum()
599 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_get_seqnum()
638 os_memset(allsta, 0xff, IEEE80211_ADDR_LEN); in atheros_flush()
651 os_memset(data, 0, sizeof(*data)); in atheros_read_sta_driver_data()
[all …]
Ddriver_nl80211_event.c216 os_memset(drv->auth_attempt_bssid, 0, ETH_ALEN); in mlme_event_auth()
217 os_memset(&event, 0, sizeof(event)); in mlme_event_auth()
282 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc()
300 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc()
463 os_memset(&event, 0, sizeof(event)); in mlme_event_connect()
649 os_memset(&data, 0, sizeof(data)); in mlme_event_disconnect()
745 os_memset(&data, 0, sizeof(data)); in mlme_event_ch_switch()
784 os_memset(&event, 0, sizeof(event)); in mlme_timeout_event()
814 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt()
885 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt_tx_status()
[all …]
Ddriver_macsec_qca.c104 os_memset(&rx_ctl_filt, 0, sizeof(rx_ctl_filt)); in __macsec_drv_init()
113 os_memset(&tx_ctl_filt, 0, sizeof(tx_ctl_filt)); in __macsec_drv_init()
157 os_memset(&event, 0, sizeof(event)); in macsec_qca_handle_data()
210 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_init_sockets()
218 os_memset(&addr, 0, sizeof(addr)); in macsec_qca_init_sockets()
238 os_memset(&ifr, 0, sizeof(ifr)); in macsec_qca_init_sockets()
696 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_create_receive_sc()
746 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_delete_receive_sc()
772 os_memset(&rx_sak, 0, sizeof(rx_sak)); in macsec_qca_create_receive_sa()
887 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_create_transmit_sc()
[all …]
Ddriver_privsep.c55 os_memset(&msg, 0, sizeof(msg)); in wpa_priv_cmd()
109 os_memset(&scan, 0, sizeof(scan)); in wpa_driver_privsep_scan()
225 os_memset(&cmd, 0, sizeof(cmd)); in wpa_driver_privsep_set_key()
230 os_memset(cmd.addr, 0xff, ETH_ALEN); in wpa_driver_privsep_set_key()
392 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_auth()
422 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_assoc()
456 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_interface_status()
472 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_michael_mic_failure()
486 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_pmkid_candidate()
500 os_memset(&data, 0, sizeof(data)); in wpa_driver_privsep_event_ft_response()
[all …]
/hostap-3.6.0/src/crypto/
Dmd5.c61 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()
Dcrypto_linux.c41 os_memset(&sa, 0, sizeof(sa)); in linux_af_alg_socket()
460 os_memset(&msg, 0, sizeof(msg)); in linux_af_alg_skcipher_oper()
461 os_memset(buf, 0, sizeof(buf)); in linux_af_alg_skcipher_oper()
562 os_memset(&msg, 0, sizeof(msg)); in rc4_skip()
563 os_memset(buf, 0, sizeof(buf)); in rc4_skip()
635 os_memset(&msg, 0, sizeof(msg)); in des_encrypt()
636 os_memset(buf, 0, sizeof(buf)); in des_encrypt()
694 os_memset(&msg, 0, sizeof(msg)); in aes_128_cbc_oper()
695 os_memset(buf, 0, sizeof(buf)); in aes_128_cbc_oper()
803 os_memset(&msg, 0, sizeof(msg)); in aes_unwrap()
[all …]
Dcrypto_internal.c88 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()
Dcrypto_nettle.c46 os_memset(&ctx, 0, sizeof(ctx)); in des_encrypt()
121 os_memset(&ctx, 0, sizeof(ctx)); in hmac_md5_vector()
146 os_memset(&ctx, 0, sizeof(ctx)); in hmac_sha1_vector()
173 os_memset(&ctx, 0, sizeof(ctx)); in hmac_sha256_vector()
202 os_memset(&ctx, 0, sizeof(ctx)); in hmac_sha384_vector()
231 os_memset(&ctx, 0, sizeof(ctx)); in hmac_sha512_vector()
326 os_memset(pubkey, 0, pad); in crypto_dh_init()
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()
/hostap-3.6.0/tests/fuzzing/p2p/
Dp2p.c78 os_memset(&p2p, 0, sizeof(p2p)); in init_p2p()
115 os_memset(&rx_time, 0, sizeof(rx_time)); in test_send()
130 os_memset(&rx_time, 0, sizeof(rx_time)); in test_send()
162 os_memset(&ctx, 0, sizeof(ctx)); in LLVMFuzzerTestOneInput()
/hostap-3.6.0/src/l2_packet/
Dl2_packet_linux.c131 os_memset(&ll, 0, sizeof(ll)); in l2_packet_send()
156 os_memset(&ll, 0, sizeof(ll)); in l2_packet_receive()
231 os_memset(&ll, 0, sizeof(ll)); in l2_packet_receive_br()
300 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_init()
311 os_memset(&ll, 0, sizeof(ll)); in l2_packet_init()
394 os_memset(&ll, 0, sizeof(ll)); in l2_packet_init_bridge()
459 os_memset(&ifr, 0, sizeof(ifr)); in l2_packet_get_ip_addr()
/hostap-3.6.0/src/eap_common/
Deap_pwd_common.c25 os_memset(allzero, 0, SHA256_MAC_LEN); in eap_pwd_h_init()
148 os_memset(x_bin, 0, sizeof(x_bin)); in compute_password_element()
171 os_memset(prfbuf, 0, primebytelen); in compute_password_element()
320 os_memset(qr_bin, 0, sizeof(qr_bin)); in compute_password_element()
321 os_memset(qnr_bin, 0, sizeof(qnr_bin)); in compute_password_element()
322 os_memset(qr_or_qnr_bin, 0, sizeof(qr_or_qnr_bin)); in compute_password_element()
323 os_memset(pwe_digest, 0, sizeof(pwe_digest)); in compute_password_element()
Deap_teap_common.c131 os_memset(imsk, 0, 32); in eap_teap_derive_cmk_basic_pw_auth()
209 os_memset(imsk, 0, 32); /* zero pad, if needed */ in eap_teap_derive_imck()
215 os_memset(imsk, 0, 32); in eap_teap_derive_imck()
324 os_memset(tmp, 0, sizeof(tmp)); in eap_teap_tls_mac()
325 os_memset(mac, 0, mac_len); in eap_teap_tls_mac()
383 os_memset(tmp_cb->emsk_compound_mac, 0, EAP_TEAP_COMPOUND_MAC_LEN); in eap_teap_compound_mac()
384 os_memset(tmp_cb->msk_compound_mac, 0, EAP_TEAP_COMPOUND_MAC_LEN); in eap_teap_compound_mac()
/hostap-3.6.0/tests/fuzzing/eapol-key-auth/
Deapol-key-auth.c201 os_memset(&conf, 0, sizeof(conf)); in auth_init_group()
297 os_memset(&wpa, 0, sizeof(wpa)); in LLVMFuzzerTestOneInput()
301 os_memset(wpa.auth_addr, 0x12, ETH_ALEN); in LLVMFuzzerTestOneInput()
302 os_memset(wpa.supp_addr, 0x32, ETH_ALEN); in LLVMFuzzerTestOneInput()
303 os_memset(wpa.psk, 0x44, PMK_LEN); in LLVMFuzzerTestOneInput()
/hostap-3.6.0/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()
211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free()
289 os_memset(wpabuf_put(ret, len - blen), 0, len - blen); in wpabuf_zeropad()
/hostap-3.6.0/tests/fuzzing/eapol-key-supp/
Deapol-key-supp.c142 os_memset(hdr + 1, 0, data_len); in supp_alloc_eapol()
303 os_memset(&wpa, 0, sizeof(wpa)); in LLVMFuzzerTestOneInput()
307 os_memset(wpa.auth_addr, 0x12, ETH_ALEN); in LLVMFuzzerTestOneInput()
308 os_memset(wpa.supp_addr, 0x32, ETH_ALEN); in LLVMFuzzerTestOneInput()
309 os_memset(wpa.psk, 0x44, PMK_LEN); in LLVMFuzzerTestOneInput()
/hostap-3.6.0/tests/fuzzing/tls-client/
Dtls-client.c67 os_memset(&ctx, 0, sizeof(ctx)); in LLVMFuzzerTestOneInput()
71 os_memset(&conf, 0, sizeof(conf)); in LLVMFuzzerTestOneInput()
76 os_memset(&params, 0, sizeof(params)); in LLVMFuzzerTestOneInput()
/hostap-3.6.0/tests/fuzzing/tls-server/
Dtls-server.c67 os_memset(&ctx, 0, sizeof(ctx)); in LLVMFuzzerTestOneInput()
71 os_memset(&conf, 0, sizeof(conf)); in LLVMFuzzerTestOneInput()
76 os_memset(&params, 0, sizeof(params)); in LLVMFuzzerTestOneInput()

12345678910>>...12