mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
crypto: zynqmp - Remove prepare/unprepare request
The callbacks for prepare and unprepare request in crypto_engine is superfluous. They can be done directly from do_one_request. Move the code into do_one_request and remove the unused callbacks. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
fc0bdcb830
commit
be8b8a950f
1 changed files with 0 additions and 2 deletions
|
@ -316,8 +316,6 @@ static int zynqmp_aes_aead_init(struct crypto_aead *aead)
|
|||
tfm_ctx->dev = drv_ctx->dev;
|
||||
|
||||
tfm_ctx->engine_ctx.op.do_one_request = zynqmp_handle_aes_req;
|
||||
tfm_ctx->engine_ctx.op.prepare_request = NULL;
|
||||
tfm_ctx->engine_ctx.op.unprepare_request = NULL;
|
||||
|
||||
tfm_ctx->fbk_cipher = crypto_alloc_aead(drv_ctx->alg.aead.base.cra_name,
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue