Searched refs:fbk_cipher (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 70 struct crypto_aead *fbk_cipher; member 219 aead_request_set_tfm(subreq, tfm_ctx->fbk_cipher); in zynqmp_handle_aes_req() 263 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in zynqmp_aes_aead_setkey() 264 tfm_ctx->fbk_cipher->base.crt_flags |= (aead->base.crt_flags & in zynqmp_aes_aead_setkey() 267 return crypto_aead_setkey(tfm_ctx->fbk_cipher, key, keylen); in zynqmp_aes_aead_setkey() 278 return crypto_aead_setauthsize(tfm_ctx->fbk_cipher, authsize); in zynqmp_aes_aead_setauthsize() 318 tfm_ctx->fbk_cipher = crypto_alloc_aead(drv_ctx->alg.aead.base.base.cra_name, in zynqmp_aes_aead_init() 322 if (IS_ERR(tfm_ctx->fbk_cipher)) { in zynqmp_aes_aead_init() 325 return PTR_ERR(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_init() 331 crypto_aead_reqsize(tfm_ctx->fbk_cipher))); in zynqmp_aes_aead_init() [all …]
|
/linux-6.6.21/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 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() [all …]
|
D | otx2_cptvf_algs.h | 125 struct crypto_skcipher *fbk_cipher; member 163 struct crypto_aead *fbk_cipher; member
|