Re: wpa-2.9 supplicant using wolfSSL in place of openssl

Jouni Malinen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Fri, Mar 06, 2020 at 08:53:29PM +0000, Jim Crites wrote:
> I am trying to build the wpa-2.9 supplicant using wolfSSL in place of openssl1.1.x.
> Having a bit of difficulty.  It seems that the crypto_wolfssl.c file is getting confused as to referenced functions that are not defined. If I just revert back to using openssl (default) everything is just swell.
> I have copied the wolfSSL lib and wolfSSL include files to where they can be found.

Which version of wolfSSL you are using and how did you compile it
(arguments to the configure script)? What are the error messages you get
when trying to build wpa_supplicant?

For a quick compilation test, this works for me:

wolfssl-4.3.0$ ./configure --prefix=/tmp/wolfssl/4.3.0 --enable-wpas
make
make install

and in wpa_supplicant .config

CONFIG_TLS=wolfssl
WOLFSSLDIR=/tmp/wolfssl/4.3.0
CFLAGS += -I$(WOLFSSLDIR)/include
LIBS += -L$(WOLFSSLDIR)/lib
LDFLAGS += -Wl,-rpath=$(WOLFSSLDIR)/lib


> The defconfig settings for the supplicant are:

> CONFIG_DPP=y

The other items looked fine, but DPP is not supported with wolfSSL.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/hostap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.