lkml.org 
[lkml]   [2020]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/4] crypto: use kfree_sensitive()
On Thu, Aug 27, 2020 at 09:43:58AM +0300, Denis Efremov wrote:
> kfree_sensitive() is introduced in commit 453431a54934
> ("mm, treewide: rename kzfree() to kfree_sensitive()") and uses
> memzero_explicit() internally. Thus, we can switch to this API
> instead of open-coding memzero_explicit() && kfree().
>
> Changes in v2:
> - if (op->len) check removed
>
> Denis Efremov (4):
> crypto: inside-secure - use kfree_sensitive()
> crypto: amlogic - use kfree_sensitive()
> crypto: sun8i-ce - use kfree_sensitive()
> crypto: sun8i-ss - use kfree_sensitive()
>
> .../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 15 +++------------
> .../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 15 +++------------
> drivers/crypto/amlogic/amlogic-gxl-cipher.c | 10 ++--------
> drivers/crypto/inside-secure/safexcel_hash.c | 3 +--
> 4 files changed, 9 insertions(+), 34 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2020-09-04 10:28    [W:0.169 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site