Home
last modified time | relevance | path

Searched refs:VB2_SHA512_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha512.c284 tmp_size = VB2_SHA512_BLOCK_SIZE - ctx->size; in vb2_sha512_update()
289 if (ctx->size + size < VB2_SHA512_BLOCK_SIZE) { in vb2_sha512_update()
295 block_nb = new_size / VB2_SHA512_BLOCK_SIZE; in vb2_sha512_update()
302 rem_size = new_size % VB2_SHA512_BLOCK_SIZE; in vb2_sha512_update()
321 block_nb = 1 + ((VB2_SHA512_BLOCK_SIZE - 17) in vb2_sha512_finalize()
322 < (ctx->size % VB2_SHA512_BLOCK_SIZE)); in vb2_sha512_finalize()
/external/vboot_reference/firmware/2lib/include/
D2sha.h55 #define VB2_SHA512_BLOCK_SIZE 128 macro
61 uint8_t block[2 * VB2_SHA512_BLOCK_SIZE];