From: Jouni Malinen Date: Mon, 10 Feb 2020 19:58:10 +0000 (+0200) Subject: wlantest: Add PTK derivation support with SAE, OWE, DPP X-Git-Tag: hostap_2_10~1854 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0edf1700b24cc9aaf0fecb7df58d6c4a04fff4;p=thirdparty%2Fhostap.git wlantest: Add PTK derivation support with SAE, OWE, DPP wlantest build did not define build options to determine key management values for SAE, OWE, and DPP. Add those and the needed SHA512 functions to be able to decrypt sniffer captures with PMK available from an external source. Signed-off-by: Jouni Malinen --- diff --git a/src/crypto/Makefile b/src/crypto/Makefile index ab108daac..c40e95566 100644 --- a/src/crypto/Makefile +++ b/src/crypto/Makefile @@ -54,6 +54,8 @@ LIB_OBJS= \ sha384.o \ sha384-prf.o \ sha384-internal.o \ + sha512.o \ + sha512-prf.o \ sha512-internal.o LIB_OBJS += crypto_internal.o diff --git a/wlantest/Makefile b/wlantest/Makefile index bbcee99a4..0fdf3ff91 100644 --- a/wlantest/Makefile +++ b/wlantest/Makefile @@ -50,6 +50,10 @@ CFLAGS += -DCONFIG_IEEE80211R CFLAGS += -DCONFIG_HS20 CFLAGS += -DCONFIG_DEBUG_FILE CFLAGS += -DCONFIG_FILS +CFLAGS += -DCONFIG_SAE +CFLAGS += -DCONFIG_OWE +CFLAGS += -DCONFIG_DPP +CFLAGS += -DCONFIG_SHA384 OBJS += ../src/common/ieee802_11_common.o OBJS += ../src/common/wpa_common.o