OWE: Add CONFIG_OWE=y build option

This can be used to enable OWE support in hostapd and wpa_supplicant
builds.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-03-12 00:38:24 +02:00
parent 07a5fe823e
commit 6115238492
8 changed files with 40 additions and 0 deletions

View file

@ -243,6 +243,12 @@ NEED_ECC=y
NEED_DH_GROUPS=y
endif
ifdef CONFIG_OWE
L_CFLAGS += -DCONFIG_OWE
NEED_ECC=y
NEED_HMAC_SHA256_KDF=y
endif
ifdef CONFIG_FILS
L_CFLAGS += -DCONFIG_FILS
NEED_SHA384=y

View file

@ -276,6 +276,12 @@ NEED_ECC=y
NEED_DH_GROUPS=y
endif
ifdef CONFIG_OWE
CFLAGS += -DCONFIG_OWE
NEED_ECC=y
NEED_HMAC_SHA256_KDF=y
endif
ifdef CONFIG_FILS
CFLAGS += -DCONFIG_FILS
NEED_SHA384=y

View file

@ -541,4 +541,8 @@ CONFIG_WIFI_DISPLAY=y
# channels (experimental)
#CONFIG_BGSCAN_LEARN=y
# Opportunistic Wireless Encryption (OWE)
# Experimental implementation of draft-harkins-owe-07.txt
#CONFIG_OWE=y
include $(wildcard $(LOCAL_PATH)/android_config_*.inc)

View file

@ -581,3 +581,7 @@ CONFIG_PEERKEY=y
# Learn channels used by the network and try to avoid bgscans on other
# channels (experimental)
#CONFIG_BGSCAN_LEARN=y
# Opportunistic Wireless Encryption (OWE)
# Experimental implementation of draft-harkins-owe-07.txt
#CONFIG_OWE=y