mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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:
parent
07a5fe823e
commit
6115238492
@ -261,6 +261,12 @@ NEED_ECC=y
|
|||||||
NEED_DH_GROUPS=y
|
NEED_DH_GROUPS=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OWE
|
||||||
|
L_CFLAGS += -DCONFIG_OWE
|
||||||
|
NEED_ECC=y
|
||||||
|
NEED_HMAC_SHA256_KDF=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_FILS
|
ifdef CONFIG_FILS
|
||||||
L_CFLAGS += -DCONFIG_FILS
|
L_CFLAGS += -DCONFIG_FILS
|
||||||
OBJS += src/ap/fils_hlp.c
|
OBJS += src/ap/fils_hlp.c
|
||||||
|
@ -305,6 +305,12 @@ NEED_DH_GROUPS=y
|
|||||||
NEED_AP_MLME=y
|
NEED_AP_MLME=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OWE
|
||||||
|
CFLAGS += -DCONFIG_OWE
|
||||||
|
NEED_ECC=y
|
||||||
|
NEED_HMAC_SHA256_KDF=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_FILS
|
ifdef CONFIG_FILS
|
||||||
CFLAGS += -DCONFIG_FILS
|
CFLAGS += -DCONFIG_FILS
|
||||||
OBJS += ../src/ap/fils_hlp.o
|
OBJS += ../src/ap/fils_hlp.o
|
||||||
|
@ -202,3 +202,7 @@ CONFIG_AP=y
|
|||||||
|
|
||||||
# Include internal line edit mode in hostapd_cli.
|
# Include internal line edit mode in hostapd_cli.
|
||||||
CONFIG_WPA_CLI_EDIT=y
|
CONFIG_WPA_CLI_EDIT=y
|
||||||
|
|
||||||
|
# Opportunistic Wireless Encryption (OWE)
|
||||||
|
# Experimental implementation of draft-harkins-owe-07.txt
|
||||||
|
#CONFIG_OWE=y
|
||||||
|
@ -362,3 +362,7 @@ CONFIG_IPV6=y
|
|||||||
# Include internal line edit mode in hostapd_cli. This can be used to provide
|
# Include internal line edit mode in hostapd_cli. This can be used to provide
|
||||||
# limited command line editing and history support.
|
# limited command line editing and history support.
|
||||||
#CONFIG_WPA_CLI_EDIT=y
|
#CONFIG_WPA_CLI_EDIT=y
|
||||||
|
|
||||||
|
# Opportunistic Wireless Encryption (OWE)
|
||||||
|
# Experimental implementation of draft-harkins-owe-07.txt
|
||||||
|
#CONFIG_OWE=y
|
||||||
|
@ -243,6 +243,12 @@ NEED_ECC=y
|
|||||||
NEED_DH_GROUPS=y
|
NEED_DH_GROUPS=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OWE
|
||||||
|
L_CFLAGS += -DCONFIG_OWE
|
||||||
|
NEED_ECC=y
|
||||||
|
NEED_HMAC_SHA256_KDF=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_FILS
|
ifdef CONFIG_FILS
|
||||||
L_CFLAGS += -DCONFIG_FILS
|
L_CFLAGS += -DCONFIG_FILS
|
||||||
NEED_SHA384=y
|
NEED_SHA384=y
|
||||||
|
@ -276,6 +276,12 @@ NEED_ECC=y
|
|||||||
NEED_DH_GROUPS=y
|
NEED_DH_GROUPS=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OWE
|
||||||
|
CFLAGS += -DCONFIG_OWE
|
||||||
|
NEED_ECC=y
|
||||||
|
NEED_HMAC_SHA256_KDF=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_FILS
|
ifdef CONFIG_FILS
|
||||||
CFLAGS += -DCONFIG_FILS
|
CFLAGS += -DCONFIG_FILS
|
||||||
NEED_SHA384=y
|
NEED_SHA384=y
|
||||||
|
@ -541,4 +541,8 @@ CONFIG_WIFI_DISPLAY=y
|
|||||||
# channels (experimental)
|
# channels (experimental)
|
||||||
#CONFIG_BGSCAN_LEARN=y
|
#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)
|
include $(wildcard $(LOCAL_PATH)/android_config_*.inc)
|
||||||
|
@ -581,3 +581,7 @@ CONFIG_PEERKEY=y
|
|||||||
# Learn channels used by the network and try to avoid bgscans on other
|
# Learn channels used by the network and try to avoid bgscans on other
|
||||||
# channels (experimental)
|
# channels (experimental)
|
||||||
#CONFIG_BGSCAN_LEARN=y
|
#CONFIG_BGSCAN_LEARN=y
|
||||||
|
|
||||||
|
# Opportunistic Wireless Encryption (OWE)
|
||||||
|
# Experimental implementation of draft-harkins-owe-07.txt
|
||||||
|
#CONFIG_OWE=y
|
||||||
|
Loading…
Reference in New Issue
Block a user