crypto: move gf128mul library into lib/crypto
authorArd Biesheuvel <ardb@kernel.org>
Thu, 3 Nov 2022 19:22:57 +0000 (20:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Nov 2022 10:14:59 +0000 (18:14 +0800)
commit61c581a46a9668747d355436bd4b2505594539bd
tree9860a80aec8586cf7d2014d17309473f6829508f
parent329cfa42e5280decfc9247598b9996e13b28c380
crypto: move gf128mul library into lib/crypto

The gf128mul library does not depend on the crypto API at all, so it can
be moved into lib/crypto. This will allow us to use it in other library
code in a subsequent patch without having to depend on CONFIG_CRYPTO.

While at it, change the Kconfig symbol name to align with other crypto
library implementations. However, the source file name is retained, as
it is reflected in the module .ko filename, and changing this might
break things for users.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/Kconfig
arch/arm64/crypto/Kconfig
crypto/Kconfig
crypto/Makefile
crypto/gf128mul.c [deleted file]
drivers/crypto/chelsio/Kconfig
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/gf128mul.c [new file with mode: 0644]