Re: [PATCH] crypto: xilinx - use kfree_sensitive() in cleanup paths
From: Herbert Xu
Date: Fri Sep 18 2026 - 05:54:57 EST
On Tue, Sep 08, 2026 at 09:00:00PM +0200, Thorsten Blum wrote:
> In zynqmp_aes_aead_cipher() and versal_aes_aead_cipher(), replace
> memzero_explicit() followed by kfree() with kfree_sensitive() to
> simplify the code.
>
> Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
> ---
> drivers/crypto/xilinx/zynqmp-aes-gcm.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt