Searched refs:shash_tfm (Results 1 – 1 of 1) sorted by relevance
57 struct crypto_shash *shash_tfm; member175 ctx_p->shash_tfm = crypto_alloc_shash("sha256", 0, 0); in cc_cipher_init()176 if (IS_ERR(ctx_p->shash_tfm)) { in cc_cipher_init()178 return PTR_ERR(ctx_p->shash_tfm); in cc_cipher_init()227 crypto_free_shash(ctx_p->shash_tfm); in cc_cipher_init()247 crypto_free_shash(ctx_p->shash_tfm); in cc_cipher_exit()248 ctx_p->shash_tfm = NULL; in cc_cipher_exit()478 err = crypto_shash_tfm_digest(ctx_p->shash_tfm, in cc_cipher_setkey()
Completed in 4 milliseconds