aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-10-11 17:19:12 (GMT)
committerJouni Malinen <j@w1.fi>2009-10-11 17:19:12 (GMT)
commit0dba0175c54944c7d074ddbe65b035b29f5873a9 (patch)
tree6cd2657ee3aed11fadea04f31d85acdd463d704b /hostapd
parent000bbd77c9d4f906a401509a03783994e6dcdd6e (diff)
downloadhostap-0dba0175c54944c7d074ddbe65b035b29f5873a9.zip
hostap-0dba0175c54944c7d074ddbe65b035b29f5873a9.tar.gz
hostap-0dba0175c54944c7d074ddbe65b035b29f5873a9.tar.bz2
Fix crypto config for minimal builds
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 17e122c..d29ad8a 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -266,6 +266,7 @@ NEED_DH_GROUPS=y
NEED_SHA256=y
NEED_CRYPTO=y
NEED_BASE64=y
+NEED_AES_CBC=y
ifdef CONFIG_WPS_UFD
CFLAGS += -DCONFIG_WPS_UFD
@@ -576,9 +577,7 @@ endif
AESOBJS += ../src/crypto/aes-wrap.o
ifndef CONFIG_NO_AES_EXTRAS
-ifdef CONFIG_INTERNAL_AES
-AESOBJS += ../src/crypto/aes-internal-dec.o
-endif
+NEED_AES_CBC=y
AESOBJS += ../src/crypto/aes-cbc.o
AESOBJS += ../src/crypto/aes-ctr.o
AESOBJS += ../src/crypto/aes-eax.o
@@ -587,6 +586,13 @@ AESOBJS += ../src/crypto/aes-omac1.o
AESOBJS += ../src/crypto/aes-unwrap.o
endif
+ifdef NEED_AES_CBC
+ifdef CONFIG_INTERNAL_AES
+AESOBJS += ../src/crypto/aes-internal-dec.o
+endif
+AESOBJS += ../src/crypto/aes-cbc.o
+endif
+
OBJS += $(SHA1OBJS)
ALL=hostapd hostapd_cli