Home
last modified time | relevance | path

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

/crypto/
A Djitterentropy-kcapi.c198 struct shash_desc *sdesc; member
207 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() local
250 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 …]
A Ddrbg.c1659 struct sdesc { struct
1666 struct sdesc *sdesc; in drbg_init_hash_kernel() local
1678 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() local
1692 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() local
1711 struct sdesc *sdesc = drbg->priv_data; in drbg_kcapi_hash() local
[all …]

Completed in 12 milliseconds