Skip to content

rsn: Allow WPA1 TKIP EAPOL-Key under FIPS with PSA MD5#144

Closed
krish2718 wants to merge 1 commit into
zephyrproject-rtos:mainfrom
krish2718:fix_wpa_psk
Closed

rsn: Allow WPA1 TKIP EAPOL-Key under FIPS with PSA MD5#144
krish2718 wants to merge 1 commit into
zephyrproject-rtos:mainfrom
krish2718:fix_wpa_psk

Conversation

@krish2718

Copy link
Copy Markdown
Collaborator

Zephyr hostap builds with CONFIG_FIPS, which strips HMAC-MD5 and RC4 call sites even when the PSA backend provides them. WPA-PSK (WPA1) APs require EAPOL-Key descriptor version 1: HMAC-MD5 for the 4-way MIC and RC4 for group-key unwrap. That breaks association with legacy and QuickTrack WPA-PSK test APs.

When CONFIG_PSA_WANT_ALG_MD5 is set (personal STA crypto backends that explicitly enable legacy TKIP interop), allow the ver=1 MIC and RC4 key data paths. Builds without PSA MD5 keep the existing FIPS blocks.

Assisted-by: Cursor:Auto

Zephyr hostap builds with CONFIG_FIPS, which strips HMAC-MD5 and RC4
call sites even when the PSA backend provides them. WPA-PSK (WPA1) APs
require EAPOL-Key descriptor version 1: HMAC-MD5 for the 4-way MIC and
RC4 for group-key unwrap. That breaks association with legacy and
QuickTrack WPA-PSK test APs.

When CONFIG_PSA_WANT_ALG_MD5 is set (personal STA crypto backends that
explicitly enable legacy TKIP interop), allow the ver=1 MIC and RC4 key
data paths. Builds without PSA MD5 keep the existing FIPS blocks.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor:Auto
Comment thread src/common/wpa_common.c
@krish2718

Copy link
Copy Markdown
Collaborator Author

Closing this as fix is now purely contained in the Zephyr hostap module shim (zephyrproject-rtos/zephyr#111137)

@krish2718 krish2718 closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants