Skip to content
Snippets Groups Projects
Commit 6c78e64f authored by jogo's avatar jogo
Browse files

kernel: ocf: add missing kernel dependencies


OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: default avatarRussell Senior <russell@personaltelco.net>
Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 5e12c856
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,9 @@ config OCF_CRYPTODEV
config OCF_CRYPTOSOFT
tristate "cryptosoft (software crypto engine)"
depends on OCF_OCF
select CRYPTO
select CRYPTO_HASH
select CRYPTO_BLKCIPHER
help
A software driver for the OCF framework that uses
the kernel CryptoAPI.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment