Searched refs:block_nb (Results 1 – 2 of 2) sorted by relevance
111 size_t block_nb) { in SHA256_transform() argument122 for (i = 0; i < block_nb; i++) { in SHA256_transform()309 size_t block_nb; in avb_sha256_update() local324 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() local347 block_nb = in avb_sha256_final()351 pm_len = block_nb << 6; in avb_sha256_final()[all …]
130 size_t block_nb) { in SHA512_transform() argument137 for (i = 0; i < block_nb; i++) { in SHA512_transform()295 size_t block_nb; in avb_sha512_update() local310 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() local334 block_nb = in avb_sha512_final()338 pm_len = block_nb << 7; in avb_sha512_final()[all …]
Completed in 5 milliseconds