[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hostap
Subject:    Re: Need help with code-structur according EAP-TLS and the 4-way
From:       Jouni Malinen <j () w1 ! fi>
Date:       2008-10-29 18:55:01
Message-ID: 20081029185501.GW19710 () jm ! kir ! nu
[Download RAW message or body]

On Wed, Oct 29, 2008 at 11:54:01AM +0100, Arne Keller wrote:

> I'm trying to understand the hostapd code for a time now ;)
> In the moment I understood the way the state machine in wpa.c works, especially by \
> reading the ieee 802.11i standard. 
> My problem is that I can't find the point where hostapd starts the state machine in \
> wpa.c after a successfull EAP-TLS communication. Can somebody tell me where the \
> link is between EAP-SUCCESS and starting the 4-WAY HANDSHAKE?

The state machine is running all the time when the STA is associated.
The EAPOL and WPA Authenticator state machines are synchronized with
keyRun and keyAvailable variables, i.e., WPA waits in AUTHENTICATION2
until EAPOL is ready to start key transmission (keyRun is set to TRUE)
and then WPA state machine waits in INITPMK until EAPOL indicates that
key (MSK, i.e., source for PMK) is available (keyAvailable is set to
TRUE).
 
-- 
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP@lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic