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>
This commit is contained in:
Jouni Malinen 2020-02-10 21:58:10 +02:00
parent 96a2a9a88b
commit 9a0edf1700
2 changed files with 6 additions and 0 deletions

View 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

View 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