Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cryptolib/
Dpadding.c214 SHA512_BLOCK_SIZE,
217 SHA512_BLOCK_SIZE,
220 SHA512_BLOCK_SIZE,
223 SHA512_BLOCK_SIZE,
Dsha512.c272 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()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h24 #define SHA512_BLOCK_SIZE 128 macro
51 uint8_t block[2 * SHA512_BLOCK_SIZE];