aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-02-16 18:37:19 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-16 20:15:29 (GMT)
commit62944f7d2cb004030b96a5e114752692fb4ea756 (patch)
tree2f77350d40f30519995220cc2117aec0632bf2c5 /hostapd/Android.mk
parentaeecd4eaec6939562b6e5815795b117f7eaa2b9f (diff)
downloadhostap-62944f7d2cb004030b96a5e114752692fb4ea756.zip
hostap-62944f7d2cb004030b96a5e114752692fb4ea756.tar.gz
hostap-62944f7d2cb004030b96a5e114752692fb4ea756.tar.bz2
Add HMAC-SHA384 with internal crypto
This is a copy of the internal HMAC-SHA256 implementation with the hash block size and output length updated to match SHA384 parameters. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 2c5925b..2118c8b 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -836,6 +836,9 @@ endif
endif
ifdef NEED_SHA384
L_CFLAGS += -DCONFIG_SHA384
+ifneq ($(CONFIG_TLS), openssl)
+OBJS += src/crypto/sha384.c
+endif
OBJS += src/crypto/sha384-prf.c
endif