Home
last modified time | relevance | path

Searched refs:SHA_SHA256_BLOCK_LEN (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_it8xxx2_sha.c33 #define SHA_SHA256_BLOCK_LEN 64 macro
36 #define SHA_SHA256_BLOCK_LEN_WORDS (SHA_SHA256_BLOCK_LEN / sizeof(uint32_t))
47 uint8_t w_input[SHA_SHA256_BLOCK_LEN];
141 if (chip_ctx.w_input_index >= SHA_SHA256_BLOCK_LEN) { in it8xxx2_hash_handler()
152 0, SHA_SHA256_BLOCK_LEN - chip_ctx.w_input_index); in it8xxx2_hash_handler()
158 0, SHA_SHA256_BLOCK_LEN - chip_ctx.w_input_index); in it8xxx2_hash_handler()
Dcrypto_it8xxx2_sha_v2.c46 #define SHA_SHA256_BLOCK_LEN 64 macro
49 #define SHA_SHA256_BLOCK_LEN_WORDS (SHA_SHA256_BLOCK_LEN / sizeof(uint32_t))
186 if (chip_ctx.w_input_index >= SHA_SHA256_BLOCK_LEN) { in it8xxx2_hash_handler()
207 0, SHA_SHA256_BLOCK_LEN - chip_ctx.w_input_index); in it8xxx2_hash_handler()
226 0, SHA_SHA256_BLOCK_LEN - chip_ctx.w_input_index); in it8xxx2_hash_handler()