Searched refs:pm_len (Results 1 – 4 of 4) sorted by relevance
/external/avb/libavb/sha/ |
D | sha512_impl.c | 359 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()
|
D | sha256_impl.c | 373 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/ |
D | sha256.c | 279 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()
|
D | sha512.c | 302 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()
|