-
Notifications
You must be signed in to change notification settings - Fork 8.2k
hostap: support enterprise and DPP #73249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hostap: support enterprise and DPP #73249
Conversation
1ab6b9d to
cdb34b0
Compare
fc9091b to
4631607
Compare
4631607 to
cd9a397
Compare
krish2718
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From a quick look changes LGTM, but can you please divide in to smaller commits with appropriate commit logs?
E.g.
- NO_PBKDF2
- Removing blobs and why
- Adding CRC32
- Moving existing crypto
- Adding DPP
- Adding ALT crypto
...
cd9a397 to
e2450e2
Compare
updated pls check |
|
There might be a CI issue in compliance check fail warning: undefined symbol MBEDTLS_MAC_CMAC_ENABLED: But MBEDTLS_MAC_CMAC_ENABLED is defined in modules/mbedtls/Kconfig.tls-generic like other symbols. |
e2450e2 to
5dc42d5
Compare
@fengming-ye, this changed in a PR that merged yesterday (things move fast at times) [#73267]. All the MBED_MAC_ENABLED have changed to just MBED |
modules/hostap/Kconfig
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to MBEDTLS_CMAC
Add kconfig CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT to get more mbedtls functionality for enterprise and DPP. Split cmake sources related to hostap SME and crypto backend. Default backend CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO use internal crypto and some mbedtls apis. Backend CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT use most mbedtls apis and PSA apis, except some apis no longer supported in mbedtls 3.x, or called in the middle of hostap and mbedtls. Signed-off-by: Fengming Ye <[email protected]>
Add Platform Secure Architecture support support to use HW acceleration, which needs to be called under PSA driver wrapper in mbedtls 3.x. Signed-off-by: Fengming Ye <[email protected]>
Add kconfig and cmake to support DPP (Easy Connect). Signed-off-by: Fengming Ye <[email protected]>
Remove CONFIG_NO_PBKDF2 and CONFIG_NO_CONFIG_BLOBS definition and let them be decided in kconfig. CONFIG_NO_PBKDF2 is default y when crypto backend is WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE. CONFIG_NO_CONFIG_BLOBS is default y when both DPP and enterprise disable. Signed-off-by: Fengming Ye <[email protected]>
Add enterprise needed source files. Signed-off-by: Fengming Ye <[email protected]>
Add MBEDTLS_NIST_KW_C, MBEDTLS_DHM_C and X509 CRL, CSR options. Signed-off-by: Fengming Ye <[email protected]>
5dc42d5 to
a794aa6
Compare
|
Hi @jukkar @krish2718 Hi @ceolin @d3zd3z @ithinuel Thanks. |
jukkar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change cmake and kconfig for enterprise and DPP support.