Lines Matching refs:fbk_cipher
333 if (ctx->fbk_cipher) { in skcipher_do_fallback()
334 skcipher_request_set_tfm(&rctx->sk_fbk_req, ctx->fbk_cipher); in skcipher_do_fallback()
437 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_skcipher_xts_setkey()
454 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_des_setkey()
485 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_aes_setkey()
516 ctx->fbk_cipher = in cpt_skcipher_fallback_init()
520 if (IS_ERR(ctx->fbk_cipher)) { in cpt_skcipher_fallback_init()
523 return PTR_ERR(ctx->fbk_cipher); in cpt_skcipher_fallback_init()
552 if (ctx->fbk_cipher) { in otx2_cpt_skcipher_exit()
553 crypto_free_skcipher(ctx->fbk_cipher); in otx2_cpt_skcipher_exit()
554 ctx->fbk_cipher = NULL; in otx2_cpt_skcipher_exit()
562 ctx->fbk_cipher = in cpt_aead_fallback_init()
566 if (IS_ERR(ctx->fbk_cipher)) { in cpt_aead_fallback_init()
569 return PTR_ERR(ctx->fbk_cipher); in cpt_aead_fallback_init()
709 if (ctx->fbk_cipher) { in otx2_cpt_aead_exit()
710 crypto_free_aead(ctx->fbk_cipher); in otx2_cpt_aead_exit()
711 ctx->fbk_cipher = NULL; in otx2_cpt_aead_exit()
725 if (ctx->fbk_cipher) in otx2_cpt_aead_gcm_set_authsize()
726 ctx->fbk_cipher->authsize = authsize; in otx2_cpt_aead_gcm_set_authsize()
936 return crypto_aead_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_aead_gcm_aes_setkey()
1192 if (ctx->fbk_cipher) { in aead_do_fallback()
1194 aead_request_set_tfm(&rctx->fbk_req, ctx->fbk_cipher); in aead_do_fallback()