Home
last modified time | relevance | path

Searched refs:fbk_cipher (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c70 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()
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()
344 if (tfm_ctx->fbk_cipher) { in zynqmp_aes_aead_exit()
345 crypto_free_aead(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_exit()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c333 if (ctx->fbk_cipher) { in skcipher_do_fallback()
516 ctx->fbk_cipher = in cpt_skcipher_fallback_init()
520 if (IS_ERR(ctx->fbk_cipher)) { in cpt_skcipher_fallback_init()
552 if (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()
709 if (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()
[all …]
H A Dotx2_cptvf_algs.h125 struct crypto_skcipher *fbk_cipher; member
163 struct crypto_aead *fbk_cipher; member