Skip to content

AF_ALG fixes

Eric Biggers linux-crypto stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10crypto: doc - fix kernel-doc notation in chacha.c and af_alg.ccrypto/af_alg.c lib/crypto/chacha.c+55 -430 replies
2/10crypto: scatterwalk - Backport memcpy_sglist()crypto/scatterwalk.c include/crypto/scatterwalk.h+130 -00 replies
3/10crypto: algif_aead - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/algif_aead.c+17 -820 replies
4/10crypto: algif_aead - Revert to operating out-of-placecrypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c +1 more+34 -1250 replies
5/10crypto: algif_aead - snapshot IV for async AEAD requestscrypto/algif_aead.c+8 -20 replies
6/10crypto: authenc - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/authenc.c crypto/authencesn.c+4 -670 replies
7/10crypto: authencesn - Do not place hiseq at end of dst for out-of-place decryptioncrypto/authencesn.c+29 -190 replies
8/10crypto: authencesn - Fix src offset when decrypting in-placecrypto/authencesn.c+4 -20 replies
9/10crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsglcrypto/af_alg.c+2 -20 replies
10/10crypto: algif_aead - Fix minimum RX size check for decryptioncrypto/algif_aead.c+1 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by.

PatchYucheng Lu
1/10
2/10
3/10
4/10
5/10T-b
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 5.10 00/10] AF_ALG fixes

This series backports recent AF_ALG fixes to 5.10. Compared to the 5.15 series
(https://lore.kernel.org/linux-crypto/[email protected])
I changed memcpy_sglist() to use atomic kmaps instead of local kmaps, since local kmaps are not available in 5.10. I also added "crypto: doc
- fix kernel-doc notation in chacha.c and af_alg.c" to make a later commit cherry-pick cleanly.

Douya Le (1):
crypto: algif_aead - snapshot IV for async AEAD requests

Eric Biggers (3):
crypto: scatterwalk - Backport memcpy_sglist()
crypto: algif_aead - use memcpy_sglist() instead of null skcipher
crypto: authenc - use memcpy_sglist() instead of null skcipher

Herbert Xu (5):
crypto: algif_aead - Revert to operating out-of-place
crypto: authencesn - Do not place hiseq at end of dst for out-of-place
decryption
crypto: authencesn - Fix src offset when decrypting in-place
crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl
crypto: algif_aead - Fix minimum RX size check for decryption

Randy Dunlap (1):
crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c

 crypto/Kconfig               |   2 -
 crypto/af_alg.c              | 137 +++++++++++------------
 crypto/algif_aead.c          | 203 ++++++++---------------------------
 crypto/algif_skcipher.c      |   6 +-
 crypto/authenc.c             |  32 +-----
 crypto/authencesn.c          |  84 ++++++---------
 crypto/scatterwalk.c         |  98 +++++++++++++++++
 include/crypto/if_alg.h      |   5 +-
 include/crypto/scatterwalk.h |  32 ++++++
 lib/crypto/chacha.c          |   4 +-
 10 files changed, 272 insertions(+), 331 deletions(-)

base-commit: 49e5d20074c20b20773c6dc0f8dce0635591093b

Signature · 1 line
2.54.0