Home
last modified time | relevance | path

Searched refs:pm_len (Results 1 – 4 of 4) sorted by relevance

/external/avb/libavb/sha/
Dsha512_impl.c359 size_t pm_len; in avb_sha512_final() local
370 pm_len = block_nb << 7; in avb_sha512_final()
372 avb_memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in avb_sha512_final()
374 UNPACK64(len_b, ctx->block + pm_len - 8); in avb_sha512_final()
Dsha256_impl.c373 size_t pm_len; in avb_sha256_final() local
383 pm_len = block_nb << 6; in avb_sha256_final()
385 avb_memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in avb_sha256_final()
387 UNPACK64(len_b, ctx->block + pm_len - 8); in avb_sha256_final()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c279 unsigned int pm_len; in SHA256_final() local
289 pm_len = block_nb << 6; in SHA256_final()
291 Memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in SHA256_final()
293 UNPACK32(len_b, ctx->block + pm_len - 4); in SHA256_final()
Dsha512.c302 unsigned int pm_len; in SHA512_final() local
313 pm_len = block_nb << 7; in SHA512_final()
315 Memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in SHA512_final()
317 UNPACK32(len_b, ctx->block + pm_len - 4); in SHA512_final()