Searched refs:pm_len (Results 1 – 5 of 5) sorted by relevance
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.c | 395 unsigned int pm_len; in sha256_final() local 406 pm_len = block_nb << 6; in sha256_final() 408 memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in sha256_final() 410 UNPACK32(len_b, ctx->block + pm_len - 4); in sha256_final() 592 unsigned int pm_len; in sha512_final() local 603 pm_len = block_nb << 7; in sha512_final() 605 memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in sha512_final() 607 UNPACK32(len_b, ctx->block + pm_len - 4); in sha512_final() 694 unsigned int pm_len; in sha384_final() local 705 pm_len = block_nb << 7; in sha384_final() [all …]
|
/external/avb/libavb/ |
D | avb_sha256.c | 356 unsigned int pm_len; in avb_sha256_final() local 366 pm_len = block_nb << 6; in avb_sha256_final() 368 avb_memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in avb_sha256_final() 370 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha256_final()
|
D | avb_sha512.c | 354 unsigned int pm_len; in avb_sha512_final() local 365 pm_len = block_nb << 7; in avb_sha512_final() 367 avb_memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in avb_sha512_final() 369 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha512_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()
|