Lines Matching refs:fallback_tfm
58 struct crypto_skcipher *fallback_tfm; member
180 ctx_p->fallback_tfm = in cc_cipher_init()
183 if (IS_ERR(ctx_p->fallback_tfm)) { in cc_cipher_init()
189 ctx_p->fallback_tfm = NULL; in cc_cipher_init()
191 fallback_req_size = crypto_skcipher_reqsize(ctx_p->fallback_tfm); in cc_cipher_init()
223 crypto_free_skcipher(ctx_p->fallback_tfm); in cc_cipher_init()
246 crypto_free_skcipher(ctx_p->fallback_tfm); in cc_cipher_exit()
247 ctx_p->fallback_tfm = NULL; in cc_cipher_exit()
426 if (likely(ctx_p->fallback_tfm)) { in cc_cipher_setkey()
428 crypto_skcipher_clear_flags(ctx_p->fallback_tfm, in cc_cipher_setkey()
430 crypto_skcipher_clear_flags(ctx_p->fallback_tfm, flags); in cc_cipher_setkey()
431 return crypto_skcipher_setkey(ctx_p->fallback_tfm, key, keylen); in cc_cipher_setkey()
914 skcipher_request_set_tfm(subreq, ctx_p->fallback_tfm); in cc_cipher_process()