From bbfb546e57766540c782fc116721c5dedbd6656a Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Tue, 12 Nov 2024 00:12:59 +0530 Subject: [PATCH] modules: hostap: Add external crypto support Add an option for platforms or forks to provide their own hostap compatible crypto implementation. This may include proprietary or platform specific stuff that may or may not be upstreamed to Zephyr. Signed-off-by: Chaitanya Tata --- modules/hostap/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index 4f0fccecbd6..5a29c454010 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -166,6 +166,14 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT config WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE bool "No Crypto support for WiFi" +config WIFI_NM_WPA_SUPPLICANT_CRYPTO_EXT + bool "External Crypto support for hostap" + help + Use external crypto implementation for hostp, this is useful for + platforms where the crypto implementation is provided by the platform + and not by Zephyr. The external crypto implementation should provide + the required APIs and any other dependencies required by hostap. + endchoice config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA