From: Jouni Malinen Date: Thu, 26 May 2022 17:45:37 +0000 (+0300) Subject: SAE-PK: Fix build without AES-SIV X-Git-Tag: hostap_2_11~1873 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e305878c0553d3e61b655542520d0ac881ae5dc;p=thirdparty%2Fhostap.git SAE-PK: Fix build without AES-SIV CONFIG_SAE_PK=y was not pulling in AES-SIV implementation even though it needs this. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 953031577..2f8e8862e 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -256,6 +256,7 @@ L_CFLAGS += -DCONFIG_SAE OBJS += src/common/sae.c ifdef CONFIG_SAE_PK L_CFLAGS += -DCONFIG_SAE_PK +NEED_AES_SIV=y OBJS += src/common/sae_pk.c endif NEED_ECC=y diff --git a/hostapd/Makefile b/hostapd/Makefile index 3325937ff..73cf28c1a 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -295,6 +295,7 @@ CFLAGS += -DCONFIG_SAE OBJS += ../src/common/sae.o ifdef CONFIG_SAE_PK CFLAGS += -DCONFIG_SAE_PK +NEED_AES_SIV=y OBJS += ../src/common/sae_pk.o endif NEED_ECC=y diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 34d37fdcc..605419bf5 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -243,6 +243,7 @@ L_CFLAGS += -DCONFIG_SAE OBJS += src/common/sae.c ifdef CONFIG_SAE_PK L_CFLAGS += -DCONFIG_SAE_PK +NEED_AES_SIV=y OBJS += src/common/sae_pk.c endif NEED_ECC=y diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index d12b485a8..a6bcb4c42 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -266,6 +266,7 @@ CFLAGS += -DCONFIG_SAE OBJS += ../src/common/sae.o ifdef CONFIG_SAE_PK CFLAGS += -DCONFIG_SAE_PK +NEED_AES_SIV=y OBJS += ../src/common/sae_pk.o endif NEED_ECC=y