Lines Matching refs:desc
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()
106 if (sizeof(intermediary) != crypto_shash_digestsize(desc->tfm)) { in jent_hash_time()
125 ret = crypto_shash_init(desc) ?: in jent_hash_time()
126 crypto_shash_update(desc, intermediary, in jent_hash_time()
128 crypto_shash_finup(desc, addtl, addtl_len, intermediary); in jent_hash_time()
137 ret = crypto_shash_update(desc, intermediary, sizeof(intermediary)); in jent_hash_time()
156 shash_desc_zero(desc); in jent_hash_time()
323 SHASH_DESC_ON_STACK(desc, tfm); in jent_mod_init()
335 desc->tfm = tfm; in jent_mod_init()
336 crypto_shash_init(desc); in jent_mod_init()
337 ret = jent_entropy_init(desc); in jent_mod_init()
338 shash_desc_zero(desc); in jent_mod_init()