Lines Matching refs:fallback_tfm
58 struct crypto_skcipher *fallback_tfm; member
183 ctx_p->fallback_tfm = in cc_cipher_init()
186 if (IS_ERR(ctx_p->fallback_tfm)) { in cc_cipher_init()
192 ctx_p->fallback_tfm = NULL; in cc_cipher_init()
194 fallback_req_size = crypto_skcipher_reqsize(ctx_p->fallback_tfm); in cc_cipher_init()
226 crypto_free_skcipher(ctx_p->fallback_tfm); in cc_cipher_init()
249 crypto_free_skcipher(ctx_p->fallback_tfm); in cc_cipher_exit()
250 ctx_p->fallback_tfm = NULL; in cc_cipher_exit()
429 if (likely(ctx_p->fallback_tfm)) { in cc_cipher_setkey()
431 crypto_skcipher_clear_flags(ctx_p->fallback_tfm, in cc_cipher_setkey()
433 crypto_skcipher_clear_flags(ctx_p->fallback_tfm, flags); in cc_cipher_setkey()
434 return crypto_skcipher_setkey(ctx_p->fallback_tfm, key, keylen); in cc_cipher_setkey()
917 skcipher_request_set_tfm(subreq, ctx_p->fallback_tfm); in cc_cipher_process()