Searched refs:sdesc (Results 1 – 2 of 2) sorted by relevance
198 struct shash_desc *sdesc; member207 if (rng->sdesc) { in jent_kcapi_cleanup()208 shash_desc_zero(rng->sdesc); in jent_kcapi_cleanup()209 kfree(rng->sdesc); in jent_kcapi_cleanup()211 rng->sdesc = NULL; in jent_kcapi_cleanup()227 struct shash_desc *sdesc; in jent_kcapi_init() local250 if (!sdesc) { in jent_kcapi_init()255 sdesc->tfm = hash; in jent_kcapi_init()256 crypto_shash_init(sdesc); in jent_kcapi_init()257 rng->sdesc = sdesc; in jent_kcapi_init()[all …]
1659 struct sdesc { struct1666 struct sdesc *sdesc; in drbg_init_hash_kernel() local1678 if (!sdesc) { in drbg_init_hash_kernel()1683 sdesc->shash.tfm = tfm; in drbg_init_hash_kernel()1684 drbg->priv_data = sdesc; in drbg_init_hash_kernel()1691 struct sdesc *sdesc = drbg->priv_data; in drbg_fini_hash_kernel() local1692 if (sdesc) { in drbg_fini_hash_kernel()1694 kfree_sensitive(sdesc); in drbg_fini_hash_kernel()1703 struct sdesc *sdesc = drbg->priv_data; in drbg_kcapi_hmacsetkey() local1711 struct sdesc *sdesc = drbg->priv_data; in drbg_kcapi_hash() local[all …]
Completed in 12 milliseconds