Home
last modified time | relevance | path

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

/u-boot/lib/libavb/
A Davb_sha256.c111 size_t block_nb) { in SHA256_transform() argument
122 for (i = 0; i < block_nb; i++) { in SHA256_transform()
309 size_t block_nb; in avb_sha256_update() local
324 block_nb = new_len / AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
329 SHA256_transform(ctx, shifted_data, block_nb); in avb_sha256_update()
333 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
336 ctx->tot_len += (block_nb + 1) << 6; in avb_sha256_update()
340 size_t block_nb; in avb_sha256_final() local
347 block_nb = in avb_sha256_final()
351 pm_len = block_nb << 6; in avb_sha256_final()
[all …]
A Davb_sha512.c130 size_t block_nb) { in SHA512_transform() argument
137 for (i = 0; i < block_nb; i++) { in SHA512_transform()
295 size_t block_nb; in avb_sha512_update() local
310 block_nb = new_len / AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
315 SHA512_transform(ctx, shifted_data, block_nb); in avb_sha512_update()
319 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
322 ctx->tot_len += (block_nb + 1) << 7; in avb_sha512_update()
326 size_t block_nb; in avb_sha512_final() local
334 block_nb = in avb_sha512_final()
338 pm_len = block_nb << 7; in avb_sha512_final()
[all …]

Completed in 5 milliseconds