Skip to content

crypto: use kfree_sensitive()

Denis Efremov linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- if (op->len) check removed

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: inside-secure - use kfree_sensitive()drivers/crypto/inside-secure/safexcel_hash.c+1 -25 replies
2/4crypto: amlogic - use kfree_sensitive()drivers/crypto/amlogic/amlogic-gxl-cipher.c+2 -81 reply
3/4crypto: sun8i-ce - use kfree_sensitive()drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c+3 -121 reply
4/4crypto: sun8i-ss - use kfree_sensitive()drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c+3 -121 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCorentin LabbeAntoine TenartPascal van Leeuwen
1/4A-b T-b
2/4T-b A-b
3/4A-b T-b
4/4A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] crypto: use kfree_sensitive()

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(-)
Signature · 1 line
2.26.2