aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-02-10 19:58:10 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2020-02-10 19:58:10 (GMT)
commit9a0edf1700b24cc9aaf0fecb7df58d6c4a04fff4 (patch)
tree66a08969164750ba3dd39caf731065670c4200a0
parent96a2a9a88bd8dab584ace9922c76a815c498f352 (diff)
downloadhostap-9a0edf1700b24cc9aaf0fecb7df58d6c4a04fff4.zip
hostap-9a0edf1700b24cc9aaf0fecb7df58d6c4a04fff4.tar.gz
hostap-9a0edf1700b24cc9aaf0fecb7df58d6c4a04fff4.tar.bz2
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 <jouni@codeaurora.org>
-rw-r--r--src/crypto/Makefile2
-rw-r--r--wlantest/Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/crypto/Makefile b/src/crypto/Makefile
index ab108da..c40e955 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 bbcee99..0fdf3ff 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