Home
last modified time | relevance | path

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

/external/avb/libavb/sha/
Davb_crypto_ops_impl.h46 #define AVB_SHA512_BLOCK_SIZE 128 macro
61 uint8_t block[2 * AVB_SHA512_BLOCK_SIZE];
Dsha512_impl.c330 tmp_len = AVB_SHA512_BLOCK_SIZE - ctx->len; in avb_sha512_update()
335 if (ctx->len + len < AVB_SHA512_BLOCK_SIZE) { in avb_sha512_update()
341 block_nb = new_len / AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
348 rem_len = new_len % AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
367 1 + ((AVB_SHA512_BLOCK_SIZE - 17) < (ctx->len % AVB_SHA512_BLOCK_SIZE)); in avb_sha512_final()