Searched refs:SHA256_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process()160 md->length += SHA256_BLOCK_SIZE * 8; in sha256_process()161 in += SHA256_BLOCK_SIZE; in sha256_process()162 inlen -= SHA256_BLOCK_SIZE; in sha256_process()164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process()169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process()172 md->length += 8 * SHA256_BLOCK_SIZE; in sha256_process()206 while (md->curlen < SHA256_BLOCK_SIZE) { in sha256_done()
12 #define SHA256_BLOCK_SIZE 64 macro17 u8 buf[SHA256_BLOCK_SIZE];