Procházet zdrojové kódy

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: Russell Senior <[email protected]>
Signed-off-by: Jonas Gorski <[email protected]>

SVN-Revision: 37652
Jonas Gorski před 12 roky
rodič
revize
3e9ad14992
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      target/linux/generic/files/crypto/ocf/Kconfig

+ 3 - 0
target/linux/generic/files/crypto/ocf/Kconfig

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