Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/ccree/
Dcc_cipher.c62 struct crypto_shash *shash_tfm; member
200 ctx_p->shash_tfm = crypto_alloc_shash("sha256-generic", 0, 0); in cc_cipher_init()
201 if (IS_ERR(ctx_p->shash_tfm)) { in cc_cipher_init()
203 return PTR_ERR(ctx_p->shash_tfm); in cc_cipher_init()
225 crypto_free_shash(ctx_p->shash_tfm); in cc_cipher_exit()
226 ctx_p->shash_tfm = NULL; in cc_cipher_exit()
437 SHASH_DESC_ON_STACK(desc, ctx_p->shash_tfm); in cc_cipher_setkey()
439 desc->tfm = ctx_p->shash_tfm; in cc_cipher_setkey()