Skip to content

crypto: lib - create utils module

Eric Biggers linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 12 repliesIn review
  2. v23 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Added missing MODULE_LICENSE
- Dropped patch "crypto: lib - move crypto_simd_disabled_for_test into utils"
- Added patch "crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ"

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: lib - create utils module and move __crypto_memneq into itcrypto/Kconfig lib/Kconfig lib/Makefile +3 more+12 -71 reply
2/3crypto: lib - move __crypto_xor into utilscrypto/algapi.c lib/crypto/Kconfig lib/crypto/Makefile +2 more+90 -768 replies
3/3crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQlib/crypto/memneq.c+0 -42 replies

Reviews trailers per patch

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

PatchJason A. Donenfeld
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] crypto: lib - create utils module

Create a utils module in lib/crypto/, and move __crypto_memneq, __crypto_xor, and crypto_simd_disabled_for_test into it.

This supersedes "crypto: xor - move __crypto_xor into lib/"
(https://lore.kernel.org/linux-crypto/[email protected]/T/#u).

Changed v2 => v3:
- Added missing MODULE_LICENSE
- Dropped patch "crypto: lib - move crypto_simd_disabled_for_test into utils"
- Added patch "crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ"

Eric Biggers (3):
crypto: lib - create utils module and move __crypto_memneq into it
crypto: lib - move __crypto_xor into utils
crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ

 crypto/Kconfig            |  2 +-
 crypto/algapi.c           | 71 -------------------------------
 lib/Kconfig               |  3 --
 lib/Makefile              |  1 -
 lib/crypto/Kconfig        |  8 ++--
 lib/crypto/Makefile       |  3 ++
 lib/{ => crypto}/memneq.c |  7 +---
 lib/crypto/utils.c        | 88 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 99 insertions(+), 84 deletions(-)
 rename lib/{ => crypto}/memneq.c (98%)
 create mode 100644 lib/crypto/utils.c

base-commit: 9d2bb9a74b2877f100637d6ab5685bcd33c69d44

Signature · 1 line
2.37.0