/hal_espressif-latest/components/wpa_supplicant/src/utils/ |
D | common.c | 339 str = os_malloc(tlen + 1); in wpa_config_parse_string() 358 str = (u8 *)os_malloc(*len + 1); in wpa_config_parse_string() 368 str = os_malloc(tlen + 1); in wpa_config_parse_string() 445 res = os_malloc(len + 1); in dup_binstr() 524 void *r = os_malloc(len); in os_memdup() 577 val = os_malloc(len + 1); in get_param()
|
D | base64.c | 37 out = os_malloc(olen); in base64_gen_encode() 108 pos = out = os_malloc(olen); in base64_gen_decode()
|
D | json.c | 75 str = os_malloc(buf_len); in json_parse_string() 178 str = os_malloc(len + 1); in json_parse_number() 599 tmp = os_malloc(tmp_len); in json_add_string_escape()
|
/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | ccmp.c | 151 plain = os_malloc(data_len + AES_BLOCK_SIZE); in ccmp_decrypt() 203 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 254 crypt = os_malloc(hdrlen + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt_pv1() 293 plain = os_malloc(data_len + AES_BLOCK_SIZE); in ccmp_256_decrypt() 329 crypt = os_malloc(hdrlen + 8 + plen + 16 + AES_BLOCK_SIZE); in ccmp_256_encrypt()
|
D | aes-internal-enc.c | 106 rk = os_malloc(AES_PRIV_SIZE); in aes_encrypt_init()
|
D | aes-internal-dec.c | 63 rk = os_malloc(AES_PRIV_SIZE); in aes_decrypt_init()
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/ |
D | crypto_mbedtls-rsa.c | 240 mbedtls_entropy_context *entropy = os_malloc(sizeof(*entropy)); in crypto_private_key_decrypt_pkcs1_v15() 241 mbedtls_ctr_drbg_context *ctr_drbg = os_malloc(sizeof(*ctr_drbg)); in crypto_private_key_decrypt_pkcs1_v15() 282 mbedtls_entropy_context *entropy = os_malloc(sizeof(*entropy)); in crypto_private_key_sign_pkcs1() 283 mbedtls_ctr_drbg_context *ctr_drbg = os_malloc(sizeof(*ctr_drbg)); in crypto_private_key_sign_pkcs1()
|
D | crypto_mbedtls-ec.c | 503 mbedtls_pk_context *key = os_malloc(sizeof(*key)); in crypto_alloc_key() 587 char *der_data = os_malloc(ECP_PRV_DER_MAX_BYTES); in crypto_ec_get_priv_key_der() 599 *key_data = os_malloc(*key_len); in crypto_ec_get_priv_key_der() 657 unsigned char *buf = os_malloc(ECP_PUB_DER_MAX_BYTES); in crypto_write_pubkey_der() 669 *key_buf = os_malloc(len); in crypto_write_pubkey_der() 757 ctx = os_malloc(sizeof(*ctx)); in crypto_ecdh() 812 mbedtls_ecdsa_context *ctx = os_malloc(sizeof(*ctx)); in crypto_ecdsa_get_sign() 1035 *key_buf = os_malloc(len); in crypto_ec_write_pub_key() 1279 mbedtls_ecdsa_context *ctx_verify = os_malloc(sizeof(mbedtls_ecdsa_context)); in crypto_ec_key_verify_signature()
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpas_glue.c | 26 buffer = os_malloc(*msg_len + sizeof(struct l2_ethhdr)); in wpa_alloc_eapol() 77 void *buffer = os_malloc(data_len + sizeof(struct l2_ethhdr)); in hostapd_send_eapol()
|
D | esp_common.c | 52 struct ieee_mgmt_frame *frm = os_malloc(sizeof(struct ieee_mgmt_frame) + len); in handle_action_frm() 692 ie = os_malloc(SCAN_IE_LEN); in esp_set_scan_ie() 875 ie = os_malloc(ASSOC_IE_LEN + ies_len); in esp_set_assoc_ie()
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | tlsv1_client_write.c | 76 hello = os_malloc(len); in tls_send_client_hello() 353 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 383 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh() 429 shared = os_malloc(shared_len); in tlsv1_key_x_dh() 882 msg = os_malloc(msglen); in tls_send_client_key_exchange() 920 msg = os_malloc(1000); in tls_send_change_cipher_spec() 960 return os_malloc(1); in tlsv1_client_handshake_write() 979 alert = os_malloc(10); in tlsv1_client_send_alert()
|
D | pkcs5.c | 413 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()
|
D | tlsv1_server_write.c | 408 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange() 442 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange() 956 msg = os_malloc(msglen); in tls_send_server_hello() 1016 msg = os_malloc(1000); in tls_send_change_cipher_spec() 1065 alert = os_malloc(10); in tlsv1_server_send_alert()
|
D | tlsv1_server.c | 34 buf = os_malloc(buflen); in tlsv1_server_log() 148 in_msg = os_malloc(in_len); in tlsv1_server_handshake() 490 seed = os_malloc(seed_len); in tlsv1_server_prf()
|
D | tlsv1_client.c | 201 in_msg = os_malloc(in_len); in tlsv1_client_handshake() 576 seed = os_malloc(seed_len); in tlsv1_client_prf() 753 pos = conn->client_hello_ext = os_malloc(4 + data_len); in tlsv1_client_hello_ext()
|
D | pkcs1.c | 212 decrypted = os_malloc(s_len); in pkcs1_v15_sig_ver()
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/ |
D | eap_server_identity.c | 123 buf = os_malloc(len * 4 + 1); in eap_identity_process() 132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process()
|
/hal_espressif-latest/components/wpa_supplicant/port/include/ |
D | os.h | 222 #ifndef os_malloc 223 #define os_malloc(s) os_wpa_malloc_func((s)) macro
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_fast_pac.c | 243 buf = os_malloc(*len); in eap_fast_parse_hex() 260 rc->buf = os_malloc(rc->buf_len); in eap_fast_init_pac_data() 634 pos = buf = os_malloc(buf_len); in eap_fast_save_pac() 895 buf = os_malloc(len); in eap_fast_save_pac_bin()
|
D | eap_tls.c | 202 key = os_malloc(EAP_TLS_KEY_LEN); in eap_tls_getKey()
|
D | eap_fast_common.c | 100 out = os_malloc(len); in eap_fast_derive_key()
|
D | eap_ttls.c | 818 parse->eapdata = os_malloc(dlen); in eap_ttls_parse_attr_eap() 973 buf = os_malloc(sizeof(*hdr) + 1); in eap_ttls_fake_identity_request() 1627 key = os_malloc(EAP_TLS_KEY_LEN); in eap_ttls_getKey() 1646 id = os_malloc(data->id_len); in eap_ttls_get_session_id() 1665 key = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk()
|
/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | wpa_auth_ie.c | 366 wpa_auth->wpa_ie = os_malloc(pos - buf); in wpa_auth_gen_wpa_ie() 634 sm->wpa_ie = os_malloc(wpa_ie_len); in wpa_validate_wpa_ie() 643 sm->rsnxe = os_malloc(rsnxe_len); in wpa_validate_wpa_ie()
|
/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | sae_pk.c | 292 pos = out = os_malloc(olen); in sae_pk_base32_decode() 561 hash_data = os_malloc(hash_data_len); in sae_pk_valid_fingerprint()
|
D | dpp.c | 481 bi->info = os_malloc(end - info + 1); in dpp_parse_uri_info() 1493 bi->uri = os_malloc(len + 1); in dpp_autogen_bootstrap_key() 2518 unwrapped = os_malloc(unwrapped_len); in dpp_auth_req_rx() 2882 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx_status() 3105 unwrapped = os_malloc(unwrapped_len); in dpp_auth_resp_rx() 3196 unwrapped2 = os_malloc(unwrapped2_len); in dpp_auth_resp_rx() 3285 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx_failure() 3444 unwrapped = os_malloc(unwrapped_len); in dpp_auth_conf_rx() 3680 conf->group_id = os_malloc(group_id_len + 1); in dpp_configuration_parse_helper() 3732 tmp = os_malloc(len + 1); in dpp_configuration_parse() [all …]
|