path: root/wpa_supplicant/dpp_supplicant.c
diff options
authorJouni Malinen <jouni@codeaurora.org>2018-02-10 10:16:53 (GMT)
committerJouni Malinen <j@w1.fi>2018-02-10 10:16:53 (GMT)
commit0887215d941def91cc100c3d1f087fb9650b64c8 (patch)
treea28ea21a59d914ccec177f266431b8b4f3adbbe0 /wpa_supplicant/dpp_supplicant.c
parente7f6e6ee1ba3c700c379f11b1d63d62ec6f1c430 (diff)
nl80211: Do not try to add too large NL80211_ATTR_PMK for set/del PMKSA
The current cfg80211 limit for the maximum NL80211_ATTR_PMK length is 48, so anything larger than that will result in the operation completely failing. Since the PMKSA entries can be used without the PMK for most purposes (the main use case for PMK currently is offloaded FILS authentication), try to go ahead by configuring only the PMKID for the case where 64-octet PMK is needed (which is currently limited to only DPP with NIST P-521 and brainpoolP512r1 curves). This can fix DPP connections with drivers that expect to get the PMKID through this interface while still leaving the actual 4-way handshake for user space. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/dpp_supplicant.c')
0 files changed, 0 insertions, 0 deletions