Lines Matching refs:fbk_cipher
332 if (ctx->fbk_cipher) { in skcipher_do_fallback()
333 skcipher_request_set_tfm(&rctx->sk_fbk_req, ctx->fbk_cipher); in skcipher_do_fallback()
436 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_skcipher_xts_setkey()
453 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_des_setkey()
484 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_aes_setkey()
515 ctx->fbk_cipher = in cpt_skcipher_fallback_init()
519 if (IS_ERR(ctx->fbk_cipher)) { in cpt_skcipher_fallback_init()
522 return PTR_ERR(ctx->fbk_cipher); in cpt_skcipher_fallback_init()
551 if (ctx->fbk_cipher) { in otx2_cpt_skcipher_exit()
552 crypto_free_skcipher(ctx->fbk_cipher); in otx2_cpt_skcipher_exit()
553 ctx->fbk_cipher = NULL; in otx2_cpt_skcipher_exit()
561 ctx->fbk_cipher = in cpt_aead_fallback_init()
565 if (IS_ERR(ctx->fbk_cipher)) { in cpt_aead_fallback_init()
568 return PTR_ERR(ctx->fbk_cipher); in cpt_aead_fallback_init()
693 if (ctx->fbk_cipher) { in otx2_cpt_aead_exit()
694 crypto_free_aead(ctx->fbk_cipher); in otx2_cpt_aead_exit()
695 ctx->fbk_cipher = NULL; in otx2_cpt_aead_exit()
709 if (ctx->fbk_cipher) in otx2_cpt_aead_gcm_set_authsize()
710 ctx->fbk_cipher->authsize = authsize; in otx2_cpt_aead_gcm_set_authsize()
1010 return crypto_aead_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_aead_gcm_aes_setkey()
1266 if (ctx->fbk_cipher) { in aead_do_fallback()
1268 aead_request_set_tfm(&rctx->fbk_req, ctx->fbk_cipher); in aead_do_fallback()