[linux-yocto] [kernel-cache][PATCH 2/4] ktypes/standard: enable CONFIG_CRYPTO_CCM and GCM

Mikko Ylinen mikko.ylinen at linux.intel.com
Fri Aug 25 06:00:44 PDT 2017


In order to build backport-iwlwifi driver (meta-intel has
the recipe) that ships its own MAC80211 and to use the crypto
drivers from the targeted kernel for it, CONFIG_CRYPTO_CCM must
be enabled.

backport-iwlwifi does have a compat implementation of crypto-ccm.c too
that would be used if CONFIG_CRYPTO_CCM is not set but that currently
fails to build (implicit function declaration).

Therefore, just enable CRYPTO_CCM. And while we're at it, enable
all crypto drivers that are needed by MAC80211.

Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
---
 ktypes/standard/standard.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
index c99ab8a8..06d1be11 100644
--- a/ktypes/standard/standard.cfg
+++ b/ktypes/standard/standard.cfg
@@ -1096,6 +1096,8 @@ CONFIG_CRYPTO_DEFLATE=m
 CONFIG_CRYPTO_MICHAEL_MIC=m
 CONFIG_CRYPTO_CRC32C=m
 CONFIG_CRYPTO_TEST=m
+CONFIG_CRYPTO_CCM=m
+CONFIG_CRYPTO_GCM=m
 
 #
 # Layered filesystem encryption
-- 
2.14.1



More information about the linux-yocto mailing list