fragattacks/src
Masashi Honma 4d77d80edd mesh: Add MESH_PMKSA_GET/ADD commands
These commnds are mesh version of PMKSA_GET/ADD commands. So the usage
and security risk is similar to them. Refer to
commit 3459381dd2 ('External persistent
storage for PMKSA cache entries') also.

The MESH_PMKSA_GET command requires peer MAC address or "any" as an
argument and outputs appropriate stored PMKSA cache. And the
MESH_PMKSA_ADD command receives an output of MESH_PMKSA_GET and re-store
the PMKSA cache into wpa_supplicant. By using re-stored PMKSA cache,
wpa_supplicant can skip commit message creation which can use
significant CPU resources.

The output of the MESH_PMKSA_GET command uses the following format:
<BSSID> <PMKID> <PMK> <expiration in seconds>

The example of MESH_PMKSA_ADD command is this.
MESH_PMKSA_ADD 02:00:00:00:03:00 231dc1c9fa2eed0354ea49e8ff2cc2dc cb0f6c9cab358a8146488566ca155421ab4f3ea4a6de2120050c149b797018fe 42930
MESH_PMKSA_ADD 02:00:00:00:04:00 d7e595916611640d3e4e8eac02909c3c eb414a33c74831275f25c2357b3c12e3d8bd2f2aab6cf781d6ade706be71321a 43180

This functionality is disabled by default and can be enabled with
CONFIG_PMKSA_CACHE_EXTERNAL=y build configuration option.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2017-01-14 18:07:46 +02:00
..
ap mesh: Add MESH_PMKSA_GET/ADD commands 2017-01-14 18:07:46 +02:00
common FILS: Fix PMK and PMKID derivation from ERP 2017-01-13 21:07:40 +02:00
crypto OpenSSL: Implement sha384_vector() 2017-01-13 21:05:19 +02:00
drivers wext: Cancel send_rfkill timeout in deinit 2017-01-14 00:07:45 +02:00
eap_common Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_peer Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eap_server Remove trailing whitespace 2016-12-28 14:31:42 +02:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Remove trailing whitespace 2016-12-28 14:31:42 +02:00
fst FST: Fix search for peer's "other" connection 2016-09-08 11:17:45 +03:00
l2_packet Remove trailing whitespace 2016-12-28 14:31:42 +02:00
p2p P2P: Fix compilation warning in p2p_add_device() 2016-12-30 00:49:24 +02:00
pae mka: Make MKA actor priority configurable 2016-12-25 11:41:46 +02:00
radius Remove trailing whitespace 2016-12-28 14:31:42 +02:00
rsn_supp FILS: Fix PMK and PMKID derivation from ERP 2017-01-13 21:07:40 +02:00
tls Remove trailing whitespace 2016-12-28 14:31:42 +02:00
utils tests: TEST_FAIL() support for os_get_random() 2017-01-07 22:15:41 +02:00
wps Share a single str_starts() implementation 2016-08-06 12:38:21 +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