Home
last modified time | relevance | path

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

1234567891011

/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/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_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_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_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()
Dsha512-kdf.c71 os_memset(out, 0, outlen); in hmac_sha512_kdf()
79 os_memset(out, 0, outlen); in hmac_sha512_kdf()
Dsha384-kdf.c71 os_memset(out, 0, outlen); in hmac_sha384_kdf()
79 os_memset(out, 0, outlen); in hmac_sha384_kdf()
Dsha256-kdf.c71 os_memset(out, 0, outlen); in hmac_sha256_kdf()
79 os_memset(out, 0, outlen); in hmac_sha256_kdf()
Dsha512.c60 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha512_vector()
76 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha512_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()
Dsha384.c60 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha384_vector()
76 os_memset(k_pad, 0, sizeof(k_pad)); in hmac_sha384_vector()
/external/wpa_supplicant_8/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_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_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_nl80211_event.c184 os_memset(drv->auth_attempt_bssid, 0, ETH_ALEN); in mlme_event_auth()
185 os_memset(&event, 0, sizeof(event)); in mlme_event_auth()
250 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc()
268 os_memset(&event, 0, sizeof(event)); in mlme_event_assoc()
431 os_memset(&event, 0, sizeof(event)); in mlme_event_connect()
617 os_memset(&data, 0, sizeof(data)); in mlme_event_disconnect()
709 os_memset(&data, 0, sizeof(data)); in mlme_event_ch_switch()
748 os_memset(&event, 0, sizeof(event)); in mlme_timeout_event()
778 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt()
849 os_memset(&event, 0, sizeof(event)); in mlme_event_mgmt_tx_status()
[all …]
Ddriver_atheros.c188 os_memset(&iwr, 0, sizeof(iwr)); in get80211param()
212 os_memset(&iwr, 0, sizeof(iwr)); in set80211priv()
245 os_memset(&iwr, 0, sizeof(iwr)); in set80211param()
476 os_memset(&wk, 0, sizeof(wk)); in atheros_del_key()
561 os_memset(&wk, 0, sizeof(wk)); in atheros_set_key()
565 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_set_key()
598 os_memset(&wk, 0, sizeof(wk)); in atheros_get_seqnum()
600 os_memset(wk.ik_macaddr, 0xff, IEEE80211_ADDR_LEN); in atheros_get_seqnum()
639 os_memset(allsta, 0xff, IEEE80211_ADDR_LEN); in atheros_flush()
652 os_memset(data, 0, sizeof(*data)); in atheros_read_sta_driver_data()
[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()
674 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_create_receive_sc()
724 os_memset(&entry, 0, sizeof(entry)); in macsec_qca_delete_receive_sc()
750 os_memset(&rx_sak, 0, sizeof(rx_sak)); in macsec_qca_create_receive_sa()
865 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 …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c25 os_memset(allzero, 0, SHA256_MAC_LEN); in eap_pwd_h_init()
146 os_memset(x_bin, 0, sizeof(x_bin)); in compute_password_element()
174 os_memset(prfbuf, 0, primebytelen); in compute_password_element()
295 os_memset(qr_bin, 0, sizeof(qr_bin)); in compute_password_element()
296 os_memset(qnr_bin, 0, sizeof(qnr_bin)); in compute_password_element()
297 os_memset(qr_or_qnr_bin, 0, sizeof(qr_or_qnr_bin)); in compute_password_element()
298 os_memset(pwe_digest, 0, sizeof(pwe_digest)); in compute_password_element()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_proxy_qmi_oc.c249 os_memset(&event_reg_params, 0, sizeof(auth_indication_register_req_msg_v01)); in wpa_qmi_register_auth_inds()
250 os_memset(&event_resp_msg, 0, sizeof(auth_indication_register_resp_msg_v01)); in wpa_qmi_register_auth_inds()
286 os_memset(&event_reg_params, 0, sizeof(uim_event_reg_req_msg_v01)); in wpa_qmi_register_events()
287 os_memset(&event_resp_msg, 0, sizeof(uim_event_reg_resp_msg_v01)); in wpa_qmi_register_events()
337 os_memset(&card_status_resp_msg, in wpa_qmi_read_card_status()
486 os_memset(&read_trans_resp, 0, in wpa_qmi_read_card_imsi()
488 os_memset(&qmi_read_trans_req, 0, in wpa_qmi_read_card_imsi()
760 os_memset(&eap_os_params, 0, sizeof(qmi_client_os_params)); in eap_proxy_post_init()
796 os_memset(&eap_os_params, 0, sizeof(qmi_client_os_params)); in eap_proxy_post_init()
852 os_memset(&end_eap_session_resp_msg, in eap_auth_end_eap_session()
[all …]
/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()
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()

1234567891011