aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
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 /hostapd/Android.mk
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 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 54b139c..78a1506 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -688,8 +688,10 @@ endif
endif
ifdef NEED_AES_CBC
NEED_AES_DEC=y
+ifneq ($(CONFIG_TLS), openssl)
AESOBJS += src/crypto/aes-cbc.c
endif
+endif
ifdef NEED_AES_DEC
ifdef CONFIG_INTERNAL_AES
AESOBJS += src/crypto/aes-internal-dec.c