Home
last modified time | relevance | path

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

123456789

/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c205 kay_ctx = os_zalloc(sizeof(*kay_ctx)); in ieee802_1x_alloc_kay_sm()
331 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor()
332 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor()
333 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_notify_create_actor()
334 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()
Dctrl_iface_named_pipe.c138 dst = os_zalloc(sizeof(*dst)); in ctrl_open_pipe()
442 priv = os_zalloc(sizeof(*priv)); in wpa_supplicant_ctrl_iface_init()
580 dst = os_zalloc(sizeof(*dst)); in global_open_pipe()
810 priv = os_zalloc(sizeof(*priv)); in wpa_supplicant_global_ctrl_iface_init()
Dnfc_pw_token.c49 wpa_s.conf = os_zalloc(sizeof(*wpa_s.conf)); in main()
/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.c288 hdr = os_zalloc(len); in hostap_send_eapol()
404 buf = os_zalloc(blen); in wpa_driver_hostap_set_key()
460 buf = os_zalloc(blen); in hostap_get_seqnum()
711 param = os_zalloc(blen); in hostapd_ioctl_set_generic_elem()
907 range = os_zalloc(buflen); in hostap_get_we_version()
945 cfg = os_zalloc(sizeof(*cfg)); in hostap_wireless_event_init()
965 drv = os_zalloc(sizeof(struct hostap_driver_data)); in hostap_init()
1102 mode = os_zalloc(sizeof(struct hostapd_hw_modes)); in hostap_get_hw_feature_data()
1116 mode->channels = os_zalloc(clen); in hostap_get_hw_feature_data()
1117 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()
1204 p = os_zalloc(len); in wpa_driver_ndis_set_pmkid()
[all …]
/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()
/external/wpa_supplicant_8/src/ap/
Dieee802_11_auth.c316 query = os_zalloc(sizeof(*query)); in hostapd_allowed_address()
466 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short)); in decode_tunnel_passwords()
542 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
582 cache->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
589 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()
401 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add_okc()
426 entry->vlan_desc = os_zalloc(sizeof(struct vlan_description)); in pmksa_cache_add_okc()
541 pmksa = os_zalloc(sizeof(*pmksa)); in pmksa_cache_auth_init()
Dvlan_init.c141 vlan = os_zalloc(sizeof(*vlan)); in vlan_init()
192 n = os_zalloc(sizeof(*n)); in vlan_add_dynamic()
Dwnm_ap.c81 wnmtfs_ie = os_zalloc(MAX_TFS_IE_LEN); in ieee802_11_send_wnmsleep_resp()
93 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + in ieee802_11_send_wnmsleep_resp()
260 mgmt = os_zalloc(sizeof(*mgmt)); in ieee802_11_send_bss_trans_mgmt_request()
557 buf = os_zalloc(1000 + nei_rep_len + mbo_len); in wnm_send_bss_tm_req()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c54 buf = os_zalloc(buf_len); in aes_kdf_128()
107 context = os_zalloc(ctx_len); in ieee802_1x_ckn_128bits_aes_cmac()
/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/wpa_supplicant/dbus/
Ddbus_new.c2162 obj_desc->prop_changed_flags = os_zalloc(n); in wpas_dbus_register()
2274 s = str = os_zalloc(os_strlen(uscore) + 1); in uscore_to_dbus()
2326 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_ctrl_iface_init()
2448 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_network()
2456 arg = os_zalloc(sizeof(struct network_handler_args)); in wpas_dbus_register_network()
2675 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_bss()
2682 arg = os_zalloc(sizeof(struct bss_handler_args)); in wpas_dbus_register_bss()
3629 priv->all_interface_properties = os_zalloc(all_size); in wpa_dbus_ctrl_iface_props_init()
3696 wpa_s->dbus_new_path = os_zalloc(WPAS_DBUS_OBJECT_PATH_MAX); in wpas_dbus_register_interface()
3704 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_interface()
[all …]
Ddbus_old_handlers.c865 value = os_zalloc(size); in wpas_dbus_iface_set_network()
880 value = os_zalloc(size); in wpas_dbus_iface_set_network()
893 value = os_zalloc(size); in wpas_dbus_iface_set_network()
901 value = os_zalloc(size); in wpas_dbus_iface_set_network()
1277 blob = os_zalloc(sizeof(*blob)); in wpas_dbus_iface_set_blobs()
1284 blob->data = os_zalloc(entry.array_len); in wpas_dbus_iface_set_blobs()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c75 data = os_zalloc(sizeof(*data)); in eap_tls_init()
97 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
119 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_init()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c158 ctx = os_zalloc(sizeof(*ctx)); in crypto_hash_init()
325 ctx = os_zalloc(sizeof(*ctx)); in crypto_cipher_init()
421 pk = os_zalloc(sizeof(*pk)); in crypto_public_key_import()
453 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.c465 buf = os_zalloc(len); in wpa_tdls_ftie_mic()
532 buf = os_zalloc(len); in wpa_tdls_key_mic_teardown()
778 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
1034 peer = os_zalloc(sizeof(*peer)); in wpa_tdls_add_peer()
1138 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m1()
1250 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m2()
1342 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m3()
1476 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_discovery_response()
1596 os_zalloc(sizeof(struct ieee80211_ht_capabilities)); in copy_peer_ht_capab()
1622 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_peer_vht_capab()
[all …]

123456789