]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Add PTK derivation support with SAE, OWE, DPP
authorJouni Malinen <jouni@codeaurora.org>
Mon, 10 Feb 2020 19:58:10 +0000 (21:58 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Mon, 10 Feb 2020 19:58:10 +0000 (21:58 +0200)
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 <jouni@codeaurora.org>
src/crypto/Makefile
wlantest/Makefile

index ab108daac835e57309ed9de5944fb505e37d25e1..c40e95566104eef29b626ed415f951aaced2bb8c 100644 (file)
@@ -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
index bbcee99a45b3fb2f611ab217bc04d62f26216d42..0fdf3ff91f8621ab96964ae17cbe94534d5d509b 100644 (file)
@@ -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