summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 13:41:58 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-17 04:02:38 +0300
commit20cc01baa33463e9e8b202b0cbaeafbac0f9202c (patch)
tree4a9536ede3bb5ff4be249e89845b97e06e96be86 /crypto/Makefile
parent8ab23d547f652979bafd710d9e34983aaceea517 (diff)
downloadlinux-20cc01baa33463e9e8b202b0cbaeafbac0f9202c.tar.xz
crypto: aead - Split out geniv into its own module
If aead is built as a module along with cryptomgr, it creates a dependency loop due to the dependency chain aead => crypto_null => cryptomgr => aead. This is due to the presence of the AEAD geniv code. This code is not really part of the AEAD API but simply support code for IV generators such as seqiv. This patch moves the geniv code into its own module thus breaking the dependency loop. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index efe63940b4e9..77cb19b957d3 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -14,6 +14,7 @@ crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
+obj-$(CONFIG_CRYPTO_AEAD2) += geniv.o
crypto_skcipher-y := ablkcipher.o
crypto_skcipher-y += skcipher.o