Searched refs:VB2_SHA512_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
284 tmp_size = VB2_SHA512_BLOCK_SIZE - ctx->size; in vb2_sha512_update()289 if (ctx->size + size < VB2_SHA512_BLOCK_SIZE) { in vb2_sha512_update()295 block_nb = new_size / VB2_SHA512_BLOCK_SIZE; in vb2_sha512_update()302 rem_size = new_size % VB2_SHA512_BLOCK_SIZE; in vb2_sha512_update()321 block_nb = 1 + ((VB2_SHA512_BLOCK_SIZE - 17) in vb2_sha512_finalize()322 < (ctx->size % VB2_SHA512_BLOCK_SIZE)); in vb2_sha512_finalize()
55 #define VB2_SHA512_BLOCK_SIZE 128 macro61 uint8_t block[2 * VB2_SHA512_BLOCK_SIZE];