Home
last modified time | relevance | path

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

/crypto/
Ddrbg.c1573 struct sdesc { struct
1580 struct sdesc *sdesc; in drbg_init_hash_kernel() argument
1589 sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in drbg_init_hash_kernel()
1591 if (!sdesc) { in drbg_init_hash_kernel()
1596 sdesc->shash.tfm = tfm; in drbg_init_hash_kernel()
1597 sdesc->shash.flags = 0; in drbg_init_hash_kernel()
1598 drbg->priv_data = sdesc; in drbg_init_hash_kernel()
1604 struct sdesc *sdesc = (struct sdesc *)drbg->priv_data; in drbg_fini_hash_kernel() local
1605 if (sdesc) { in drbg_fini_hash_kernel()
1606 crypto_free_shash(sdesc->shash.tfm); in drbg_fini_hash_kernel()
[all …]