Searched refs:shash_tfm (Results 1 – 1 of 1) sorted by relevance
57 struct crypto_shash *shash_tfm; member172 ctx_p->shash_tfm = crypto_alloc_shash("sha256", 0, 0); in cc_cipher_init()173 if (IS_ERR(ctx_p->shash_tfm)) { in cc_cipher_init()175 return PTR_ERR(ctx_p->shash_tfm); in cc_cipher_init()224 crypto_free_shash(ctx_p->shash_tfm); in cc_cipher_init()244 crypto_free_shash(ctx_p->shash_tfm); in cc_cipher_exit()245 ctx_p->shash_tfm = NULL; in cc_cipher_exit()475 err = crypto_shash_tfm_digest(ctx_p->shash_tfm, in cc_cipher_setkey()