mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix crypto config for minimal builds
This commit is contained in:
parent
000bbd77c9
commit
0dba0175c5
@ -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
|
||||
|
@ -418,6 +418,7 @@ NEED_SHA256=y
|
||||
NEED_BASE64=y
|
||||
NEED_CRYPTO=y
|
||||
NEED_80211_COMMON=y
|
||||
NEED_AES_CBC=y
|
||||
|
||||
ifdef CONFIG_WPS_UFD
|
||||
CFLAGS += -DCONFIG_WPS_UFD
|
||||
@ -722,6 +723,10 @@ ifdef CHAP
|
||||
OBJS += ../src/eap_common/chap.o
|
||||
endif
|
||||
|
||||
ifndef CONFIG_NO_WPA
|
||||
NEED_CRYPTO=y
|
||||
endif
|
||||
|
||||
ifdef NEED_CRYPTO
|
||||
ifndef TLS_FUNCS
|
||||
ifeq ($(CONFIG_TLS), openssl)
|
||||
@ -991,15 +996,19 @@ endif
|
||||
|
||||
AESOBJS += ../src/crypto/aes-unwrap.o
|
||||
ifndef CONFIG_NO_AES_EXTRAS
|
||||
ifdef CONFIG_INTERNAL_AES
|
||||
AESOBJS += ../src/crypto/aes-internal-enc.o
|
||||
endif
|
||||
AESOBJS += ../src/crypto/aes-cbc.o
|
||||
NEED_AES_CBC=y
|
||||
AESOBJS += ../src/crypto/aes-ctr.o
|
||||
AESOBJS += ../src/crypto/aes-eax.o
|
||||
AESOBJS += ../src/crypto/aes-encblock.o
|
||||
AESOBJS += ../src/crypto/aes-omac1.o
|
||||
AESOBJS += ../src/crypto/aes-wrap.o
|
||||
else
|
||||
endif
|
||||
ifdef NEED_AES_CBC
|
||||
ifdef CONFIG_INTERNAL_AES
|
||||
AESOBJS += ../src/crypto/aes-internal-enc.o
|
||||
endif
|
||||
AESOBJS += ../src/crypto/aes-cbc.o
|
||||
endif
|
||||
|
||||
ifdef NEED_AES
|
||||
|
Loading…
Reference in New Issue
Block a user