Skip to content

Commit

Permalink
crypto: api - Add softdep on cryptomgr
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
herbertx committed Nov 17, 2019
1 parent 3bbcdb1 commit 8ab23d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,3 +608,4 @@ EXPORT_SYMBOL_GPL(crypto_req_done);

MODULE_DESCRIPTION("Cryptographic core API");
MODULE_LICENSE("GPL");
MODULE_SOFTDEP("pre: cryptomgr");

0 comments on commit 8ab23d5

Please sign in to comment.