Searched refs:os_malloc (Results 26 - 50 of 173) sorted by relevance

1234567

/freebsd-11-stable/contrib/wpa/src/l2_packet/
H A Dl2_packet_freebsd.c60 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len);
198 if ((buf = os_malloc(len)) == NULL)
H A Dl2_packet_privsep.c153 l2->own_socket_path = os_malloc(len);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpas_glue.c68 hdr = os_malloc(*msg_len);
103 char *hex = os_malloc(hex_len);
636 data = os_malloc(data_len);
883 buf = os_malloc(buflen);
1063 str = os_malloc(len * 2 + 1);
1174 hex = os_malloc(hexlen);
H A Dconfig.c142 buf = os_malloc(len + 3);
248 value = os_malloc(20);
331 value = os_malloc(2 * 20 * num);
386 value = os_malloc(20);
431 value = os_malloc(20);
573 char *buf = os_malloc(len);
1658 hash = os_malloc(16);
1711 buf = os_malloc(5 + 32 + 1);
1869 value = os_malloc(20);
2102 char *value = os_malloc(2
[all...]
H A Dctrl_iface_udp.c202 reply = os_malloc(7 + 2 * COOKIE_LEN + 1);
525 sbuf = os_malloc(llen + len);
583 reply = os_malloc(7 + 2 * COOKIE_LEN + 1);
H A Dmesh.c148 bss->conf->sae_groups = os_malloc(groups_size);
562 mesh_id = os_malloc(elems.mesh_id_len + 1);
592 bss_basic_rate_set = os_malloc(elems.supp_rates_len +
H A Dp2p_supplicant_sd.c117 tmp = os_malloc(DNS_HEADER_LEN + P2P_SD_IN_MEMORY_LEN + msg_len);
429 str = os_malloc(query_len);
705 buf = os_malloc(buf_len);
910 buf = os_malloc(buf_len);
H A Dpreauth_test.c51 hdr = os_malloc(*msg_len);
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_server.c440 buf = os_malloc(buflen);
757 sess->username = os_malloc(user_len * 4 + 1);
849 id_str = os_malloc(id_len + 1);
918 id_str = os_malloc(id_len);
926 id_str = os_malloc(id_len + 1);
1161 buf = os_malloc(1 + url_len);
1204 buf = os_malloc(1 + url_len + 1);
1253 url2 = os_malloc(url_len + 1);
1839 buf = os_malloc(RADIUS_MAX_MSG_LEN);
1971 buf = os_malloc(RADIUS_MAX_MSG_LE
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_pwd.c118 if ((data->id_peer = os_malloc(identity_len)) == NULL) {
127 if ((data->password = os_malloc(password_len)) == NULL) {
316 data->id_server = os_malloc(payload_len - sizeof(struct eap_pwd_id));
726 cruft = os_malloc(prime_len * 2);
1125 if ((key = os_malloc(EAP_EMSK_LEN)) == NULL)
H A Deap_pax.c479 key = os_malloc(EAP_MSK_LEN);
504 key = os_malloc(EAP_EMSK_LEN);
529 sid = os_malloc(1 + EAP_PAX_MID_LEN);
H A Deap_teap_pac.c243 buf = os_malloc(*len);
260 rc->buf = os_malloc(rc->buf_len);
634 pos = buf = os_malloc(buf_len);
893 buf = os_malloc(len);
H A Deap_fast_pac.c242 buf = os_malloc(*len);
259 rc->buf = os_malloc(rc->buf_len);
630 pos = buf = os_malloc(buf_len);
889 buf = os_malloc(len);
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_server_write.c408 conn->dh_secret = os_malloc(conn->dh_secret_len);
442 dh_ys = os_malloc(dh_ys_len);
956 msg = os_malloc(msglen);
1016 msg = os_malloc(1000);
1065 alert = os_malloc(10);
H A Dtlsv1_client.c177 in_msg = os_malloc(in_len);
542 seed = os_malloc(seed_len);
719 pos = conn->client_hello_ext = os_malloc(4 + data_len);
H A Dpkcs1.c208 decrypted = os_malloc(s_len);
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_pax.c531 key = os_malloc(EAP_MSK_LEN);
552 key = os_malloc(EAP_EMSK_LEN);
581 sid = os_malloc(1 + EAP_PAX_MID_LEN);
H A Deap_server_ikev2.c491 key = os_malloc(EAP_MSK_LEN);
509 key = os_malloc(EAP_EMSK_LEN);
530 sid = os_malloc(sid_len);
H A Deap_server_psk.c114 buf = os_malloc(buflen);
297 buf = os_malloc(buflen);
493 id = os_malloc(*len);
H A Deap_server_fast.c157 buf = os_malloc(pac_opaque_len - 8);
238 data->identity = os_malloc(identity_len);
703 pac_buf = os_malloc(pac_len);
733 pac_opaque = os_malloc(pac_len + 8);
1563 eapKeyData = os_malloc(EAP_FAST_KEY_LEN);
1585 eapKeyData = os_malloc(EAP_EMSK_LEN);
H A Deap_server_teap.c166 buf = os_malloc(pac_opaque_len - 8);
247 data->identity = os_malloc(identity_len);
392 data->srv_id = os_malloc(sm->eap_fast_a_id_len);
672 pac_buf = os_malloc(pac_len);
706 pac_opaque = os_malloc(pac_len + 8);
1850 eapKeyData = os_malloc(EAP_TEAP_KEY_LEN);
1874 eapKeyData = os_malloc(EAP_EMSK_LEN);
1908 id = os_malloc(max_id_len);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dpmksa_cache_auth.c150 entry->identity = os_malloc(eapol->identity_len);
189 eapol->identity = os_malloc(entry->identity_len);
411 entry->identity = os_malloc(old_entry->identity_len);
H A Dpreauth_auth.c250 ethhdr = os_malloc(sizeof(*ethhdr) + len);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Djson.c75 str = os_malloc(buf_len);
178 str = os_malloc(len + 1);
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c160 if ((prfbuf = os_malloc(primebytelen)) == NULL) {
318 cruft = os_malloc(prime_len);

Completed in 406 milliseconds

1234567