aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2015-11-22 01:02:57 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-29 16:19:32 (GMT)
commit6bb6a9ce29c9eeeae8851b0cbcdc60ec98bb6fce (patch)
tree0ce9806d0ecf6b5be55764983339bbff9db8d02a /hostapd/Android.mk
parentfdc16142642b702105bf769cbe95db3370690ff1 (diff)
downloadhostap-6bb6a9ce29c9eeeae8851b0cbcdc60ec98bb6fce.zip
hostap-6bb6a9ce29c9eeeae8851b0cbcdc60ec98bb6fce.tar.gz
hostap-6bb6a9ce29c9eeeae8851b0cbcdc60ec98bb6fce.tar.bz2
Add SHA384 and SHA512 implementations from LibTomCrypt library
These will be used with the internal TLS implementation to extend hash algorithm support for new certificates and TLS v1.2. Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 5885f2b..8670624 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -651,6 +651,8 @@ CONFIG_INTERNAL_SHA1=y
CONFIG_INTERNAL_MD4=y
CONFIG_INTERNAL_MD5=y
CONFIG_INTERNAL_SHA256=y
+CONFIG_INTERNAL_SHA384=y
+CONFIG_INTERNAL_SHA512=y
CONFIG_INTERNAL_RC4=y
CONFIG_INTERNAL_DH_GROUP5=y
endif
@@ -809,6 +811,16 @@ L_CFLAGS += -DCONFIG_SHA384
OBJS += src/crypto/sha384-prf.c
endif
+ifdef CONFIG_INTERNAL_SHA384
+L_CFLAGS += -DCONFIG_INTERNAL_SHA384
+OBJS += src/crypto/sha384-internal.c
+endif
+
+ifdef CONFIG_INTERNAL_SHA512
+L_CFLAGS += -DCONFIG_INTERNAL_SHA512
+OBJS += src/crypto/sha512-internal.c
+endif
+
ifdef NEED_DH_GROUPS
OBJS += src/crypto/dh_groups.c
endif