Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ux500/hash/
Dhash_core.c218 u8 *zero_hash, u32 *zero_hash_size, bool *zero_digest) in get_empty_message_digest() argument
230 memcpy(zero_hash, &sha1_zero_message_hash[0], in get_empty_message_digest()
236 memcpy(zero_hash, &sha256_zero_message_hash[0], in get_empty_message_digest()
249 memcpy(zero_hash, &zero_message_hmac_sha1[0], in get_empty_message_digest()
254 memcpy(zero_hash, &zero_message_hmac_sha256[0], in get_empty_message_digest()
983 u8 zero_hash[SHA256_DIGEST_SIZE]; in hash_hw_final() local
990 ret = get_empty_message_digest(device_data, &zero_hash[0], in hash_hw_final()
994 memcpy(req->result, &zero_hash[0], ctx->digestsize); in hash_hw_final()