summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 18:26:30 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-17 09:02:38 +0800
commitaa5d48f10c344b08c385a81864bad452f8c123ed (patch)
tree759cbd1fc214598024558ce91444c251353b01ab /crypto/api.c
parent11717e4c3b399fd07abe3d3e05430664d48638ba (diff)
downloadlinux-crypto-aa5d48f10c344b08c385a81864bad452f8c123ed.tar.gz
linux-crypto-aa5d48f10c344b08c385a81864bad452f8c123ed.zip
crypto: api - Add softdep on cryptomgr
The crypto API requires cryptomgr to be present for probing to work so we need a softdep to ensure that cryptomgr is added to the initramfs. This was usually not a problem because until very recently it was not practical to build crypto API as module but with the recent work to eliminate direct AES users this is now possible. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
-rw-r--r--crypto/api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 3e1f9e95..55bca28d 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -608,3 +608,4 @@ EXPORT_SYMBOL_GPL(crypto_req_done);
MODULE_DESCRIPTION("Cryptographic core API");
MODULE_LICENSE("GPL");
+MODULE_SOFTDEP("pre: cryptomgr");