Searched refs:os_malloc (Results 76 - 100 of 173) sorted by relevance

1234567

/freebsd-11-stable/contrib/wpa/hostapd/
H A Dconfig_file.c257 user->password = os_malloc(len);
275 user->salt = os_malloc(user->salt_len);
532 user->password = os_malloc(16);
574 user->password = os_malloc((pos2 - pos) / 2);
836 wep->key[keyidx] = os_malloc(len);
885 list = os_malloc(sizeof(int) * (count + 2));
2318 pw->password = os_malloc(end - val + 1);
2570 bss->pac_opaque_encr_key = os_malloc(16);
2589 bss->eap_fast_a_id = os_malloc(idlen / 2);
3875 bss->network_auth_type = os_malloc(redirect_url_le
[all...]
H A Dctrl_iface.c910 url = os_malloc(len + 1);
1622 buf = os_malloc(len);
1676 buf = os_malloc(len);
1743 buf = os_malloc(len);
1790 buf = os_malloc(len);
2007 buf = os_malloc(len);
2413 data = os_malloc(data_len);
3415 reply = os_malloc(reply_size);
3485 buf = os_malloc(len);
4139 reply = os_malloc(reply_siz
[all...]
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_server_read.c364 conn->session_ticket = os_malloc(ext_len);
624 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ?
765 shared = os_malloc(shared_len);
H A Dtlsv1_server.c34 buf = os_malloc(buflen);
148 in_msg = os_malloc(in_len);
490 seed = os_malloc(seed_len);
H A Dtlsv1_common.c448 buf = os_malloc(end - pos);
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dcrypto_wolfssl.c315 aes = os_malloc(sizeof(Aes));
348 aes = os_malloc(sizeof(Aes));
789 dh = os_malloc(sizeof(DhKey));
838 dh = os_malloc(sizeof(DhKey));
1015 a = os_malloc(sizeof(*a));
H A Dtls_openssl.c192 decoded_alias = os_malloc(len / 2 + 1);
455 buf = os_malloc(len);
534 buf = os_malloc(len);
670 wstore = os_malloc((os_strlen(store) + 1) * sizeof(WCHAR));
1657 serial_num = os_malloc(len);
2258 pos = os_malloc(10 + gen->d.ia5->length + 1);
4089 tmp_out = os_malloc(skip + out_len);
4094 rnd = os_malloc(2 * SSL3_RANDOM_SIZE);
4312 buf = os_malloc(buflen);
4642 txt = os_malloc(rle
[all...]
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius.c920 * The returned payload is allocated with os_malloc() and caller must free it
1010 ppos = plain = os_malloc(plen);
1204 buf = os_malloc(hlen + send_key_len + 16);
1233 buf = os_malloc(hlen + recv_key_len + 16);
1269 buf = os_malloc(alen);
1650 ret = os_malloc(*keylen);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwps_hostapd.c303 char *buf = os_malloc(blen);
474 hapd->wps->network_key = os_malloc(cred->key_len);
486 tmp_fname = os_malloc(len);
1145 wps->network_key = os_malloc(2 * PMK_LEN + 1);
1152 wps->network_key = os_malloc(conf->ssid.wep.len[0]);
1188 multi_ap_netw_key = os_malloc(2 * PMK_LEN + 1);
H A Dwpa_auth_glue.c426 char *hex = os_malloc(hex_len);
594 char *hex = os_malloc(hex_len);
630 buf = os_malloc(sizeof(*buf) + data_len);
H A Ddpp_hostapd.c646 hex = os_malloc(hexlen);
661 hex = os_malloc(hexlen);
1551 hapd->dpp_pkex_identifier = os_malloc(end - pos + 1);
1645 buf = os_malloc(2 + len);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Ddpp_supplicant.c844 ssid->ssid = os_malloc(auth->ssid_len);
859 ssid->dpp_csign = os_malloc(wpabuf_len(auth->c_sign_key));
869 os_malloc(wpabuf_len(auth->net_access_key));
970 hex = os_malloc(hexlen);
985 hex = os_malloc(hexlen);
2153 wpa_s->dpp_pkex_identifier = os_malloc(end - pos + 1);
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_sim.c126 data->pseudonym = os_malloc(config->anonymous_identity_len);
423 data->pseudonym = os_malloc(attr->next_pseudonym_len +
1258 id = os_malloc(*len);
H A Deap_leap.c352 key = os_malloc(LEAP_KEY_LEN);
/freebsd-11-stable/contrib/wpa/src/common/
H A Dsae.c300 dummy_password = os_malloc(password_len);
301 tmp_password = os_malloc(password_len);
1090 sae->tmp->pw_id = os_malloc(pos[1]);
H A Ddpp.c908 bi->info = os_malloc(end - info + 1);
1186 txt = os_malloc(rlen + 1);
2200 bi->uri = os_malloc(len + 1);
3206 unwrapped = os_malloc(unwrapped_len);
3574 unwrapped = os_malloc(unwrapped_len);
3815 unwrapped = os_malloc(unwrapped_len);
3906 unwrapped2 = os_malloc(unwrapped2_len);
3995 unwrapped = os_malloc(unwrapped_len);
4154 unwrapped = os_malloc(unwrapped_len);
4378 conf->group_id = os_malloc(group_id_le
[all...]
/freebsd-11-stable/contrib/wpa/src/l2_packet/
H A Dl2_packet_ndis.c117 eth = os_malloc(mlen);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dxml_libxml2.c418 txt = os_malloc(len + 1);
H A Dhttp_curl.c107 txt = os_malloc(len + 1);
191 txt = os_malloc(rlen + 1);
513 n->uri = os_malloc(len + 1);
1080 txt = os_malloc(rlen + 1);
H A Dxml-utils.c219 new_uri = os_malloc(len);
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_tls.c413 emsk = os_malloc(EAP_EMSK_LEN);
H A Dtncs.c636 char *buf = os_malloc(1000);
647 char *buf = os_malloc(100);
H A Dikev2.c65 buf = os_malloc(buf_len);
1141 data->shared_secret = os_malloc(16);
H A Deap_server_sim.c460 new_identity = os_malloc(attr->identity_len);
853 id = os_malloc(*len);
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dwpa.c113 buf = os_malloc(buf_len);
495 rsn_ie_buf = os_malloc(wpa_ie_len + 2 + 2 + PMKID_LEN +
670 kde_buf = os_malloc(kde_len + 2 + RSN_SELECTOR_LEN + 3);
688 kde_buf = os_malloc(kde_len + 2 + RSN_SELECTOR_LEN + 1);
2026 buf = os_malloc(*key_data_len);
2144 tmp = os_malloc(*key_data_len);
4235 tmp = os_malloc(end - pos);

Completed in 257 milliseconds

1234567