Home
last modified time | relevance | path

Searched refs:block_bytes (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/mbedtls/port/aes/dma/
Desp_aes.c341 unsigned block_bytes = len - stream_bytes; // bytes which are in a full block in esp_aes_process_dma() local
342 unsigned blocks = (block_bytes / AES_BLOCK_BYTES) + ((stream_bytes > 0) ? 1 : 0); in esp_aes_process_dma()
361 if (block_bytes > 0) { in esp_aes_process_dma()
368 …if ((((intptr_t)(output) & (DCACHE_LINE_SIZE - 1)) != 0) || (block_bytes % DCACHE_LINE_SIZE != 0))… in esp_aes_process_dma()
389 …lldesc_num = lldesc_get_required_num_constrained(block_bytes, LLDESC_MAX_NUM_PER_DESC_16B_ALIGNED); in esp_aes_process_dma()
402 lldesc_setup_link(block_in_desc, input, block_bytes, 0); in esp_aes_process_dma()
404 …lldesc_setup_link_constrained(block_out_desc, output, block_bytes, LLDESC_MAX_NUM_PER_DESC_16B_ALI… in esp_aes_process_dma()
422 memcpy(s_stream_in, input + block_bytes, stream_bytes); in esp_aes_process_dma()
464 if (block_bytes > 0) { in esp_aes_process_dma()
466 Cache_Invalidate_Addr((uint32_t)output, block_bytes); in esp_aes_process_dma()
[all …]
/hal_espressif-latest/components/bootloader_support/src/esp32/
Dbootloader_sha.c86 int block_bytes = (words_hashed % BLOCK_WORDS) * 4; in bootloader_sha256_finish() local
87 int pad_bytes = 55 - block_bytes; in bootloader_sha256_finish()
/hal_espressif-latest/components/mbedtls/port/aes/
Desp_aes_gcm.c685 unsigned block_bytes = aad_len - stream_bytes; // bytes which are in a full block in esp_aes_gcm_crypt_and_tag() local
730 if (block_bytes > 0) { in esp_aes_gcm_crypt_and_tag()
731 aad_desc[0].length = block_bytes; in esp_aes_gcm_crypt_and_tag()
732 aad_desc[0].size = block_bytes; in esp_aes_gcm_crypt_and_tag()
738 memcpy(stream_in, aad + block_bytes, stream_bytes); in esp_aes_gcm_crypt_and_tag()
747 if (block_bytes > 0) { in esp_aes_gcm_crypt_and_tag()