Skip to content

crypto: Fix memcpy_sglist()

Eric Biggers linux-crypto lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Don't try to support arbitrary overlaps
- Use memcpy_page()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: scatterwalk - Fix memcpy_sglist() to always succeedcrypto/scatterwalk.c include/crypto/scatterwalk.h+115 -340 replies
2/2Revert "crypto: scatterwalk - Move skcipher walk and use it for memcpy_sglist"crypto/scatterwalk.c crypto/skcipher.c include/crypto/algapi.h +2 more+316 -3180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] crypto: Fix memcpy_sglist()

This series rewrites memcpy_sglist() to fix the bug where it called functions that could fail and ignored errors.

This series is targeting crypto/master.

Changed in v2:
- Don't try to support arbitrary overlaps
- Use memcpy_page()

Eric Biggers (2):
crypto: scatterwalk - Fix memcpy_sglist() to always succeed Revert "crypto: scatterwalk - Move skcipher walk and use it for
memcpy_sglist"

 crypto/scatterwalk.c               | 345 +++++++----------------------
 crypto/skcipher.c                  | 261 +++++++++++++++++++++-
 include/crypto/algapi.h            |  12 +
 include/crypto/internal/skcipher.h |  48 +++-
 include/crypto/scatterwalk.h       | 117 +++-------
 5 files changed, 431 insertions(+), 352 deletions(-)

base-commit: 59b0afd01b2ce353ab422ea9c8375b03db313a21

Signature · 1 line
2.51.2