Searched refs:BLOCK_WORDS (Results 1 – 1 of 1) sorted by relevance
19 static const size_t BLOCK_WORDS = (64 / sizeof(uint32_t)); variable41 size_t block_count = words_hashed % BLOCK_WORDS; in bootloader_sha256_data()42 size_t copy_words = (BLOCK_WORDS - block_count); in bootloader_sha256_data()62 if (block_count == BLOCK_WORDS) { in bootloader_sha256_data()63 if (words_hashed == BLOCK_WORDS) { in bootloader_sha256_data()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()