Home
last modified time | relevance | path

Searched refs:os_malloc (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_unix.c299 buf = os_malloc(len); in os_rel2abs_path()
320 ret = os_malloc(ret_len); in os_rel2abs_path()
429 buf = os_malloc(*len); in os_readfile()
521 void *r = os_malloc(len); in os_memdup()
697 void * os_malloc(size_t size) in os_malloc() function
722 return os_malloc(size); in os_realloc()
732 n = os_malloc(size); in os_realloc()
768 void *ptr = os_malloc(size); in os_zalloc()
780 d = os_malloc(len + 1); in os_strdup()
Dwpa_debug.c353 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
410 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
445 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump()
771 buf = os_malloc(buflen); in wpa_msg()
811 buf = os_malloc(buflen); in wpa_msg_ctrl()
836 buf = os_malloc(buflen); in wpa_msg_global()
866 buf = os_malloc(buflen); in wpa_msg_global_ctrl()
891 buf = os_malloc(buflen); in wpa_msg_no_global()
918 buf = os_malloc(buflen); in wpa_msg_global_only()
957 buf = os_malloc(buflen); in hostapd_logger()
Dos_internal.c165 buf = os_malloc(len); in os_rel2abs_path()
183 ret = os_malloc(ret_len); in os_rel2abs_path()
236 buf = os_malloc(*len); in os_readfile()
262 void *n = os_malloc(size); in os_zalloc()
269 void * os_malloc(size_t size) in os_malloc() function
347 res = os_malloc(len + 1); in os_strdup()
Dos.h311 void * os_malloc(size_t size);
480 void * os_malloc(size_t size);
485 #ifndef os_malloc
486 #define os_malloc(s) malloc((s)) macro
Dbase64.c39 out = os_malloc(olen); in base64_gen_encode()
111 pos = out = os_malloc(olen); in base64_gen_decode()
Dcommon.c464 buf = os_malloc((strlen(str) + 1) * sizeof(TCHAR)); in wpa_strdup_tchar()
668 str = os_malloc(tlen + 1); in wpa_config_parse_string()
684 str = os_malloc(tlen + 1); in wpa_config_parse_string()
771 res = os_malloc(len + 1); in dup_binstr()
850 buf = os_malloc(maxlen); in freq_range_list_str()
1255 val = os_malloc(len + 1); in get_param()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Dikev2_common.c403 sign_data = os_malloc(sign_len); in ikev2_derive_auth_data()
495 decrypted = os_malloc(decrypted_len); in ikev2_decrypt_payload()
650 keybuf = os_malloc(keybuf_len); in ikev2_derive_sk_keys()
662 keys->SK_d = os_malloc(keys->SK_d_len); in ikev2_derive_sk_keys()
670 keys->SK_ai = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
678 keys->SK_ar = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
686 keys->SK_ei = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
694 keys->SK_er = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
702 keys->SK_pi = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
710 keys->SK_pr = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
Deap_gpsk_common.c141 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper()
299 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_keys()
372 data = os_malloc(data_len); in eap_gpsk_derive_mid_helper()
443 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Dikev2_common.c403 sign_data = os_malloc(sign_len); in ikev2_derive_auth_data()
495 decrypted = os_malloc(decrypted_len); in ikev2_decrypt_payload()
650 keybuf = os_malloc(keybuf_len); in ikev2_derive_sk_keys()
662 keys->SK_d = os_malloc(keys->SK_d_len); in ikev2_derive_sk_keys()
670 keys->SK_ai = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
678 keys->SK_ar = os_malloc(keys->SK_integ_len); in ikev2_derive_sk_keys()
686 keys->SK_ei = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
694 keys->SK_er = os_malloc(keys->SK_encr_len); in ikev2_derive_sk_keys()
702 keys->SK_pi = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
710 keys->SK_pr = os_malloc(keys->SK_prf_len); in ikev2_derive_sk_keys()
Deap_gpsk_common.c141 data = os_malloc(data_len); in eap_gpsk_derive_keys_helper()
299 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_keys()
372 data = os_malloc(data_len); in eap_gpsk_derive_mid_helper()
443 seed = os_malloc(2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len); in eap_gpsk_derive_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_unix.c305 buf = os_malloc(len); in os_rel2abs_path()
326 ret = os_malloc(ret_len); in os_rel2abs_path()
440 buf = os_malloc(*len); in os_readfile()
532 void *r = os_malloc(len); in os_memdup()
708 void * os_malloc(size_t size) in os_malloc() function
733 return os_malloc(size); in os_realloc()
743 n = os_malloc(size); in os_realloc()
779 void *ptr = os_malloc(size); in os_zalloc()
791 d = os_malloc(len + 1); in os_strdup()
Dos_internal.c171 buf = os_malloc(len); in os_rel2abs_path()
189 ret = os_malloc(ret_len); in os_rel2abs_path()
242 buf = os_malloc(*len); in os_readfile()
268 void *n = os_malloc(size); in os_zalloc()
275 void * os_malloc(size_t size) in os_malloc() function
353 res = os_malloc(len + 1); in os_strdup()
Dwpa_debug.c351 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
408 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
443 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump()
959 buf = os_malloc(buflen); in wpa_msg()
996 buf = os_malloc(buflen); in wpa_msg_only_for_cb()
1035 buf = os_malloc(buflen); in wpa_msg_ctrl()
1060 buf = os_malloc(buflen); in wpa_msg_global()
1089 buf = os_malloc(buflen); in wpa_msg_global_ctrl()
1114 buf = os_malloc(buflen); in wpa_msg_no_global()
1140 buf = os_malloc(buflen); in wpa_msg_global_only()
[all …]
Dos.h311 void * os_malloc(size_t size);
480 void * os_malloc(size_t size);
485 #ifndef os_malloc
486 #define os_malloc(s) malloc((s)) macro
Dbase64.c42 out = os_malloc(olen); in base64_gen_encode()
113 pos = out = os_malloc(olen); in base64_gen_decode()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_write.c76 hello = os_malloc(len); in tls_send_client_hello()
343 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh()
373 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
419 shared = os_malloc(shared_len); in tlsv1_key_x_dh()
872 msg = os_malloc(msglen); in tls_send_client_key_exchange()
910 msg = os_malloc(1000); in tls_send_change_cipher_spec()
950 return os_malloc(1); in tlsv1_client_handshake_write()
969 alert = os_malloc(10); in tlsv1_client_send_alert()
Dpkcs5.c413 D = os_malloc(v); in pkcs12_key_gen()
421 I = os_malloc(S_len + P_len); in pkcs12_key_gen()
434 B = os_malloc(v); in pkcs12_key_gen()
501 pw = os_malloc(2 * (pw_len + 1)); in pkcs12_crypto_init_sha1()
594 eb = os_malloc(enc_data_len); in pkcs5_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_write.c88 hello = os_malloc(len); in tls_send_client_hello()
355 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh()
385 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
431 shared = os_malloc(shared_len); in tlsv1_key_x_dh()
884 msg = os_malloc(msglen); in tls_send_client_key_exchange()
922 msg = os_malloc(1000); in tls_send_change_cipher_spec()
962 return os_malloc(1); in tlsv1_client_handshake_write()
981 alert = os_malloc(10); in tlsv1_client_send_alert()
Dpkcs5.c435 D = os_malloc(v); in pkcs12_key_gen()
443 I = os_malloc(S_len + P_len); in pkcs12_key_gen()
456 B = os_malloc(v); in pkcs12_key_gen()
523 pw = os_malloc(2 * (pw_len + 1)); in pkcs12_crypto_init_sha1()
616 eb = os_malloc(enc_data_len); in pkcs5_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-eax.c46 buf = os_malloc(buf_len); in aes_128_eax_encrypt()
110 buf = os_malloc(buf_len); in aes_128_eax_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-eax.c46 buf = os_malloc(buf_len); in aes_128_eax_encrypt()
110 buf = os_malloc(buf_len); in aes_128_eax_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dest.c130 buf = os_malloc(buflen); in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
518 txt = os_malloc(rlen + 1); in generate_csr()
612 buf = os_malloc(buflen); in est_build_csr()
701 buf = os_malloc(buflen); in est_simple_enroll()
739 pkcs7 = os_malloc(resp_len); in est_simple_enroll()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dest.c130 buf = os_malloc(buflen); in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
518 txt = os_malloc(rlen + 1); in generate_csr()
612 buf = os_malloc(buflen); in est_build_csr()
702 buf = os_malloc(buflen); in est_simple_enroll()
740 pkcs7 = os_malloc(resp_len); in est_simple_enroll()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_identity.c123 buf = os_malloc(len * 4 + 1); in eap_identity_process()
132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_identity.c123 buf = os_malloc(len * 4 + 1); in eap_identity_process()
132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process()

12345678910>>...15