Home
last modified time | relevance | path

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

123456789

/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.c293 hdr = os_zalloc(len); in hostap_send_eapol()
407 buf = os_zalloc(blen); in wpa_driver_hostap_set_key()
463 buf = os_zalloc(blen); in hostap_get_seqnum()
713 param = os_zalloc(blen); in hostapd_ioctl_set_generic_elem()
909 range = os_zalloc(buflen); in hostap_get_we_version()
946 cfg = os_zalloc(sizeof(*cfg)); in hostap_wireless_event_init()
966 drv = os_zalloc(sizeof(struct hostap_driver_data)); in hostap_init()
1100 mode = os_zalloc(sizeof(struct hostapd_hw_modes)); in hostap_get_hw_feature_data()
1114 mode->channels = os_zalloc(clen); in hostap_get_hw_feature_data()
1115 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
Ddriver_ndis.c460 o = os_zalloc(buflen); in ndis_get_oid()
498 buf = os_zalloc(sizeof(*o) + len); in ndis_get_oid()
539 o = os_zalloc(buflen); in ndis_set_oid()
565 buf = os_zalloc(sizeof(*o) + len); in ndis_set_oid()
837 b = os_zalloc(blen); in wpa_driver_ndis_get_scan_results()
848 results = os_zalloc(sizeof(*results)); in wpa_driver_ndis_get_scan_results()
884 r = os_zalloc(sizeof(*r) + bss->IELength - in wpa_driver_ndis_get_scan_results()
954 wep = os_zalloc(len); in wpa_driver_ndis_add_wep()
1013 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/wpa_supplicant/
Dwnm_sta.c69 wnmsleep_ie = os_zalloc(sizeof(struct wnm_sleep_element)); in ieee802_11_send_wnmsleep_req()
90 wnmtfs_ie = os_zalloc(MAX_TFS_IE_LEN); in ieee802_11_send_wnmsleep_req()
105 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len); in ieee802_11_send_wnmsleep_req()
338 rep->tsf_info = os_zalloc(sizeof(struct tsf_info)); in wnm_parse_neighbor_report_elem()
352 os_zalloc(sizeof(struct condensed_country_string)); in wnm_parse_neighbor_report_elem()
365 os_zalloc(sizeof(struct bss_transition_candidate)); in wnm_parse_neighbor_report_elem()
378 os_zalloc(sizeof(struct bss_termination_duration)); in wnm_parse_neighbor_report_elem()
390 rep->bearing = os_zalloc(sizeof(struct bearing)); in wnm_parse_neighbor_report_elem()
402 rep->meas_pilot = os_zalloc(sizeof(struct measurement_pilot)); in wnm_parse_neighbor_report_elem()
417 os_zalloc(sizeof(struct rrm_enabled_capabilities)); in wnm_parse_neighbor_report_elem()
[all …]
Dwpas_kay.c198 kay_ctx = os_zalloc(sizeof(*kay_ctx)); in ieee802_1x_alloc_kay_sm()
321 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor()
322 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor()
323 ckn = os_zalloc(sizeof(*ckn)); in ieee802_1x_notify_create_actor()
324 cak = os_zalloc(sizeof(*cak)); in ieee802_1x_notify_create_actor()
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()
Dautoscan_exponential.c50 data = os_zalloc(sizeof(struct autoscan_exponential_data)); in autoscan_exponential_init()
Dnfc_pw_token.c49 wpa_s.conf = os_zalloc(sizeof(*wpa_s.conf)); in main()
/external/wpa_supplicant_8/src/ap/
Dieee802_11_auth.c87 *copy_to = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short)); in copy_psk_list()
303 query = os_zalloc(sizeof(*query)); in hostapd_allowed_address()
447 strpassphrase = os_zalloc(passphraselen + 1); in decode_tunnel_passwords()
448 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short)); in decode_tunnel_passwords()
514 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
549 cache->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
556 cache->radius_cui = os_zalloc(len + 1); in hostapd_acl_recv_radius()
Dpmksa_cache_auth.c249 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_auth_add()
293 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add_okc()
423 pmksa = os_zalloc(sizeof(*pmksa)); in pmksa_cache_auth_init()
/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()
Dext_password_test.c24 data = os_zalloc(sizeof(*data)); in ext_password_test_init()
Dbitfield.c25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc()
/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/eap_server/
Deap_server_tls.c58 data = os_zalloc(sizeof(*data)); in eap_tls_init()
80 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
102 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_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/wps/
Dwps_upnp.c389 a = os_zalloc(sizeof(*a) + alloc_len); in subscr_addr_add_url()
709 s = os_zalloc(sizeof(*s)); in subscription_start()
797 raw = os_zalloc(raw_len); in upnp_wps_device_send_wlan_event()
892 *ip_addr_text = os_zalloc(16); in get_netif_info()
1125 iface = os_zalloc(sizeof(*iface)); in upnp_wps_device_init()
1143 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/eap_peer/
Deap_methods.c136 array = os_zalloc(sizeof(char *) * (array_len + 1)); in eap_get_names_as_string_array()
283 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc()
Deap_tls.c43 data = os_zalloc(sizeof(*data)); in eap_tls_init()
80 data = os_zalloc(sizeof(*data)); in eap_unauth_tls_init()
107 data = os_zalloc(sizeof(*data)); in eap_wfa_unauth_tls_init()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c2038 obj_desc->prop_changed_flags = os_zalloc(n); in wpas_dbus_register()
2146 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_ctrl_iface_init()
2261 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_network()
2269 arg = os_zalloc(sizeof(struct network_handler_args)); in wpas_dbus_register_network()
2472 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_bss()
2479 arg = os_zalloc(sizeof(struct bss_handler_args)); in wpas_dbus_register_bss()
3241 wpa_s->dbus_new_path = os_zalloc(WPAS_DBUS_OBJECT_PATH_MAX); in wpas_dbus_register_interface()
3249 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_interface()
3485 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_peer()
3493 arg = os_zalloc(sizeof(struct peer_handler_args)); in wpas_dbus_register_peer()
[all …]
Ddbus_old_handlers.c951 value = os_zalloc(size); in wpas_dbus_iface_set_network()
966 value = os_zalloc(size); in wpas_dbus_iface_set_network()
979 value = os_zalloc(size); in wpas_dbus_iface_set_network()
987 value = os_zalloc(size); in wpas_dbus_iface_set_network()
1361 blob = os_zalloc(sizeof(*blob)); in wpas_dbus_iface_set_blobs()
1368 blob->data = os_zalloc(entry.array_len); in wpas_dbus_iface_set_blobs()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_cryptoapi.c256 akey = os_zalloc(sizeof(*akey)); in aes_encrypt_init()
393 ctx = os_zalloc(sizeof(*ctx)); in crypto_hash_init()
552 ctx = os_zalloc(sizeof(*ctx)); in crypto_cipher_init()
664 pk = os_zalloc(sizeof(*pk)); in crypto_public_key_from_cert()
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()

123456789