aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
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/Makefile
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/Makefile')
-rw-r--r--hostapd/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 67b025b..e5549f3 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -644,6 +644,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
@@ -804,6 +806,16 @@ CFLAGS += -DCONFIG_SHA384
OBJS += ../src/crypto/sha384-prf.o
endif
+ifdef CONFIG_INTERNAL_SHA384
+CFLAGS += -DCONFIG_INTERNAL_SHA384
+OBJS += ../src/crypto/sha384-internal.o
+endif
+
+ifdef CONFIG_INTERNAL_SHA512
+CFLAGS += -DCONFIG_INTERNAL_SHA512
+OBJS += ../src/crypto/sha512-internal.o
+endif
+
ifdef NEED_DH_GROUPS
OBJS += ../src/crypto/dh_groups.o
endif