summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-09-27 15:16:10 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-09-27 15:16:10 +0000
commitb065efd30adfe94123c1b52f0767f407ce44033b (patch)
tree03b134eef33bed19b360c566708dc791c3141240 /etc
parent5f302c06db0af70022a22dff119bab0838242f86 (diff)
Initial implementation of PMKSA caching and pre-authentication.
This will be required for future WPA-Enterprise support (802.1X). Add ieee80211_needs_auth() function (not implemented yet) to notify the userland 802.1X PACP machine when an 802.1X port becomes enabled (that is after successfull 802.11 Open System authentication). Add SIOCS80211KEYRUN and SIOCS80211KEYAVAIL ioctls so that the PACP state machine can kick the 802.11 key state machine and install PMKs obtained from 802.1X (pre-)authentication. Enable SHA-256 based AKMPs by default while I'm here (TGw). This uses SHA-256 for key-derivation (instead of SHA1), AES-128-CMAC for data integrity, and AES Key Wrap for data protection of EAPOL-Key frames. An OpenBSD AP will always advertise this capability and an OpenBSD STA will always prefer SHA-256 based AKMPs over SHA1 based ones if both are supported by an AP.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions