aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-03-29 17:30:58 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-29 17:30:58 (GMT)
commit65a7b21f5ec22efe12d58cb3b760fb9e93ff8502 (patch)
treee3fbfd962d04f6a929a7203b597b8fb11750b4e9 /wpa_supplicant/Makefile
parent22ba05c09e001857853b3bd425061b120f32a738 (diff)
downloadhostap-65a7b21f5ec22efe12d58cb3b760fb9e93ff8502.zip
hostap-65a7b21f5ec22efe12d58cb3b760fb9e93ff8502.tar.gz
hostap-65a7b21f5ec22efe12d58cb3b760fb9e93ff8502.tar.bz2
OpenSSL: Implement AES-128 CBC using EVP API
This replaces the internal CBC mode implementation in aes_128_cbc_encrypt() and aes_128_cbc_decrypt() with the OpenSSL implementation for CONFIG_TLS=openssl builds. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index d086eeb..662e7f8 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -1162,8 +1162,10 @@ endif
endif
ifdef NEED_AES_CBC
NEED_AES_ENC=y
+ifneq ($(CONFIG_TLS), openssl)
AESOBJS += ../src/crypto/aes-cbc.o
endif
+endif
ifdef NEED_AES_ENC
ifdef CONFIG_INTERNAL_AES
AESOBJS += ../src/crypto/aes-internal-enc.o