How wpa_supplicant calculate MIC in WPA mode?
Jouni Malinen
j
Mon Apr 7 00:12:23 PDT 2008
On Sun, Apr 06, 2008 at 10:50:24PM +0800, zhangxianshi wrote:
> When wpa_supplicant works in WPA mode, the configure is
> network={
> ............
> proto=WPA
> pairwise=TKIP
> group=TKIP
> How it calculates MIC and encrypts data? Which functions will be used?
EAPOL-Key frames are processed in wpa.c. wpa_eapol_key_mic() function
calculates the MIC for EAPOL-Key frames. The Key Data field in EAPOL-Key
frames is encrypted with RC4 (in case of TKIP) or AES key wrap; this is
implemented in wpa.c.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list