aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-15 18:17:50 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-17 15:04:12 (GMT)
commit77f273c82cafb54ba2a141ecd9b2e34a7e4b5bf0 (patch)
treef97908a0c35ddc3f36a5833948b2f0c981b1f779 /hostapd/Makefile
parent2c9d924975eae49bf6a5eae2e1cd9775f7e91cd9 (diff)
downloadhostap-77f273c82cafb54ba2a141ecd9b2e34a7e4b5bf0.zip
hostap-77f273c82cafb54ba2a141ecd9b2e34a7e4b5bf0.tar.gz
hostap-77f273c82cafb54ba2a141ecd9b2e34a7e4b5bf0.tar.bz2
Extend SHA-384 and SHA-512 support to match SHA-256
The additional SHA-384 and SHA-512 functionality is needed to support DPP with various ECC curves. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index ab144e2..b9e8924 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -952,6 +952,12 @@ endif
ifdef NEED_HMAC_SHA256_KDF
OBJS += ../src/crypto/sha256-kdf.o
endif
+ifdef NEED_HMAC_SHA384_KDF
+OBJS += ../src/crypto/sha384-kdf.o
+endif
+ifdef NEED_HMAC_SHA512_KDF
+OBJS += ../src/crypto/sha512-kdf.o
+endif
endif
ifdef NEED_SHA384
CFLAGS += -DCONFIG_SHA384
@@ -962,6 +968,15 @@ endif
endif
OBJS += ../src/crypto/sha384-prf.o
endif
+ifdef NEED_SHA512
+CFLAGS += -DCONFIG_SHA512
+ifneq ($(CONFIG_TLS), openssl)
+ifneq ($(CONFIG_TLS), linux)
+OBJS += ../src/crypto/sha512.o
+endif
+endif
+OBJS += ../src/crypto/sha512-prf.o
+endif
ifdef CONFIG_INTERNAL_SHA384
CFLAGS += -DCONFIG_INTERNAL_SHA384