[PATCH] crypto: xilinx - use kfree_sensitive() in cleanup paths
Herbert Xu
herbert at gondor.apana.org.au
Fri Sep 18 02:54:22 PDT 2026
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 at kernel.org>
> ---
> drivers/crypto/xilinx/zynqmp-aes-gcm.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list