/hal_espressif-3.4.0/components/esp_hw_support/include/ |
D | esp_crc.h | 25 static inline uint32_t esp_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_le() 38 static inline uint32_t esp_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_be() 51 static inline uint16_t esp_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_le() 64 static inline uint16_t esp_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_be() 77 static inline uint8_t esp_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_le() 90 static inline uint8_t esp_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_be()
|
/hal_espressif-3.4.0/components/esp_gdbstub/src/ |
D | gdbstub.c | 258 static void handle_g_command(const unsigned char *cmd, int len) in handle_g_command() 269 static void handle_G_command(const unsigned char *cmd, int len) in handle_G_command() 279 static void handle_m_command(const unsigned char *cmd, int len) in handle_m_command() 299 static void handle_M_command(const unsigned char *cmd, int len) in handle_M_command() 320 int esp_gdbstub_handle_command(unsigned char *cmd, int len) in esp_gdbstub_handle_command() 432 static void handle_H_command(const unsigned char *cmd, int len) in handle_H_command() 458 static void handle_qC_command(const unsigned char *cmd, int len) in handle_qC_command() 470 static void handle_T_command(const unsigned char *cmd, int len) in handle_T_command() 487 static void handle_qfThreadInfo_command(const unsigned char *cmd, int len) in handle_qfThreadInfo_command() 494 static void handle_qsThreadInfo_command(const unsigned char *cmd, int len) in handle_qsThreadInfo_command() [all …]
|
/hal_espressif-3.4.0/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-3.4.0/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() 117 struct wpabuf * wpabuf_alloc(size_t len) in wpabuf_alloc() 138 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len) in wpabuf_alloc_ext_data() 163 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len) in wpabuf_alloc_copy() 219 void * wpabuf_put(struct wpabuf *buf, size_t len) in wpabuf_put() 242 size_t len = 0; in wpabuf_concat() local 279 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-3.4.0/components/esp_rom/linux/ |
D | esp_rom_crc.c | 166 uint32_t esp_rom_crc32_le(uint32_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc32_le() 176 uint32_t esp_rom_crc32_be(uint32_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc32_be() 186 uint16_t esp_rom_crc16_le(uint16_t crc, uint8_t const * buf, uint32_t len) in esp_rom_crc16_le() 197 uint16_t esp_rom_crc16_be(uint16_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc16_be() 207 uint8_t esp_rom_crc8_le(uint8_t crc, uint8_t const * buf, uint32_t len) in esp_rom_crc8_le() 218 uint8_t esp_rom_crc8_be(uint8_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc8_be()
|
/hal_espressif-3.4.0/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-3.4.0/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() 132 const u8 *pos, u16 len) in wps_set_attr() 564 u16 type, len; in wps_parse_msg() local
|
/hal_espressif-3.4.0/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-3.4.0/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() 40 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type) in get_vendor_ie() 53 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len) in mbo_add_ie() 148 size_t len; in ieee802_11_parse_candidate_list() local 185 int ieee802_11_parse_elems(struct wpa_supplicant *wpa_s, const u8 *start, size_t len) in ieee802_11_parse_elems()
|
/hal_espressif-3.4.0/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-3.4.0/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-3.4.0/components/spi_flash/test/ |
D | test_read_write.c | 52 static void fill(char *dest, int32_t start, int32_t len) in fill() 59 static int cmp_or_dump(const void *a, const void *b, size_t len) in cmp_or_dump() 76 static void IRAM_ATTR test_read(int src_off, int dst_off, int len) in test_read() 139 for (int len = 0; len < 32; len++) { variable 207 static void IRAM_ATTR test_write(int dst_off, int src_off, int len) in test_write() 272 for (int len = 0; len < 16; len++) { variable
|
/hal_espressif-3.4.0/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_common.c | 30 static int handle_action_frm(u8 *frame, size_t len, in handle_action_frm() 55 u8 *payload, size_t len, u32 rssi) in handle_rrm_frame() 71 static int mgmt_rx_action(u8 *sender, u8 *payload, size_t len, u8 channel, u32 rssi) in mgmt_rx_action() 223 static int ieee80211_handle_rx_frm(u8 type, u8 *frame, size_t len, u8 *sender, in ieee80211_handle_rx_frm() 369 static size_t get_rm_enabled_ie(uint8_t *ie, size_t len) in get_rm_enabled_ie() 395 static size_t get_mbo_oce_scan_ie(uint8_t *ie, size_t len) in get_mbo_oce_scan_ie() 416 static size_t get_mbo_oce_assoc_ie(uint8_t *ie, size_t len) in get_mbo_oce_assoc_ie() 433 static uint8_t get_extended_caps_ie(uint8_t *ie, size_t len) in get_extended_caps_ie() 456 static uint8_t get_operating_class_ie(uint8_t *ie, size_t len) in get_operating_class_ie() 478 size_t len = SCAN_IE_LEN, ie_len; in esp_set_scan_ie() local [all …]
|
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-3.4.0/components/wpa_supplicant/src/crypto/ |
D | crypto_mbedtls.c | 41 const u8 *addr[], const size_t *len, u8 *mac) in digest_vector() 84 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector() 90 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha384_vector() 96 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() 101 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() 107 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() 160 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update() 168 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish() 189 const size_t *len, u8 *mac) in hmac_vector() 222 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha384_vector() [all …]
|
/hal_espressif-3.4.0/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-3.4.0/components/wpa_supplicant/src/eap_peer/ |
D | eap_fast_common.c | 19 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len) in eap_fast_put_tlv_hdr() 29 u16 len) in eap_fast_put_tlv() 96 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn, size_t len) in eap_fast_derive_key() 149 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv()
|
/hal_espressif-3.4.0/examples/protocols/sockets/non_blocking/main/ |
D | non_blocking_socket_example.c | 67 int len = recv(sock, data, max_len, 0); in try_receive() local 94 static int socket_send(const char *tag, const int sock, const char * data, const size_t len) in socket_send() 159 socklen_t len = (socklen_t)sizeof(int); in tcp_client_task() local 177 int len = socket_send(TAG, sock, payload, strlen(payload)); in tcp_client_task() local 333 int len = try_receive(TAG, sock[i], rx_buffer, sizeof(rx_buffer)); in tcp_server_task() local
|