Searched refs:os_malloc (Results 1 - 25 of 166) sorted by relevance

1234567

/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dos_internal.c157 buf = os_malloc(len);
175 ret = os_malloc(ret_len);
228 buf = os_malloc(*len);
254 void *n = os_malloc(size);
261 void * os_malloc(size_t size) function
339 res = os_malloc(len + 1);
H A Dbase64.c42 out = os_malloc(olen);
121 pos = out = os_malloc(olen);
H A Dwpa_debug.c289 strbuf = os_malloc(1 + 3 * slen);
324 strbuf = os_malloc(1 + 3 * len);
617 buf = os_malloc(buflen);
657 buf = os_malloc(buflen);
682 buf = os_malloc(buflen);
712 buf = os_malloc(buflen);
737 buf = os_malloc(buflen);
764 buf = os_malloc(buflen);
803 buf = os_malloc(buflen);
H A Dos_unix.c315 buf = os_malloc(len);
336 ret = os_malloc(ret_len);
444 buf = os_malloc(*len);
558 if (i < res && os_strcmp(func[i], "os_malloc") == 0)
704 void * os_malloc(size_t size) function
729 return os_malloc(size);
739 n = os_malloc(size);
775 void *ptr = os_malloc(size);
787 d = os_malloc(len + 1);
H A Dos.h304 * os_malloc - Allocate dynamic memory
310 void * os_malloc(size_t size);
314 * @ptr: Old buffer from os_malloc() or os_realloc()
326 * @ptr: Old buffer from os_malloc() or os_realloc(); can be %NULL
479 void * os_malloc(size_t size);
484 #ifndef os_malloc
485 #define os_malloc(s) malloc((s)) macro
H A Dos_none.c118 void * os_malloc(size_t size) function
H A Dedit_readline.c132 char *ps2 = os_malloc(blen);
H A Dcommon.c454 buf = os_malloc((strlen(str) + 1) * sizeof(TCHAR));
658 str = os_malloc(tlen + 1);
674 str = os_malloc(tlen + 1);
738 res = os_malloc(len + 1);
817 buf = os_malloc(maxlen);
/freebsd-11.0-release/contrib/wpa/src/crypto/
H A Daes-eax.c46 buf = os_malloc(buf_len);
110 buf = os_malloc(buf_len);
/freebsd-11.0-release/contrib/wpa/src/eap_common/
H A Dikev2_common.c404 sign_data = os_malloc(sign_len);
496 decrypted = os_malloc(decrypted_len);
651 keybuf = os_malloc(keybuf_len);
663 keys->SK_d = os_malloc(keys->SK_d_len);
671 keys->SK_ai = os_malloc(keys->SK_integ_len);
679 keys->SK_ar = os_malloc(keys->SK_integ_len);
687 keys->SK_ei = os_malloc(keys->SK_encr_len);
695 keys->SK_er = os_malloc(keys->SK_encr_len);
703 keys->SK_pi = os_malloc(keys->SK_prf_len);
711 keys->SK_pr = os_malloc(key
[all...]
H A Deap_ikev2_common.c31 nonces = os_malloc(nlen);
H A Deap_gpsk_common.c140 data = os_malloc(data_len);
298 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len);
371 data = os_malloc(data_len);
442 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len);
/freebsd-11.0-release/contrib/wpa/src/eap_peer/
H A Deap_psk.c59 data->id_p = os_malloc(identity_len);
119 data->id_s = os_malloc(data->id_s_len);
148 buf = os_malloc(buflen);
230 buf = os_malloc(buflen);
276 decrypted = os_malloc(left);
428 key = os_malloc(EAP_MSK_LEN);
448 id = os_malloc(*len);
469 key = os_malloc(EAP_EMSK_LEN);
H A Deap_ikev2.c86 data->ikev2.IDr = os_malloc(identity_len);
94 data->ikev2.shared_secret = os_malloc(password_len);
455 key = os_malloc(EAP_MSK_LEN);
473 key = os_malloc(EAP_EMSK_LEN);
494 sid = os_malloc(sid_len);
H A Deap_fast_pac.c117 *dst = os_malloc(src_len);
243 buf = os_malloc(*len);
260 rc->buf = os_malloc(rc->buf_len);
630 pos = buf = os_malloc(buf_len);
722 pac->a_id = os_malloc(len);
731 pac->a_id_info = os_malloc(len);
820 pac->pac_opaque = os_malloc(pac->pac_opaque_len);
832 pac->pac_info = os_malloc(pac->pac_info_len);
891 buf = os_malloc(len);
H A Deap_sake.c88 data->peerid = os_malloc(identity_len);
233 data->serverid = os_malloc(attr.serverid_len);
444 key = os_malloc(EAP_MSK_LEN);
463 id = os_malloc(*len);
484 key = os_malloc(EAP_EMSK_LEN);
H A Deap_pwd.c116 if ((data->id_peer = os_malloc(identity_len)) == NULL) {
126 if ((data->password = os_malloc(password_len)) == NULL) {
186 key = os_malloc(EAP_MSK_LEN);
205 id = os_malloc(1 + SHA256_MAC_LEN);
271 data->id_server = os_malloc(payload_len - sizeof(struct eap_pwd_id));
520 if (((scalar = os_malloc(BN_num_bytes(data->grp->order))) == NULL) ||
521 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) ==
606 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) ||
1044 if ((key = os_malloc(EAP_EMSK_LEN)) == NULL)
/freebsd-11.0-release/contrib/wpa/src/eap_server/
H A Deap_server_identity.c123 buf = os_malloc(len * 4 + 1);
132 sm->identity = os_malloc(len ? len : 1);
H A Deap_server_psk.c114 buf = os_malloc(buflen);
239 data->id_p = os_malloc(left);
298 buf = os_malloc(buflen);
374 decrypted = os_malloc(left);
453 key = os_malloc(EAP_MSK_LEN);
471 key = os_malloc(EAP_EMSK_LEN);
497 id = os_malloc(*len);
/freebsd-11.0-release/contrib/wpa/src/tls/
H A Dtlsv1_client_write.c65 hello = os_malloc(len);
215 csecret = os_malloc(csecret_len);
245 dh_yc = os_malloc(dh_yc_len);
284 shared = os_malloc(shared_len);
737 msg = os_malloc(msglen);
775 msg = os_malloc(1000);
813 return os_malloc(1);
832 alert = os_malloc(10);
H A Dtlsv1_server_write.c282 conn->dh_secret = os_malloc(conn->dh_secret_len);
316 dh_ys = os_malloc(dh_ys_len);
812 msg = os_malloc(msglen);
863 msg = os_malloc(1000);
912 alert = os_malloc(10);
/freebsd-11.0-release/contrib/wpa/hs20/client/
H A Dest.c104 buf = os_malloc(buflen);
144 pkcs7 = os_malloc(resp_len);
459 txt = os_malloc(rlen + 1);
551 buf = os_malloc(buflen);
642 buf = os_malloc(buflen);
685 pkcs7 = os_malloc(resp_len);
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Dpeerkey_auth.c118 buf = os_malloc(buf_len);
165 pos = buf = os_malloc(buf_len);
219 pos = buf = os_malloc(buf_len);
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/tests/
H A Dtest_wpa.c79 wpa->supp_eapol = os_malloc(len);
99 hdr = os_malloc(*msg_len);
241 wpa->auth_eapol = os_malloc(data_len);
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dmesh.c112 bss->conf->sae_groups = os_malloc(groups_size);
206 conf->basic_rates = os_malloc(sizeof(basic_rates_erp));
253 os_malloc(sizeof(default_groups));
406 mesh_id = os_malloc(elems.mesh_id_len + 1);
436 bss_basic_rate_set = os_malloc(elems.supp_rates_len +

Completed in 370 milliseconds

1234567