Home
last modified time | relevance | path

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

123456789

/external/wpa_supplicant_8/wpa_supplicant/
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()
Dmesh_rsn.c203 mesh_rsn = os_zalloc(sizeof(*mesh_rsn)); in mesh_rsn_auth_init()
302 sta->sae = os_zalloc(sizeof(*sta->sae)); in mesh_rsn_auth_sae_sta()
468 ampe_ie = os_zalloc(2 + sizeof(*ampe)); in mesh_rsn_protect_frame()
474 mic_ie = os_zalloc(2 + AES_BLOCK_SIZE); in mesh_rsn_protect_frame()
571 crypt = os_zalloc(crypt_len); in mesh_rsn_process_ampe()
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()
/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_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()
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/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()
541 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
581 cache->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
588 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()
294 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_auth_add()
345 entry = os_zalloc(sizeof(*entry)); in pmksa_cache_add_okc()
370 entry->vlan_desc = os_zalloc(sizeof(struct vlan_description)); in pmksa_cache_add_okc()
485 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()
/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()
Dieee802_1x_kay.c421 psa = os_zalloc(sizeof(*psa)); in ieee802_1x_kay_init_receive_sa()
471 psc = os_zalloc(sizeof(*psc)); in ieee802_1x_kay_init_receive_sc()
523 peer = os_zalloc(sizeof(*peer)); in ieee802_1x_kay_create_live_peer()
565 peer = os_zalloc(sizeof(*peer)); in ieee802_1x_kay_create_potential_peer()
1483 pkey = os_zalloc(sizeof(*pkey)); in ieee802_1x_kay_init_data_key()
1489 pkey->key = os_zalloc(conf->key_len); in ieee802_1x_kay_init_data_key()
1614 unwrap_sak = os_zalloc(sak_len); in ieee802_1x_mka_decode_dist_sak_body()
1627 conf = os_zalloc(sizeof(*conf)); in ieee802_1x_mka_decode_dist_sak_body()
1635 conf->key = os_zalloc(conf->key_len); in ieee802_1x_mka_decode_dist_sak_body()
1979 conf = os_zalloc(sizeof(*conf)); in ieee802_1x_kay_generate_new_sak()
[all …]
/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.c2149 obj_desc->prop_changed_flags = os_zalloc(n); in wpas_dbus_register()
2261 s = str = os_zalloc(os_strlen(uscore) + 1); in uscore_to_dbus()
2313 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_ctrl_iface_init()
2435 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_network()
2443 arg = os_zalloc(sizeof(struct network_handler_args)); in wpas_dbus_register_network()
2662 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_bss()
2669 arg = os_zalloc(sizeof(struct bss_handler_args)); in wpas_dbus_register_bss()
3561 priv->all_interface_properties = os_zalloc(all_size); in wpa_dbus_ctrl_iface_props_init()
3628 wpa_s->dbus_new_path = os_zalloc(WPAS_DBUS_OBJECT_PATH_MAX); in wpas_dbus_register_interface()
3636 obj_desc = os_zalloc(sizeof(struct wpa_dbus_object_desc)); in wpas_dbus_register_interface()
[all …]
Ddbus_old_handlers.c875 value = os_zalloc(size); in wpas_dbus_iface_set_network()
890 value = os_zalloc(size); in wpas_dbus_iface_set_network()
903 value = os_zalloc(size); in wpas_dbus_iface_set_network()
911 value = os_zalloc(size); in wpas_dbus_iface_set_network()
1288 blob = os_zalloc(sizeof(*blob)); in wpas_dbus_iface_set_blobs()
1295 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()
1249 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m2()
1341 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m3()
1475 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_discovery_response()
1595 os_zalloc(sizeof(struct ieee80211_ht_capabilities)); in copy_peer_ht_capab()
1621 os_zalloc(sizeof(struct ieee80211_vht_capabilities)); in copy_peer_vht_capab()
[all …]

123456789