Home
last modified time | relevance | path

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

/u-boot/lib/libavb/
A Davb_sha.h29 #define AVB_SHA512_BLOCK_SIZE 128 macro
45 uint8_t block[2 * AVB_SHA512_BLOCK_SIZE];
A Davb_sha512.c299 tmp_len = AVB_SHA512_BLOCK_SIZE - ctx->len; in avb_sha512_update()
304 if (ctx->len + len < AVB_SHA512_BLOCK_SIZE) { in avb_sha512_update()
310 block_nb = new_len / AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
317 rem_len = new_len % AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
335 1 + ((AVB_SHA512_BLOCK_SIZE - 17) < (ctx->len % AVB_SHA512_BLOCK_SIZE)); in avb_sha512_final()

Completed in 3 milliseconds