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()
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()
341 if (tfm_ctx->fbk_cipher) { in zynqmp_aes_aead_exit()
342 crypto_free_aead(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_exit()
343 tfm_ctx->fbk_cipher = NULL; in zynqmp_aes_aead_exit()