Home
last modified time | relevance | path

Searched refs:os_zalloc (Results 1 – 25 of 245) sorted by relevance

12345678910

/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c211 kay_ctx = os_zalloc(sizeof(*kay_ctx)); in ieee802_1x_alloc_kay_sm()
338 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor()
339 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor()
340 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_notify_create_actor()
341 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_notify_create_actor()
407 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_create_preshared_mka()
411 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_create_preshared_mka()
Dautoscan_periodic.c45 data = os_zalloc(sizeof(struct autoscan_periodic_data)); in autoscan_periodic_init()
Dmain_winmain.c38 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in WinMain()
Dnfc_pw_token.c49 wpa_s.conf = os_zalloc(sizeof(*wpa_s.conf)); in main()
Dautoscan_exponential.c50 data = os_zalloc(sizeof(struct autoscan_exponential_data)); in autoscan_exponential_init()
/external/wpa_supplicant_8/src/drivers/
Ddriver_none.c26 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_hapd_init()
50 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_init()
Ddriver_hostap.c293 hdr = os_zalloc(len); in hostap_send_eapol()
415 buf = os_zalloc(blen); in wpa_driver_hostap_set_key()
471 buf = os_zalloc(blen); in hostap_get_seqnum()
722 param = os_zalloc(blen); in hostapd_ioctl_set_generic_elem()
916 range = os_zalloc(buflen); in hostap_get_we_version()
954 cfg = os_zalloc(sizeof(*cfg)); in hostap_wireless_event_init()
974 drv = os_zalloc(sizeof(struct hostap_driver_data)); in hostap_init()
1111 mode = os_zalloc(sizeof(struct hostapd_hw_modes)); in hostap_get_hw_feature_data()
1126 mode->channels = os_zalloc(clen); in hostap_get_hw_feature_data()
1127 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
Ddriver_wired.c297 hdr = os_zalloc(len); in wired_send_eapol()
331 drv = os_zalloc(sizeof(struct wpa_driver_wired_data)); in wired_driver_hapd_init()
374 drv = os_zalloc(sizeof(*drv)); in wpa_driver_wired_init()
Ddriver_ndis.c461 o = os_zalloc(buflen); in ndis_get_oid()
499 buf = os_zalloc(sizeof(*o) + len); in ndis_get_oid()
540 o = os_zalloc(buflen); in ndis_set_oid()
566 buf = os_zalloc(sizeof(*o) + len); in ndis_set_oid()
825 b = os_zalloc(blen); in wpa_driver_ndis_get_scan_results()
836 results = os_zalloc(sizeof(*results)); in wpa_driver_ndis_get_scan_results()
872 r = os_zalloc(sizeof(*r) + bss->IELength - in wpa_driver_ndis_get_scan_results()
942 wep = os_zalloc(len); in wpa_driver_ndis_add_wep()
1001 nkey = os_zalloc(len); in wpa_driver_ndis_set_key()
1216 p = os_zalloc(len); in wpa_driver_ndis_set_pmkid()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_kay.c298 kay_ctx = os_zalloc(sizeof(*kay_ctx)); in ieee802_1x_alloc_kay_sm_hapd()
426 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor_hapd()
427 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor_hapd()
428 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_notify_create_actor_hapd()
429 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_notify_create_actor_hapd()
490 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_create_preshared_mka_hapd()
494 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_create_preshared_mka_hapd()
Deth_p_oui.c96 receiver = os_zalloc(sizeof(*receiver)); in eth_p_oui_register()
115 iface = os_zalloc(sizeof(*iface)); in eth_p_oui_register()
171 packet = os_zalloc(packet_len); in eth_p_oui_send()
Dieee802_11_auth.c262 query = os_zalloc(sizeof(*query)); in hostapd_allowed_address()
411 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short)); in decode_tunnel_passwords()
487 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
526 info->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
533 info->radius_cui = os_zalloc(len + 1); in hostapd_acl_recv_radius()
Dieee802_11_vht.c185 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_sta_vht_capab()
209 os_zalloc(sizeof(struct ieee80211_vht_operation)); in copy_sta_vht_oper()
243 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_sta_vendor_vht()
Dpmksa_cache_auth.c169 entry->vlan_desc = os_zalloc(sizeof(struct vlan_description)); in pmksa_cache_from_eapol_data()
329 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_auth_create_entry()
400 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add_okc()
425 entry->vlan_desc = os_zalloc(sizeof(struct vlan_description)); in pmksa_cache_add_okc()
545 pmksa = os_zalloc(sizeof(*pmksa)); in pmksa_cache_auth_init()
Dvlan_init.c146 vlan = os_zalloc(sizeof(*vlan)); in vlan_init()
206 n = os_zalloc(sizeof(*n)); in vlan_add_dynamic()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.c116 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + in wpabuf_alloc()
124 struct wpabuf *buf = os_zalloc(sizeof(struct wpabuf) + len); in wpabuf_alloc()
138 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + in wpabuf_alloc_ext_data()
146 struct wpabuf *buf = os_zalloc(sizeof(struct wpabuf)); in wpabuf_alloc_ext_data()
Dbitfield.c25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc()
Dext_password_test.c24 data = os_zalloc(sizeof(*data)); in ext_password_test_init()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c58 buf = os_zalloc(buf_len); in aes_kdf()
116 context = os_zalloc(ctx_len); in ieee802_1x_ckn_aes_cmac()
/external/wpa_supplicant_8/src/tls/
Drsa.c68 key = os_zalloc(sizeof(*key)); in crypto_rsa_import_public_key()
125 key = os_zalloc(sizeof(*key)); in crypto_rsa_import_public_key_parts()
156 key = os_zalloc(sizeof(*key)); in crypto_rsa_import_private_key()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c413 a = os_zalloc(sizeof(*a) + alloc_len); in subscr_addr_add_url()
737 s = os_zalloc(sizeof(*s)); in subscription_start()
830 raw = os_zalloc(raw_len); in upnp_wps_device_send_wlan_event()
926 *ip_addr_text = os_zalloc(16); in get_netif_info()
1182 iface = os_zalloc(sizeof(*iface)); in upnp_wps_device_init()
1201 sm = os_zalloc(sizeof(*sm)); in upnp_wps_device_init()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c2434 obj_desc->prop_changed_flags = os_zalloc(n); in wpas_dbus_register()
2546 s = str = os_zalloc(os_strlen(uscore) + 1); in uscore_to_dbus()
2598 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_ctrl_iface_init()
2720 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_network()
2728 arg = os_zalloc(sizeof(struct network_handler_args)); in wpas_dbus_register_network()
2947 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_bss()
2954 arg = os_zalloc(sizeof(struct bss_handler_args)); in wpas_dbus_register_bss()
3099 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_sta()
3106 arg = os_zalloc(sizeof(struct sta_handler_args)); in wpas_dbus_register_sta()
4164 priv->all_interface_properties = os_zalloc(all_size); in wpa_dbus_ctrl_iface_props_init()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c76 data = os_zalloc(sizeof(*data)); in eap_tls_init()
100 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
122 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_init()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls.c51 data = os_zalloc(sizeof(*data)); in eap_tls_init()
87 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
114 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_init()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c159 ctx = os_zalloc(sizeof(*ctx)); in crypto_hash_init()
329 ctx = os_zalloc(sizeof(*ctx)); in crypto_cipher_init()
425 pk = os_zalloc(sizeof(*pk)); in crypto_public_key_import()
457 pk = os_zalloc(sizeof(*pk)); in crypto_private_key_import()

12345678910