All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Peter Seiderer <ps.report@gmx.net>,
	Matt Weber <matthew.weber@collins.com>
Subject: [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies
Date: Sat,  4 Dec 2021 16:40:05 -0700	[thread overview]
Message-ID: <20211204234005.2051254-1-james.hilliard1@gmail.com> (raw)

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>
---
Changes v1 -> v2:
  - remove optional kconfig options
  - remove a duplicate option
---
 package/iwd/iwd.mk | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/package/iwd/iwd.mk b/package/iwd/iwd.mk
index 96bdc56e93..1d0322edc3 100644
--- a/package/iwd/iwd.mk
+++ b/package/iwd/iwd.mk
@@ -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))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2021-12-04 23:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 23:40 James Hilliard [this message]
2022-01-09  7:44 ` [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211204234005.2051254-1-james.hilliard1@gmail.com \
    --to=james.hilliard1@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=matthew.weber@collins.com \
    --cc=ps.report@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.