Searched refs:SHA512_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance
195 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process()198 md->length += SHA512_BLOCK_SIZE * 8; in sha512_process()199 in += SHA512_BLOCK_SIZE; in sha512_process()200 inlen -= SHA512_BLOCK_SIZE; in sha512_process()202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process()207 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process()210 md->length += 8 * SHA512_BLOCK_SIZE; in sha512_process()
12 #define SHA512_BLOCK_SIZE 128 macro17 u8 buf[SHA512_BLOCK_SIZE];
14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
214 SHA512_BLOCK_SIZE,217 SHA512_BLOCK_SIZE,220 SHA512_BLOCK_SIZE,223 SHA512_BLOCK_SIZE,
272 tmp_len = SHA512_BLOCK_SIZE - ctx->len; in SHA512_update()277 if (ctx->len + len < SHA512_BLOCK_SIZE) { in SHA512_update()283 block_nb = new_len / SHA512_BLOCK_SIZE; in SHA512_update()290 rem_len = new_len % SHA512_BLOCK_SIZE; in SHA512_update()309 block_nb = 1 + ((SHA512_BLOCK_SIZE - 17) in SHA512_final()310 < (ctx->len % SHA512_BLOCK_SIZE)); in SHA512_final()
26 #define SHA512_BLOCK_SIZE (128) macro38 unsigned char leftover[SHA512_BLOCK_SIZE];
24 #define SHA512_BLOCK_SIZE 128 macro51 uint8_t block[2 * SHA512_BLOCK_SIZE];
45 if (s->leftover_offset >= SHA512_BLOCK_SIZE) { in tinysha512_update()48 s->bits_hashed_low += (SHA512_BLOCK_SIZE << 3); in tinysha512_update()