hostapd/src
Jouni Malinen 0887215d94 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>
2018-02-10 12:16:53 +02:00
..
ap ieee802_11_mgmt: Handle frame info more consistently 2018-02-07 12:34:41 +02:00
common Define new QCA vendor sub command for wifi test configuration 2018-02-07 12:11:47 +02:00
crypto GnuTLS: Add option to build with libnettle instead of libgcrypt 2017-12-29 17:13:57 +02:00
drivers nl80211: Do not try to add too large NL80211_ATTR_PMK for set/del PMKSA 2018-02-10 12:16:53 +02:00
eap_common EAP-pwd: Use abstract crypto API 2017-12-24 21:40:21 +02:00
eap_peer EAP-SIM/AKA: Separate identity for MK derivation 2018-01-21 11:28:53 +02:00
eap_server EAP-pwd: Use abstract crypto API 2017-12-24 21:40:21 +02:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet tests: Add TEST_FAIL() checks in l2_packet 2017-03-04 11:43:58 +02:00
p2p P2P: Continue P2P_WAIT_PEER_(IDLE/CONNECT) sequence on a listen cancel 2017-11-03 21:47:32 +02:00
pae PAE: Validate input before pointer 2017-09-25 21:26:32 +03:00
radius RADIUS: Add WLAN-Reason-Code attribute to Access-Reject 2018-01-12 20:45:12 +02:00
rsn_supp TDLS: Add testing capability to send TPK M2 twice 2017-11-21 00:48:52 +02:00
tls Use os_memdup() 2017-03-07 13:19:10 +02:00
utils JSON: Fix a memory leak on an error path 2017-11-29 13:22:44 +02:00
wps WPS: Do not increment wildcard_uuid when pin is locked 2017-10-03 19:19:01 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00