Home
last modified time | relevance | path

Searched refs:os_zalloc (Results 1 – 25 of 231) 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()
Dctrl_iface_named_pipe.c138 dst = os_zalloc(sizeof(*dst)); in ctrl_open_pipe()
441 priv = os_zalloc(sizeof(*priv)); in wpa_supplicant_ctrl_iface_init()
579 dst = os_zalloc(sizeof(*dst)); in global_open_pipe()
808 priv = os_zalloc(sizeof(*priv)); in wpa_supplicant_global_ctrl_iface_init()
/external/wpa_supplicant_8/src/drivers/
Ddriver_none.c26 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_hapd_init()
57 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_init()
Ddriver_hostap.c292 hdr = os_zalloc(len); in hostap_send_eapol()
411 buf = os_zalloc(blen); in wpa_driver_hostap_set_key()
467 buf = os_zalloc(blen); in hostap_get_seqnum()
718 param = os_zalloc(blen); in hostapd_ioctl_set_generic_elem()
912 range = os_zalloc(buflen); in hostap_get_we_version()
950 cfg = os_zalloc(sizeof(*cfg)); in hostap_wireless_event_init()
970 drv = os_zalloc(sizeof(struct hostap_driver_data)); in hostap_init()
1107 mode = os_zalloc(sizeof(struct hostapd_hw_modes)); in hostap_get_hw_feature_data()
1122 mode->channels = os_zalloc(clen); in hostap_get_hw_feature_data()
1123 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
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()
1204 p = os_zalloc(len); in wpa_driver_ndis_set_pmkid()
[all …]
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()
/external/wpa_supplicant_8/src/ap/
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.c327 query = os_zalloc(sizeof(*query)); in hostapd_allowed_address()
476 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short)); in decode_tunnel_passwords()
551 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
589 cache->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
596 cache->radius_cui = os_zalloc(len + 1); in hostapd_acl_recv_radius()
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()
540 pmksa = os_zalloc(sizeof(*pmksa)); in pmksa_cache_auth_init()
Dieee802_11_vht.c347 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_sta_vht_capab()
371 os_zalloc(sizeof(struct ieee80211_vht_operation)); in copy_sta_vht_oper()
405 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_sta_vendor_vht()
Dvlan_init.c143 vlan = os_zalloc(sizeof(*vlan)); in vlan_init()
203 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()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c392 a = os_zalloc(sizeof(*a) + alloc_len); in subscr_addr_add_url()
715 s = os_zalloc(sizeof(*s)); in subscription_start()
808 raw = os_zalloc(raw_len); in upnp_wps_device_send_wlan_event()
903 *ip_addr_text = os_zalloc(16); in get_netif_info()
1142 iface = os_zalloc(sizeof(*iface)); in upnp_wps_device_init()
1161 sm = os_zalloc(sizeof(*sm)); in upnp_wps_device_init()
Dhttp_server.c71 req = os_zalloc(sizeof(*req)); in http_request_init()
237 srv = os_zalloc(sizeof(*srv)); in http_server_init()
/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/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/wpa_supplicant/dbus/
Ddbus_new.c2430 obj_desc->prop_changed_flags = os_zalloc(n); in wpas_dbus_register()
2542 s = str = os_zalloc(os_strlen(uscore) + 1); in uscore_to_dbus()
2594 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_ctrl_iface_init()
2716 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_network()
2724 arg = os_zalloc(sizeof(struct network_handler_args)); in wpas_dbus_register_network()
2967 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_bss()
2974 arg = os_zalloc(sizeof(struct bss_handler_args)); in wpas_dbus_register_bss()
3119 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_sta()
3126 arg = os_zalloc(sizeof(struct sta_handler_args)); in wpas_dbus_register_sta()
4146 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()
Dtncs.c204 tncs->imv_data[imvID].imv_send = os_zalloc(b64len + 100); in TNC_TNCS_SendMessage()
747 tncs->tncs_message = os_zalloc(200); in tncs_derive_recommendation()
970 imv = os_zalloc(sizeof(*imv)); in tncs_parse_imv()
1070 tncs = os_zalloc(sizeof(*tncs)); in tncs_init()
1119 tncs_global_data = os_zalloc(sizeof(*tncs_global_data)); in tncs_global_init()
/external/wpa_supplicant_8/tests/
Dtest-json.c32 buf = os_zalloc(buflen); in main()
/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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls.c44 data = os_zalloc(sizeof(*data)); in eap_tls_init()
81 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
108 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_init()
/external/wpa_supplicant_8/src/rsn_supp/
Dtdls.c481 buf = os_zalloc(len); in wpa_tdls_ftie_mic()
548 buf = os_zalloc(len); in wpa_tdls_key_mic_teardown()
794 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
1050 peer = os_zalloc(sizeof(*peer)); in wpa_tdls_add_peer()
1154 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m1()
1267 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m2()
1359 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m3()
1493 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_discovery_response()
1613 os_zalloc(sizeof(struct ieee80211_ht_capabilities)); in copy_peer_ht_capab()
1639 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_peer_vht_capab()
[all …]
/external/wpa_supplicant_8/src/common/
Dgas_server.c99 response = os_zalloc(sizeof(*response)); in gas_server_send_resp()
426 gas = os_zalloc(sizeof(*gas)); in gas_server_init()
474 handler = os_zalloc(sizeof(*handler)); in gas_server_register()

12345678910