Skip to content

crypto: use memcpy_sglist() instead of null skcipher

Eric Biggers linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: algif_aead - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/algif_aead.c+18 -840 replies
2/8crypto: authenc - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/authenc.c crypto/authencesn.c+4 -670 replies
3/8crypto: gcm - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/gcm.c+4 -380 replies
4/8crypto: geniv - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/echainiv.c crypto/geniv.c +2 more+7 -430 replies
5/8crypto: krb5enc - do not select CRYPTO_NULLcrypto/Kconfig+0 -10 replies
6/8crypto: null - remove the default null skciphercrypto/crypto_null.c include/crypto/null.h+0 -560 replies
7/8crypto: null - merge CRYPTO_NULL2 into CRYPTO_NULLcrypto/Kconfig crypto/Makefile+4 -80 replies
8/8crypto: null - use memcpy_sglist()crypto/crypto_null.c+4 -130 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] crypto: use memcpy_sglist() instead of null skcipher

For copying data between two scatterlists, just use memcpy_sglist() instead of the so-called "null skcipher". This is much simpler.

Eric Biggers (8):
crypto: algif_aead - use memcpy_sglist() instead of null skcipher
crypto: authenc - use memcpy_sglist() instead of null skcipher
crypto: gcm - use memcpy_sglist() instead of null skcipher
crypto: geniv - use memcpy_sglist() instead of null skcipher
crypto: krb5enc - do not select CRYPTO_NULL
crypto: null - remove the default null skcipher
crypto: null - merge CRYPTO_NULL2 into CRYPTO_NULL
crypto: null - use memcpy_sglist()

 crypto/Kconfig                  |  15 +----
 crypto/Makefile                 |   2 +-
 crypto/algif_aead.c             | 101 ++++++--------------------------
 crypto/authenc.c                |  32 +---------
 crypto/authencesn.c             |  38 +-----------
 crypto/crypto_null.c            |  70 ++--------------------
 crypto/echainiv.c               |  18 +-----
 crypto/gcm.c                    |  41 ++-----------
 crypto/geniv.c                  |  13 +---
 crypto/seqiv.c                  |  17 +-----
 include/crypto/internal/geniv.h |   1 -
 include/crypto/null.h           |   3 -
 12 files changed, 41 insertions(+), 310 deletions(-)

base-commit: 64745a9ca890ed60d78162ec511e1983e1946d73

Signature · 1 line
2.49.0