summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/xilinx/zynqmp-aes-gcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/xilinx/zynqmp-aes-gcm.c')
-rw-r--r--drivers/crypto/xilinx/zynqmp-aes-gcm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/xilinx/zynqmp-aes-gcm.c b/drivers/crypto/xilinx/zynqmp-aes-gcm.c
index bf1f421e0..74bd3eb63 100644
--- a/drivers/crypto/xilinx/zynqmp-aes-gcm.c
+++ b/drivers/crypto/xilinx/zynqmp-aes-gcm.c
@@ -231,7 +231,10 @@ static int zynqmp_handle_aes_req(struct crypto_engine *engine,
err = zynqmp_aes_aead_cipher(areq);
}
+ local_bh_disable();
crypto_finalize_aead_request(engine, areq, err);
+ local_bh_enable();
+
return 0;
}