/hal_espressif-latest/components/mbedtls/port/sha/dma/ |
D | sha.c | 186 const uint8_t *buf, uint32_t buf_len, bool is_first_block) in esp_sha_block_mode() argument 196 if (buf_len != 0) { in esp_sha_block_mode() 210 const void *buf, uint32_t buf_len, bool is_first_block); 216 const void *buf, uint32_t buf_len, bool is_first_block) in esp_sha_dma() argument 221 if (buf_len > block_length(sha_type)) { in esp_sha_dma() 228 esp_sha_block_mode(sha_type, input, ilen, buf, buf_len, is_first_block); in esp_sha_dma() 237 Cache_WriteBack_Addr((uint32_t)buf, buf_len); in esp_sha_dma() 242 if (!s_check_dma_capable(buf) && (buf_len != 0)) { in esp_sha_dma() 243 …dma_cap_buf = heap_caps_malloc(sizeof(unsigned char) * buf_len, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MAL… in esp_sha_dma() 249 memcpy(dma_cap_buf, buf, buf_len); in esp_sha_dma() [all …]
|
D | esp_sha1.c | 104 uint8_t *buf, size_t buf_len) in esp_internal_sha1_dma_process() argument 106 return esp_sha_dma(SHA1, data, len, buf, buf_len, ctx->first_block); in esp_internal_sha1_dma_process()
|
D | esp_sha512.c | 147 uint8_t *buf, size_t buf_len) in esp_internal_sha512_dma_process() argument 151 return esp_sha_dma(ctx->mode, data, len, buf, buf_len, ctx->first_block); in esp_internal_sha512_dma_process()
|
/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | sha1-tprf.c | 30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) in sha1_t_prf() argument 51 output_len[0] = (buf_len >> 8) & 0xff; in sha1_t_prf() 52 output_len[1] = buf_len & 0xff; in sha1_t_prf() 54 while (pos < buf_len) { in sha1_t_prf() 56 plen = buf_len - pos; in sha1_t_prf()
|
D | sha256-prf.c | 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) in sha256_prf() argument 34 buf_len * 8); in sha256_prf() 64 size_t buf_len = (buf_len_bits + 7) / 8; in sha256_prf_bits() local 77 while (pos < buf_len) { in sha256_prf_bits() 78 plen = buf_len - pos; in sha256_prf_bits()
|
D | sha384-prf.c | 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) in sha384_prf() argument 34 buf_len * 8); in sha384_prf() 64 size_t buf_len = (buf_len_bits + 7) / 8; in sha384_prf_bits() local 77 while (pos < buf_len) { in sha384_prf_bits() 78 plen = buf_len - pos; in sha384_prf_bits()
|
D | sha1-prf.c | 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) in sha1_prf() argument 48 while (pos < buf_len) { in sha1_prf() 49 plen = buf_len - pos; in sha1_prf()
|
D | sha1.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 21 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len);
|
D | sha256.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
D | sha384.h | 20 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_fast_pac.c | 186 size_t buf_len; member 195 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) in eap_fast_read_line() 206 if (len >= rc->buf_len) in eap_fast_read_line() 207 len = rc->buf_len - 1; in eap_fast_read_line() 213 rc->buf[rc->buf_len - 1] = '\0'; in eap_fast_read_line() 259 rc->buf_len = 2048; in eap_fast_init_pac_data() 260 rc->buf = os_malloc(rc->buf_len); in eap_fast_init_pac_data() 480 static void eap_fast_write(char **buf, char **pos, size_t *buf_len, in eap_fast_write() argument 496 if (*pos - *buf + need > *buf_len) { in eap_fast_write() 497 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_fast_write() [all …]
|
D | eap_peap_common.c | 20 u8 *buf, size_t buf_len) in peap_prfplus() argument 63 extra[0] = buf_len & 0xff; in peap_prfplus() 72 while (pos < buf_len) { in peap_prfplus() 74 plen = buf_len - pos; in peap_prfplus()
|
D | mschapv2.c | 110 const u8 *buf, size_t buf_len) in mschapv2_verify_auth_response() argument 113 if (buf_len < 2 + 2 * MSCHAPV2_AUTH_RESPONSE_LEN || in mschapv2_verify_auth_response()
|
D | eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
D | mschapv2.h | 23 const u8 *buf, size_t buf_len);
|
/hal_espressif-latest/components/bt/porting/transport/driver/vhci/ |
D | hci_driver_standard.c | 25 uint16_t buf_len = 0; in hci_driver_vhci_controller_tx() local 31 buf_len = length + 1; in hci_driver_vhci_controller_tx() 32 buf = malloc(buf_len); in hci_driver_vhci_controller_tx() 39 buf_len = length + 1; in hci_driver_vhci_controller_tx() 40 buf = malloc(buf_len); in hci_driver_vhci_controller_tx() 48 rc = s_hci_driver_vhci_env.forward_cb(data_type, buf, buf_len, HCI_DRIVER_DIR_C2H); in hci_driver_vhci_controller_tx()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/storage/ |
D | settings_nvs.c | 296 uint8_t *buf, size_t buf_len, bool *exist) in settings_load() argument 305 err = nvs_get_blob(handle, key, buf, &buf_len); in settings_load() 322 uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_settings() argument 326 err = settings_load(handle, key, buf, buf_len, exist); in bt_mesh_load_settings() 331 int bt_mesh_load_core_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_core_settings() argument 334 return bt_mesh_load_settings(handle, key, buf, buf_len, exist); in bt_mesh_load_core_settings() 338 int bt_mesh_load_uid_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_uid_settings() argument 341 return bt_mesh_load_settings(handle, key, buf, buf_len, exist); in bt_mesh_load_uid_settings() 529 size_t buf_len = 0U; in settings_remove_item() local 556 buf_len = buf->len; in settings_remove_item() [all …]
|
D | settings_nvs.h | 44 uint8_t *buf, size_t buf_len, bool *exist); 45 int bt_mesh_load_core_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist); 46 int bt_mesh_load_uid_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist);
|
/hal_espressif-latest/components/wpa_supplicant/src/utils/ |
D | json.c | 68 size_t max_len, buf_len; in json_parse_string() local 74 buf_len = max_len > 10 ? 10 : max_len; in json_parse_string() 75 str = os_malloc(buf_len); in json_parse_string() 79 s_end = str + buf_len; in json_parse_string() 82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string() 87 buf_len *= 2; in json_parse_string() 88 if (buf_len > max_len) in json_parse_string() 89 buf_len = max_len; in json_parse_string() 90 tmp = os_realloc(str, buf_len); in json_parse_string() 95 s_end = str + buf_len; in json_parse_string()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_pars_tg.c | 43 UINT8 *p_buf, UINT16 buf_len) in avrc_pars_vendor_cmd() argument 134 for (xx = 0; ((xx < p_result->set_app_val.num_val) && (buf_len > size_needed)); xx++) { in avrc_pars_vendor_cmd() 280 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) in AVRC_ParsCommand() argument 288 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len); in AVRC_ParsCommand()
|
/hal_espressif-latest/components/mbedtls/port/include/sha/ |
D | sha_dma.h | 96 const void *buf, uint32_t buf_len, bool is_first_block);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_sr.c | 51 UINT16 buf_len; in gatt_send_packet() local 58 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatt_send_packet() 59 if ((p_msg = (BT_HDR *)osi_malloc(buf_len)) == NULL) { in gatt_send_packet() 63 memset(p_msg, 0, buf_len); in gatt_send_packet() 986 UINT16 s_hdl = 0, e_hdl = 0, buf_len; in gatts_process_find_info() local 995 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatts_process_find_info() 997 if ((p_msg = (BT_HDR *)osi_calloc(buf_len)) == NULL) { in gatts_process_find_info() 1006 buf_len = p_tcb->payload_size - 2; in gatts_process_find_info() 1016 reason = gatt_build_find_info_rsp(p_rcb, p_msg, &buf_len, s_hdl, e_hdl); in gatts_process_find_info() 1118 buf_len, in gatts_process_read_by_type_req() local [all …]
|
/hal_espressif-latest/components/esp_wifi/include/ |
D | esp_wifi_crypto_types.h | 130 … const unsigned char *data, int data_len, unsigned char *buf, int buf_len); 202 … const unsigned char *data, unsigned int data_len, unsigned char *buf, unsigned int buf_len);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/include/ |
D | bta_hf_client_at.h | 77 UINT16 buf_len; member
|
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/ |
D | wpa_ft.c | 160 size_t buf_len; in wpa_ft_gen_req_ies() local 170 buf_len = 2 + sizeof(struct rsn_mdie) + 2 + sizeof(struct rsn_ftie) + in wpa_ft_gen_req_ies() 172 buf = os_zalloc(buf_len); in wpa_ft_gen_req_ies() 258 mdie_len = wpa_ft_add_mdie(sm, pos, buf_len - (pos - buf), ap_mdie); in wpa_ft_gen_req_ies() 383 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_ft_add_mdie() argument 389 if (buf_len < 2 + sizeof(*mdie)) { in wpa_ft_add_mdie() 392 buf_len); in wpa_ft_add_mdie()
|