Skip to content

crypto: Hash scatterwalk fixes

Herbert Xu linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/scatterlist: Add SG_MITER_LOCAL and use itinclude/linux/scatterlist.h lib/scatterlist.c+9 -42 replies
2/3crypto: krb5 - Use SG miter instead of doing it by handcrypto/krb5/rfc3961_simplified.c+15 -200 replies
3/3crypto: hash - Fix test underflow in shash_ahash_digestcrypto/ahash.c+26 -140 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [v3 PATCH 0/3] crypto: Hash scatterwalk fixes

v3 restores the krb5 patch and adds kmap_local support to sg miter. Also remove nth_page since it appears to be unnecessary.

This patch series is based on top of:

https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/

This was prompted by using nth_page instead of incrementing struct page by hand. However, that turned out to be unnecessary so what remains are simply two bug fixes.

Herbert Xu (3):
lib/scatterlist: Add SG_MITER_LOCAL and use it
crypto: krb5 - Use SG miter instead of doing it by hand
crypto: hash - Fix test underflow in shash_ahash_digest

 crypto/ahash.c                   | 40 +++++++++++++++++++++-----------
 crypto/krb5/rfc3961_simplified.c | 35 ++++++++++++----------------
 include/linux/scatterlist.h      |  1 +
 lib/scatterlist.c                | 12 ++++++----
 4 files changed, 50 insertions(+), 38 deletions(-)
Signature · 1 line
2.39.5