wpa_supplicant PSK question
rjc at sigpro.com
Tue Nov 22 10:23:07 EST 2005
I am working with VxWorks and Tornado. Since I have to build the supplicant
in Tornado in concert with the rest of the application, it's hard to use
the existing build defines. When I tried to build without eapol_sm.c and
eap.c, I couldn't get rid of unresolved externals. I considered the idea of
including the .config file as an include in all the .c files so I could use
the same build defines without having to do contortions in Tornado.
That list of .o files should be invaluable. Thanks for that.
> -----Original Message-----
> From: hostap-bounces+bob.carlson=sigpro.com at shmoo.com [mailto:hostap-
> bounces+bob.carlson=sigpro.com at shmoo.com] On Behalf Of Jouni Malinen
> Sent: Monday, November 21, 2005 10:49 PM
> To: hostap at shmoo.com
> Subject: Re: wpa_supplicant PSK question
> On Tue, Nov 15, 2005 at 06:12:28PM -0600, Bob Carlson wrote:
> > I am porting wpa_supplicant into an embedded application so I am trying
> > minimize the code included. We do not require radius, only WEP and WPA-
> May I ask which OS you are using?
> > So far as my understanding has progressed, we should not require EAPOL,
> > although there does appear to be a 4-way key exchange that is used.
> > However, as I build things up, I am finding that there are a lot of
> > references to EAPOL code that do not seem to be conditional.
> > What modules and code for EAPOL must still be included, even though we
> > using only PSK?
> WPA-PSK is indeed using EAPOL frames, but it does not require IEEE
> 802.1X/EAPOL or EAP state machines. In other words, you do not need
> eapol_sm.c or eap.c/eap_*.c. One of the easiest ways of finding out what
> is needed is to build wpa_supplicant for Linux and use a minimal
> configuration in .config, e.g.:
> This links in following files into wpa_supplicant binary:
> config.o eloop.o common.o md5.o rc4.o sha1.o config_file.o base64.o
> l2_packet_linux.o tls_none.o wpa.o preauth.o aes_wrap.o
> wpa_supplicant.o events.o main.o drivers.o driver_test.o
> This is enough to run WPA-PSK, but not WPA-EAP.
> Jouni Malinen PGP id EFC895FA
> HostAP mailing list
> HostAP at shmoo.com
More information about the HostAP