Searched refs:VB2_SHA256_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
254 tmp_size = VB2_SHA256_BLOCK_SIZE - ctx->size; in vb2_sha256_update()259 if (ctx->size + size < VB2_SHA256_BLOCK_SIZE) { in vb2_sha256_update()265 block_nb = new_size / VB2_SHA256_BLOCK_SIZE; in vb2_sha256_update()272 rem_size = new_size % VB2_SHA256_BLOCK_SIZE; in vb2_sha256_update()290 block_nb = (1 + ((VB2_SHA256_BLOCK_SIZE - 9) in vb2_sha256_finalize()291 < (ctx->size % VB2_SHA256_BLOCK_SIZE))); in vb2_sha256_finalize()
45 #define VB2_SHA256_BLOCK_SIZE 64 macro51 uint8_t block[2 * VB2_SHA256_BLOCK_SIZE];