Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_sha256.c328 tmp_len = AVB_SHA256_BLOCK_SIZE - ctx->len; in avb_sha256_update()
333 if (ctx->len + len < AVB_SHA256_BLOCK_SIZE) { in avb_sha256_update()
339 block_nb = new_len / AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
346 rem_len = new_len % AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
363 (1 + ((AVB_SHA256_BLOCK_SIZE - 9) < (ctx->len % AVB_SHA256_BLOCK_SIZE))); in avb_sha256_final()
Davb_sha.h44 #define AVB_SHA256_BLOCK_SIZE 64 macro
55 uint8_t block[2 * AVB_SHA256_BLOCK_SIZE];