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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks,

The wolfSSL stuff was supplied by a client. Looks like it was a version from 2018. They/we will update to 4.3.0, set correct build options and go another round.

Jim


-----Original Message-----
From: Jouni Malinen <j@xxxxx> 
Sent: Saturday, March 7, 2020 6:16 AM
To: Jim Crites <jcrites@xxxxxxxxxxxxxx>
Cc: hostap@xxxxxxxxxxxxxxxxxxx
Subject: Re: wpa-2.9 supplicant using wolfSSL in place of openssl

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

----------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux