Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/libavb/
H A Davb_sha256.c301 tmp_len = AVB_SHA256_BLOCK_SIZE - ctx->len; in avb_sha256_update()
306 if (ctx->len + len < AVB_SHA256_BLOCK_SIZE) { in avb_sha256_update()
312 block_nb = new_len / AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
319 rem_len = new_len % AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
336 (1 + ((AVB_SHA256_BLOCK_SIZE - 9) < (ctx->len % AVB_SHA256_BLOCK_SIZE))); in avb_sha256_final()
H A Davb_sha.h25 #define AVB_SHA256_BLOCK_SIZE 64 macro
36 uint8_t block[2 * AVB_SHA256_BLOCK_SIZE];