Home
last modified time | relevance | path

Searched refs:SHA256_BLOCK_SZ (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-latest/components/esp_hw_support/
Desp_hmac.c24 #define SHA256_BLOCK_SZ 64 macro
50 bzero(block + data_len + 1, SHA256_BLOCK_SZ - data_len - 1); in write_and_padd()
82 if (message_len + 1 + SHA256_PAD_SZ <= SHA256_BLOCK_SZ) { in esp_hmac_calculate()
85 uint8_t block[SHA256_BLOCK_SZ]; in esp_hmac_calculate()
90 memcpy(block + SHA256_BLOCK_SZ - sizeof(bit_len), in esp_hmac_calculate()
97 size_t remaining_blocks = message_len / SHA256_BLOCK_SZ; in esp_hmac_calculate()
100 message_bytes += SHA256_BLOCK_SZ; in esp_hmac_calculate()
107 message_bytes += SHA256_BLOCK_SZ; in esp_hmac_calculate()
110 size_t remaining = message_len % SHA256_BLOCK_SZ; in esp_hmac_calculate()
112 uint8_t block[SHA256_BLOCK_SZ]; in esp_hmac_calculate()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dhmac_ll.h18 #define SHA256_BLOCK_SZ 64 macro
112 for (size_t i = 0; i < SHA256_BLOCK_SZ / REG_WIDTH; i++) { in hmac_ll_write_block_512()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dhmac_ll.h21 #define SHA256_BLOCK_SZ 64 macro
115 for (size_t i = 0; i < SHA256_BLOCK_SZ / REG_WIDTH; i++) { in hmac_ll_write_block_512()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dhmac_ll.h29 #define SHA256_BLOCK_SZ 64 macro
123 for (size_t i = 0; i < SHA256_BLOCK_SZ / REG_WIDTH; i++) { in hmac_ll_write_block_512()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dhmac_ll.h21 #define SHA256_BLOCK_SZ 64 macro
115 for (size_t i = 0; i < SHA256_BLOCK_SZ / REG_WIDTH; i++) { in hmac_ll_write_block_512()