Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
Djitterentropy-kcapi.c108 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_hash_time() local
109 SHASH_DESC_ON_STACK(desc, hash_state_desc->tfm); in jent_hash_time()
114 desc->tfm = hash_state_desc->tfm; in jent_hash_time()
161 ret = crypto_shash_update(hash_state_desc, (u8 *)&time, in jent_hash_time()
174 struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state; in jent_read_random_block() local
177 int ret = crypto_shash_final(hash_state_desc, jent_block) ?: in jent_read_random_block()
178 crypto_shash_init(hash_state_desc) ?: in jent_read_random_block()
179 crypto_shash_update(hash_state_desc, jent_block, in jent_read_random_block()