[PATCH v3 0/3] crypto: lib - create utils module
From: Eric Biggers
Date: Mon Jul 25 2022 - 14:36:54 EST
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/20220709215453.262237-1-ebiggers@xxxxxxxxxx/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
--
2.37.0