Lines Matching refs:fbk_cipher
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()
344 if (tfm_ctx->fbk_cipher) { in zynqmp_aes_aead_exit()
345 crypto_free_aead(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_exit()
346 tfm_ctx->fbk_cipher = NULL; in zynqmp_aes_aead_exit()