package/iwd: enable required kernel dependencies

Required kernel options are listed in check_crypto() in srv/main.c:
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/main.c?h=1.20#n268

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
James Hilliard 2021-12-04 16:40:05 -07:00 committed by Peter Korsgaard
parent e27a700f3e
commit 8c12a6bf51

View File

@ -63,4 +63,27 @@ define IWD_INSTALL_INIT_SYSV
ln -sf /tmp/iwd/hotspot $(TARGET_DIR)/var/lib/iwd/hotspot
endef
define IWD_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_KEY_TYPE)
$(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_AES)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CBC)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CMAC)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_DES)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_ECB)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_HMAC)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD4)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD5)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA1)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA256)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA512)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_HASH)
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_SKCIPHER)
$(call KCONFIG_ENABLE_OPT,CONFIG_KEYS)
$(call KCONFIG_ENABLE_OPT,CONFIG_KEY_DH_OPERATIONS)
$(call KCONFIG_ENABLE_OPT,CONFIG_PKCS7_MESSAGE_PARSER)
$(call KCONFIG_ENABLE_OPT,CONFIG_PKCS8_PRIVATE_KEY_PARSER)
$(call KCONFIG_ENABLE_OPT,CONFIG_X509_CERTIFICATE_PARSER)
endef
$(eval $(autotools-package))