Home
last modified time | relevance | path

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

/external/mmc-utils/3rdparty/hmac_sha/
Dsha2.c395 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/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()