Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 3 of 3) sorted by relevance

/u-boot/lib/libavb/
A Davb_sha256.c310 size_t new_len, rem_len, tmp_len; in avb_sha256_update() local
314 rem_len = len < tmp_len ? len : tmp_len; in avb_sha256_update()
316 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update()
323 new_len = len - rem_len; in avb_sha256_update()
326 shifted_data = data + rem_len; in avb_sha256_update()
331 rem_len = new_len % AVB_SHA256_BLOCK_SIZE; in avb_sha256_update()
333 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
335 ctx->len = rem_len; in avb_sha256_update()
A Davb_sha512.c296 size_t new_len, rem_len, tmp_len; in avb_sha512_update() local
300 rem_len = len < tmp_len ? len : tmp_len; in avb_sha512_update()
302 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update()
309 new_len = len - rem_len; in avb_sha512_update()
312 shifted_data = data + rem_len; in avb_sha512_update()
317 rem_len = new_len % AVB_SHA512_BLOCK_SIZE; in avb_sha512_update()
319 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
321 ctx->len = rem_len; in avb_sha512_update()
/u-boot/lib/
A Dcrc32.c188 size_t rem_len; in crc32_no_comp() local
203 rem_len = len & 3; in crc32_no_comp()
213 len = rem_len; in crc32_no_comp()

Completed in 7 milliseconds