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()
322 tfm_ctx->fbk_cipher = crypto_alloc_aead(drv_ctx->alg.aead.base.cra_name, in zynqmp_aes_aead_init()
326 if (IS_ERR(tfm_ctx->fbk_cipher)) { in zynqmp_aes_aead_init()
329 return PTR_ERR(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_init()
335 crypto_aead_reqsize(tfm_ctx->fbk_cipher))); in zynqmp_aes_aead_init()
345 if (tfm_ctx->fbk_cipher) { in zynqmp_aes_aead_exit()
346 crypto_free_aead(tfm_ctx->fbk_cipher); in zynqmp_aes_aead_exit()
347 tfm_ctx->fbk_cipher = NULL; in zynqmp_aes_aead_exit()