|
@@ -228,8 +228,6 @@ ifdef CONFIG_MESH
|
|
|
NEED_80211_COMMON=y
|
|
|
NEED_SHA256=y
|
|
|
NEED_AES_SIV=y
|
|
|
-NEED_AES_OMAC1=y
|
|
|
-NEED_AES_CTR=y
|
|
|
CONFIG_SAE=y
|
|
|
CONFIG_AP=y
|
|
|
L_CFLAGS += -DCONFIG_MESH
|
|
@@ -1157,6 +1155,12 @@ endif
|
|
|
ifdef NEED_AES_EAX
|
|
|
AESOBJS += src/crypto/aes-eax.c
|
|
|
NEED_AES_CTR=y
|
|
|
+NEED_AES_OMAC1=y
|
|
|
+endif
|
|
|
+ifdef NEED_AES_SIV
|
|
|
+AESOBJS += src/crypto/aes-siv.c
|
|
|
+NEED_AES_CTR=y
|
|
|
+NEED_AES_OMAC1=y
|
|
|
endif
|
|
|
ifdef NEED_AES_CTR
|
|
|
AESOBJS += src/crypto/aes-ctr.c
|
|
@@ -1189,9 +1193,6 @@ ifdef CONFIG_INTERNAL_AES
|
|
|
AESOBJS += src/crypto/aes-internal-enc.c
|
|
|
endif
|
|
|
endif
|
|
|
-ifdef NEED_AES_SIV
|
|
|
-AESOBJS += src/crypto/aes-siv.c
|
|
|
-endif
|
|
|
ifdef NEED_AES
|
|
|
OBJS += $(AESOBJS)
|
|
|
endif
|