Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/2lib/
D2sha256.c254 tmp_size = VB2_SHA256_BLOCK_SIZE - ctx->size; in vb2_sha256_update()
259 if (ctx->size + size < VB2_SHA256_BLOCK_SIZE) { in vb2_sha256_update()
265 block_nb = new_size / VB2_SHA256_BLOCK_SIZE; in vb2_sha256_update()
272 rem_size = new_size % VB2_SHA256_BLOCK_SIZE; in vb2_sha256_update()
290 block_nb = (1 + ((VB2_SHA256_BLOCK_SIZE - 9) in vb2_sha256_finalize()
291 < (ctx->size % VB2_SHA256_BLOCK_SIZE))); in vb2_sha256_finalize()
/external/vboot_reference/firmware/2lib/include/
D2sha.h45 #define VB2_SHA256_BLOCK_SIZE 64 macro
51 uint8_t block[2 * VB2_SHA256_BLOCK_SIZE];