Linux-Crypto Archive on
 help / color / Atom feed
* [PATCH] crypto: api - Add softdep on cryptomgr
@ 2019-11-08 10:26 Herbert Xu
  0 siblings, 0 replies; only message in thread
From: Herbert Xu @ 2019-11-08 10:26 UTC (permalink / raw)
  To: Linux Crypto Mailing List

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

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 <>

diff --git a/crypto/api.c b/crypto/api.c
index d8ba54142620..7113a03b3d52 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_SOFTDEP("pre: cryptomgr");
Email: Herbert Xu <>
Home Page:
PGP Key:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 10:26 [PATCH] crypto: api - Add softdep on cryptomgr Herbert Xu

Linux-Crypto Archive on

Archives are clonable:
	git clone --mirror linux-crypto/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-crypto linux-crypto/ \
	public-inbox-index linux-crypto

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone