linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] crypto: use kfree_sensitive()
@ 2020-08-27  6:43 Denis Efremov
  2020-08-27  6:43 ` [PATCH v2 1/4] crypto: inside-secure - " Denis Efremov
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Denis Efremov @ 2020-08-27  6:43 UTC (permalink / raw)
  To: linux-crypto; +Cc: Denis Efremov, Corentin Labbe, Herbert Xu, linux-kernel

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(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-09-04  9:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27  6:43 [PATCH v2 0/4] crypto: use kfree_sensitive() Denis Efremov
2020-08-27  6:43 ` [PATCH v2 1/4] crypto: inside-secure - " Denis Efremov
2020-08-27 14:52   ` Corentin Labbe
2020-09-02  9:02   ` Antoine Tenart
2020-09-02 13:10   ` Van Leeuwen, Pascal
2020-09-04  8:55     ` Denis Efremov
2020-09-04  9:44       ` Van Leeuwen, Pascal
2020-08-27  6:44 ` [PATCH v2 2/4] crypto: amlogic " Denis Efremov
2020-08-27 14:50   ` Corentin Labbe
2020-08-27  6:44 ` [PATCH v2 3/4] crypto: sun8i-ce " Denis Efremov
2020-08-27 14:40   ` Corentin Labbe
2020-08-27  6:44 ` [PATCH v2 4/4] crypto: sun8i-ss " Denis Efremov
2020-08-27 14:41   ` Corentin Labbe
2020-09-04  8:28 ` [PATCH v2 0/4] crypto: " Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).