Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Djitterentropy-kcapi.c98 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_hash_time() local
99 SHASH_DESC_ON_STACK(desc, hash_state_desc->tfm); in jent_hash_time()
104 desc->tfm = hash_state_desc->tfm; in jent_hash_time()
151 ret = crypto_shash_update(hash_state_desc, (u8 *)&time, in jent_hash_time()
164 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_read_random_block() local
167 int ret = crypto_shash_final(hash_state_desc, jent_block) ?: in jent_read_random_block()
168 crypto_shash_init(hash_state_desc) ?: in jent_read_random_block()
169 crypto_shash_update(hash_state_desc, jent_block, in jent_read_random_block()