aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-16 19:34:35 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-16 19:34:35 (GMT)
commit26a379224c06e0b4e2f9f72f4962fb80da90e462 (patch)
tree64ac1341df4cb0b696195a9207ea0a38b7fad2c8 /wpa_supplicant/Android.mk
parentab637dcb37057f433932ecc8d45e129cd2d14170 (diff)
downloadhostap-26a379224c06e0b4e2f9f72f4962fb80da90e462.zip
hostap-26a379224c06e0b4e2f9f72f4962fb80da90e462.tar.gz
hostap-26a379224c06e0b4e2f9f72f4962fb80da90e462.tar.bz2
OpenSSL: Implement SHA256 HMAC functions using HMAC API
Use the OpenSSL HMAC implementation instead of the internal sha256.c implementation of HMAC with SHA256. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index d0254ab..a3b1550 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -1122,7 +1122,9 @@ endif
SHA256OBJS = # none by default
ifdef NEED_SHA256
L_CFLAGS += -DCONFIG_SHA256
+ifneq ($(CONFIG_TLS), openssl)
SHA256OBJS += src/crypto/sha256.c
+endif
SHA256OBJS += src/crypto/sha256-prf.c
ifdef CONFIG_INTERNAL_SHA256
SHA256OBJS += src/crypto/sha256-internal.c