Thread (1 message) 1 message, 1 author, 2021-07-16

Re: [PATCH] crypto: sun8i-ss - Use kfree_sensitive

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-07-16 07:28:19
Also in: linux-arm-kernel, linux-sunxi, lkml

On Thu, Jul 01, 2021 at 09:22:00PM +0800, Jason Wang wrote:
The kfree_sensitive is a kernel API to clear sensitive information
that should not be leaked to other future users of the same memory
objects and free the memory. Its function is the same as the
combination of memzero_explicit and kfree. Thus, we can replace the
combination APIs with the single kfree_sensitive API.

Signed-off-by: Jason Wang <redacted>
---
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
I don't know what happened but this patch didn't make it into
patchwork.  Could you please check and resubmit?

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help