summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 11:41:58 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-17 02:02:38 +0100
commit20cc01baa33463e9e8b202b0cbaeafbac0f9202c (patch)
tree4a9536ede3bb5ff4be249e89845b97e06e96be86 /crypto/Makefile
parentcrypto: api - Add softdep on cryptomgr (diff)
downloadlinux-20cc01baa33463e9e8b202b0cbaeafbac0f9202c.tar.xz
linux-20cc01baa33463e9e8b202b0cbaeafbac0f9202c.zip
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