Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bootloader_support/src/esp32/
Dbootloader_sha.c16 static uint32_t words_hashed; variable
27 words_hashed = 0; in bootloader_sha256_start()
28 return (bootloader_sha256_handle_t)&words_hashed; // Meaningless non-NULL value in bootloader_sha256_start()
41 size_t block_count = words_hashed % BLOCK_WORDS; in bootloader_sha256_data()
56 words_hashed += copy_words; in bootloader_sha256_data()
63 if (words_hashed == BLOCK_WORDS) { in bootloader_sha256_data()
81 uint32_t data_words = words_hashed; in bootloader_sha256_finish()
86 int block_bytes = (words_hashed % BLOCK_WORDS) * 4; in bootloader_sha256_finish()
98 assert(words_hashed % BLOCK_WORDS == 60 / 4); // 32-bits left in block in bootloader_sha256_finish()
104 assert(words_hashed % BLOCK_WORDS == 0); in bootloader_sha256_finish()