/hal_espressif-2.7.6/components/esp_gdbstub/src/ |
D | gdbstub.c | 98 static void handle_g_command(const unsigned char* cmd, int len) in handle_g_command() 109 static void handle_G_command(const unsigned char* cmd, int len) in handle_G_command() 119 static void handle_m_command(const unsigned char* cmd, int len) in handle_m_command() 139 int esp_gdbstub_handle_command(unsigned char *cmd, int len) in esp_gdbstub_handle_command() 247 static void handle_H_command(const unsigned char* cmd, int len) in handle_H_command() 273 static void handle_qC_command(const unsigned char* cmd, int len) in handle_qC_command() 285 static void handle_T_command(const unsigned char* cmd, int len) in handle_T_command() 302 static void handle_qfThreadInfo_command(const unsigned char* cmd, int len) in handle_qfThreadInfo_command() 309 static void handle_qsThreadInfo_command(const unsigned char* cmd, int len) in handle_qsThreadInfo_command() 322 static void handle_qThreadExtraInfo_command(const unsigned char* cmd, int len) in handle_qThreadExtraInfo_command() [all …]
|
/hal_espressif-2.7.6/components/esp_common/include/ |
D | esp_crc.h | 33 static inline uint32_t esp_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_le() 46 static inline uint32_t esp_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_be() 59 static inline uint16_t esp_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_le() 72 static inline uint16_t esp_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_be() 85 static inline uint8_t esp_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_le() 98 static inline uint8_t esp_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_be()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/ |
D | x509v3.c | 182 const u8 *buf, size_t len, in x509_parse_algorithm_identifier() 220 static int x509_parse_public_key(const u8 *buf, size_t len, in x509_parse_public_key() 293 static int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name() 533 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string() 574 static int x509_parse_time(const u8 *buf, size_t len, u8 asn1_tag, in x509_parse_time() 581 static int x509_parse_validity(const u8 *buf, size_t len, in x509_parse_validity() 656 const u8 *pos, size_t len) in x509_parse_ext_key_usage() 693 const u8 *pos, size_t len) in x509_parse_ext_basic_constraints() 778 const u8 *pos, size_t len) in x509_parse_alt_name_rfc8222() 800 const u8 *pos, size_t len) in x509_parse_alt_name_dns() [all …]
|
D | tlsv1_cred.c | 40 const u8 *buf, size_t len) in tlsv1_add_cert_der() 84 static const u8 * search_tag(const char *tag, const u8 *buf, size_t len) in search_tag() 102 const u8 *buf, size_t len) in tlsv1_add_cert() 160 size_t len = 0; in tlsv1_set_cert_chain() local 222 static struct crypto_private_key * tlsv1_set_key_pem(const u8 *key, size_t len) in tlsv1_set_key_pem() 262 size_t len, in tlsv1_set_key_enc_pem() 290 const u8 *key, size_t len, const char *passwd) in tlsv1_set_key() 331 size_t len = 0; in tlsv1_set_private_key() local 350 const u8 *dh, size_t len) in tlsv1_set_dhparams_der() 428 const u8 *buf, size_t len) in tlsv1_set_dhparams_blob() [all …]
|
D | asn1.c | 14 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() 79 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid() 123 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid() 143 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str() 183 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len) in asn1_bit_string_to_long()
|
D | tlsv1_client_read.c | 35 size_t left, len, i; in tls_process_server_hello() local 219 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 412 const u8 *buf, size_t len, in tlsv1_process_diffie_hellman() 538 size_t left, len; in tls_process_server_key_exchange() local 628 size_t left, len; in tls_process_certificate_request() local 691 size_t left, len; in tls_process_server_hello_done() local 817 size_t left, len, hlen; in tls_process_server_finished() local 973 const u8 *buf, size_t *len, in tlsv1_client_process_handshake()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/ |
D | common.c | 25 void inc_byte_array(u8 *counter, size_t len) in inc_byte_array() 69 int hexstr2bin(const char *hex, u8 *buf, size_t len) in hexstr2bin() 103 void printf_encode(char *txt, size_t maxlen, const u8 *data, size_t len) in printf_encode() 155 size_t len = 0; in printf_decode() local 235 char * wpa_config_parse_string(const char *value, size_t *len) in wpa_config_parse_string() 305 int wpa_is_hex(const u8 *data, size_t len) in wpa_is_hex() 321 size_t len = 0; in wpa_merge_byte_arrays() local 349 char * dup_binstr(const void *src, size_t len) in dup_binstr() 363 void wpa_bin_clear_free(void *bin, size_t len) in wpa_bin_clear_free() 379 void bin_clear_free(void *bin, size_t len) in bin_clear_free() [all …]
|
D | wpabuf.c | 37 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() 116 struct wpabuf * wpabuf_alloc(size_t len) in wpabuf_alloc() 136 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len) in wpabuf_alloc_ext_data() 160 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len) in wpabuf_alloc_copy() 205 void * wpabuf_put(struct wpabuf *buf, size_t len) in wpabuf_put() 228 size_t len = 0; in wpabuf_concat() local 265 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len) in wpabuf_zeropad()
|
D | base64.c | 21 static char * base64_gen_encode(const unsigned char *src, size_t len, in base64_gen_encode() 84 static unsigned char * base64_gen_decode(const char *src, size_t len, in base64_gen_decode() 165 char * base64_encode(const void *src, size_t len, size_t *out_len) in base64_encode() 171 char * base64_url_encode(const void *src, size_t len, size_t *out_len) in base64_url_encode() 187 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len) in base64_decode() 193 unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len) in base64_url_decode()
|
D | wpa_debug.c | 20 _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len, in _wpa_snprintf_hex() 49 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex_uppercase() 54 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex() 60 void wpa_dump_mem(char* desc, uint8_t *addr, uint16_t len) in wpa_dump_mem() 88 void wpa_hexdump(int level, const char *title, const u8 *buf, size_t len) in wpa_hexdump() 115 void wpa_hexdump_key(int level, const char *title, const u8 *buf, size_t len) in wpa_hexdump_key()
|
/hal_espressif-2.7.6/components/esp_rom/patches/ |
D | esp_rom_crc.c | 92 uint8_t esp_rom_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc8_be() 102 uint16_t esp_rom_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc16_be() 112 uint32_t esp_rom_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc32_be() 200 uint8_t esp_rom_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc8_le() 210 uint16_t esp_rom_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc16_le() 220 uint32_t esp_rom_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc32_le()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/wps/ |
D | wps_attr_parse.c | 20 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem() 72 u16 len) in wps_parse_vendor_ext_wfa() 92 u16 len) in wps_parse_vendor_ext() 133 u16 len = attr_data_len; in wps_ignore_null_padding_in_attr() local 165 u16 len; in wps_set_attr() local 599 u16 type, len; in wps_parse_msg() local
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ctr_prng.c | 53 static void arrInc(uint8_t arr[], unsigned int len) in arrInc() 79 unsigned int len = 0U; in tc_ctr_prng_update() local 131 unsigned int len = pLen; in tc_ctr_prng_init() local 177 unsigned int len = additionallen; in tc_ctr_prng_reseed() local 227 unsigned int len = additionallen; in tc_ctr_prng_generate() local 238 unsigned int len = 0U; in tc_ctr_prng_generate() local
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_eddystone/main/ |
D | esp_eddystone_api.c | 84 static esp_err_t esp_eddystone_uid_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… in esp_eddystone_uid_received() 130 static esp_err_t esp_eddystone_url_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… in esp_eddystone_url_received() 164 static esp_err_t esp_eddystone_tlm_received(const uint8_t* buf, uint8_t len, esp_eddystone_result_t… in esp_eddystone_tlm_received() 185 static esp_err_t esp_eddystone_get_inform(const uint8_t* buf, uint8_t len, esp_eddystone_result_t* … in esp_eddystone_get_inform() 208 esp_err_t esp_eddystone_decode(const uint8_t* buf, uint8_t len, esp_eddystone_result_t* res) in esp_eddystone_decode()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_msg.c | 273 UINT8 len; in avdt_msg_bld_cfg() local 575 static UINT8 avdt_msg_prs_cfg(tAVDT_CFG *p_cfg, UINT8 *p, UINT16 len, UINT8 *p_elem, UINT8 sig_id) in avdt_msg_prs_cfg() 764 static UINT8 avdt_msg_prs_none(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_none() 783 static UINT8 avdt_msg_prs_single(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_single() 811 static UINT8 avdt_msg_prs_setconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_setconfig_cmd() 862 static UINT8 avdt_msg_prs_reconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_reconfig_cmd() 905 static UINT8 avdt_msg_prs_multi(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_multi() 942 static UINT8 avdt_msg_prs_security_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_security_cmd() 973 static UINT8 avdt_msg_prs_discover_rsp(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_discover_rsp() 1015 static UINT8 avdt_msg_prs_svccap(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_svccap() [all …]
|
/hal_espressif-2.7.6/components/spi_flash/test/ |
D | test_read_write.c | 49 static void fill(char *dest, int32_t start, int32_t len) in fill() 56 static int cmp_or_dump(const void *a, const void *b, size_t len) in cmp_or_dump() 73 static void IRAM_ATTR test_read(int src_off, int dst_off, int len) in test_read() 136 for (int len = 0; len < 32; len++) { variable 187 static void IRAM_ATTR test_write(int dst_off, int src_off, int len) in test_write() 252 for (int len = 0; len < 16; len++) { variable
|
/hal_espressif-2.7.6/components/esp_serial_slave_link/ |
D | essl_spi.c | 63 esp_err_t essl_spi_rdbuf(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uint32_t fl… in essl_spi_rdbuf() 79 esp_err_t essl_spi_rdbuf_polling(spi_device_handle_t spi, uint8_t *out_data, int addr, int len, uin… in essl_spi_rdbuf_polling() 95 esp_err_t essl_spi_wrbuf(spi_device_handle_t spi, const uint8_t *data, int addr, int len, uint32_t … in essl_spi_wrbuf() 110 esp_err_t essl_spi_wrbuf_polling(spi_device_handle_t spi, const uint8_t *data, int addr, int len, u… in essl_spi_wrbuf_polling() 148 esp_err_t essl_spi_rddma(spi_device_handle_t spi, uint8_t *out_data, int len, int seg_len, uint32_t… in essl_spi_rddma() 192 esp_err_t essl_spi_wrdma(spi_device_handle_t spi, const uint8_t *data, int len, int seg_len, uint32… in essl_spi_wrdma()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/esp_supplicant/ |
D | esp_wpa3.c | 31 u32 len = 0; in wpa3_build_sae_commit() local 157 static int wpa3_parse_sae_commit(u8 *buf, u32 len, u16 status) in wpa3_parse_sae_commit() 189 static int wpa3_parse_sae_confirm(u8 *buf, u32 len) in wpa3_parse_sae_confirm() 208 static int wpa3_parse_sae_msg(u8 *buf, size_t len, u32 sae_msg_type, u16 status) in wpa3_parse_sae_msg()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_sr.c | 47 tGATT_STATUS gatt_send_packet (tGATT_TCB *p_tcb, UINT8 *p_data, UINT16 len) in gatt_send_packet() 163 UINT16 ii, total_len, len; in process_read_multi_rsp() local 355 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 475 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 682 UINT16 len = *p_len; in gatt_build_find_info_rsp() local 753 UINT16 len = *p_len; in gatts_validate_packet_format() local 806 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 866 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 934 static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data) in gatts_process_mtu_req() 996 void gatts_process_read_by_type_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_read_by_type_req() [all …]
|
D | gatt_cl.c | 390 void gatt_process_find_type_value_rsp (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_d… in gatt_process_find_type_value_rsp() 437 UINT16 len, UINT8 *p_data) in gatt_process_read_info_rsp() 535 UINT16 len, UINT8 *p_data) in gatt_process_error_rsp() 585 UINT16 len, UINT8 *p_data) in gatt_process_prep_write_rsp() 630 UINT16 len, UINT8 *p_data) in gatt_process_notification() 711 UINT16 len, UINT8 *p_data) in gatt_process_read_by_type_rsp() 887 UINT16 len, UINT8 *p_data) in gatt_process_read_rsp() 977 void gatt_process_mtu_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_data) in gatt_process_mtu_rsp() 1086 UINT16 len, UINT8 *p_data) in gatt_client_handle_server_rsp()
|
/hal_espressif-2.7.6/components/tcp_transport/ |
D | transport_ssl.c | 138 static int ssl_write(esp_transport_handle_t t, const char *buffer, int len, int timeout_ms) in ssl_write() 155 static int ssl_read(esp_transport_handle_t t, char *buffer, int len, int timeout_ms) in ssl_read() 210 void esp_transport_ssl_set_cert_data(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_cert_data() 219 void esp_transport_ssl_set_cert_data_der(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_cert_data_der() 228 void esp_transport_ssl_set_client_cert_data(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_client_cert_data() 237 void esp_transport_ssl_set_client_cert_data_der(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_client_cert_data_der() 246 void esp_transport_ssl_set_client_key_data(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_client_key_data() 264 void esp_transport_ssl_set_client_key_data_der(esp_transport_handle_t t, const char *data, int len) in esp_transport_ssl_set_client_key_data_der()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/ |
D | crypto_mbedtls-ec.c | 45 int crypto_rng_wrapper(void *ctx, unsigned char *buf, size_t len) in crypto_rng_wrapper() 165 int len = mbedtls_mpi_size(&e->group.P); in crypto_ec_point_to_bin() local 212 int len, ret; in crypto_ec_point_from_bin() local 486 const u8 *buf, size_t len) in crypto_ec_set_pubkey_point() 598 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len) in crypto_ec_get_publickey_buf() 622 int len = mbedtls_pk_write_pubkey_der((mbedtls_pk_context *)key, output_buf, 1600); in crypto_write_pubkey_der() local 810 …int len = mbedtls_mpi_size((mbedtls_mpi *)crypto_ec_get_prime((struct crypto_ec *)crypto_ec_get_gr… in crypto_debug_print_ec_key() local 822 struct crypto_key *crypto_ec_parse_subpub_key(const unsigned char *p, size_t len) in crypto_ec_parse_subpub_key() 874 size_t len = 0; in pk_write_ec_param() local 890 size_t len = 0; in pk_write_ec_pubkey_formatted() local [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_bld_tg.c | 46 UINT16 len = 0; in avrc_bld_get_capability_rsp() local 114 UINT16 len = 0; in avrc_bld_list_app_settings_attr_rsp() local 162 UINT16 len; in avrc_bld_list_app_settings_values_rsp() local 207 UINT16 len; in avrc_bld_get_cur_app_setting_value_rsp() local 279 UINT16 len, len_left; in avrc_bld_app_setting_text_rsp() local 426 UINT16 len; in avrc_bld_get_elem_attrs_rsp() local 512 UINT16 len = 0; in avrc_bld_notify_rsp() local
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/common/ |
D | ieee802_11_common.c | 27 const u8 * get_ie(const u8 *ies, size_t len, u8 eid) in get_ie() 112 size_t len; in ieee802_11_parse_candidate_list() local 149 int ieee802_11_parse_elems(struct wpa_supplicant *wpa_s, const u8 *start, size_t len) in ieee802_11_parse_elems()
|
/hal_espressif-2.7.6/components/esp_wifi/src/ |
D | wifi_netif.c | 45 static esp_err_t wifi_sta_receive(void *buffer, uint16_t len, void *eb) in wifi_sta_receive() 50 static esp_err_t wifi_ap_receive(void *buffer, uint16_t len, void *eb) in wifi_ap_receive() 60 static esp_err_t wifi_transmit(void *h, void *buffer, size_t len) in wifi_transmit() 66 static esp_err_t wifi_transmit_wrap(void *h, void *buffer, size_t len, void *netstack_buf) in wifi_transmit_wrap()
|