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). Eric Biggers (3): crypto: lib - create utils module and move __crypto_memneq into it crypto: lib - move __crypto_xor into utils crypto: lib - move crypto_simd_disabled_for_test into utils crypto/Kconfig | 2 +- crypto/algapi.c | 77 --------------------------------- lib/Kconfig | 3 -- lib/Makefile | 1 - lib/crypto/Kconfig | 8 ++-- lib/crypto/Makefile | 3 ++ lib/{ => crypto}/memneq.c | 0 lib/crypto/utils.c | 91 +++++++++++++++++++++++++++++++++++++++ 8 files changed, 100 insertions(+), 85 deletions(-) rename lib/{ => crypto}/memneq.c (100%) create mode 100644 lib/crypto/utils.c base-commit: ec8f7f4821d5e70d71601519bc2325b311324a96 -- 2.37.0