Searched refs:fbk_cipher (Results 1 – 3 of 3) sorted by relevance
/linux-6.14.4/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() 266 tfm_ctx->fbk_cipher->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in zynqmp_aes_aead_setkey() 267 tfm_ctx->fbk_cipher->base.crt_flags |= (aead->base.crt_flags & in zynqmp_aes_aead_setkey() 270 return crypto_aead_setkey(tfm_ctx->fbk_cipher, key, keylen); in zynqmp_aes_aead_setkey() 281 return crypto_aead_setauthsize(tfm_ctx->fbk_cipher, authsize); in zynqmp_aes_aead_setauthsize() 321 tfm_ctx->fbk_cipher = crypto_alloc_aead(drv_ctx->alg.aead.base.base.cra_name, in zynqmp_aes_aead_init() 325 if (IS_ERR(tfm_ctx->fbk_cipher)) { in zynqmp_aes_aead_init() 328 return PTR_ERR(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_init() 334 crypto_aead_reqsize(tfm_ctx->fbk_cipher))); in zynqmp_aes_aead_init() [all …]
|
/linux-6.14.4/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 334 if (ctx->fbk_cipher) { in skcipher_do_fallback() 335 skcipher_request_set_tfm(&rctx->sk_fbk_req, ctx->fbk_cipher); in skcipher_do_fallback() 441 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_skcipher_xts_setkey() 458 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_des_setkey() 489 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_aes_setkey() 520 ctx->fbk_cipher = in cpt_skcipher_fallback_init() 524 if (IS_ERR(ctx->fbk_cipher)) { in cpt_skcipher_fallback_init() 527 return PTR_ERR(ctx->fbk_cipher); in cpt_skcipher_fallback_init() 567 if (ctx->fbk_cipher) { in otx2_cpt_skcipher_exit() 568 crypto_free_skcipher(ctx->fbk_cipher); in otx2_cpt_skcipher_exit() [all …]
|
D | otx2_cptvf_algs.h | 126 struct crypto_skcipher *fbk_cipher; member 166 struct crypto_aead *fbk_cipher; member
|