Searched refs:SHA512_BLOCK_SIZE (Results 1 – 9 of 9) 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()
24 #define SHA512_BLOCK_SIZE 128 macro51 uint8_t block[2 * SHA512_BLOCK_SIZE];
89 # define DEFAULT_TEST_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE
102 #define SHA512_BLOCK_SIZE 128 macro370 MAX(ALG_SHA512 * SHA512_BLOCK_SIZE, \
439 #define SHA512_BLOCK_SIZE 128 macro1107 MAX(ALG_SHA512 * SHA512_BLOCK_SIZE, \