diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-01 12:15:49 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-08-01 12:15:49 +0000 |
commit | 0b07761ba86cd0298f4aecc2e91451401b788655 (patch) | |
tree | f7402f7ba90660c6724e2b56671ee34701456b86 /sys/kern/subr_extent.c | |
parent | f48974641446932e7f1414db98ca60209b0d59cd (diff) |
the EAPOL-Key MIC must be computed with the MIC bit set.
this simplifies ieee80211_eapol_key_mic() and ieee80211_eapol_key_check_mic()
quite a bit.
set the EAPOL-Key body length before computing the MIC since the MIC is
computed with the 802.1X header too.
add a missing htons() while i'm here.
Diffstat (limited to 'sys/kern/subr_extent.c')
0 files changed, 0 insertions, 0 deletions