summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-04-22 18:27:08 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-28 14:40:53 +0300
commit714656a84697f9615b9488b490c99edb3ecfcd3d (patch)
treebe452cf1c468aee3113f9bcb07102f1442e44041 /lib/crypto
parent67128a90b3541298988bfc3a0bad88178d6a7fb7 (diff)
downloadlinux-714656a84697f9615b9488b490c99edb3ecfcd3d.tar.xz
crypto: arm - move library functions to arch/arm/lib/crypto/
Continue disentangling the crypto library functions from the generic crypto infrastructure by moving the arm BLAKE2s, ChaCha, and Poly1305 library functions into a new directory arch/arm/lib/crypto/ that does not depend on CRYPTO. This mirrors the distinction between crypto/ and lib/crypto/. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index 2c6ab80e0cdc..59135009e4f0 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -155,4 +155,10 @@ config CRYPTO_LIB_SHA256
config CRYPTO_LIB_SM3
tristate
+if !KMSAN # avoid false positives from assembly
+if ARM
+source "arch/arm/lib/crypto/Kconfig"
+endif
+endif
+
endmenu