]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add SHA-384 routines to libcrypto.a
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Sep 2017 15:58:59 +0000 (18:58 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 5 Sep 2017 15:58:59 +0000 (18:58 +0300)
wlantest needs this for being able to decrypt FILS (Re)Association
Request/Response frames.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/Makefile

index d181e723134eb3843ce507e968fa3ffebe324dc4..ee93e41fbbb177416d2c9fbaf30e2ec859f56f13 100644 (file)
@@ -14,6 +14,9 @@ CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
 #CFLAGS += -DALL_DH_GROUPS
 CFLAGS += -DCONFIG_SHA256
+CFLAGS += -DCONFIG_SHA384
+CFLAGS += -DCONFIG_HMAC_SHA384_KDF
+CFLAGS += -DCONFIG_INTERNAL_SHA384
 
 LIB_OBJS= \
        aes-cbc.o \
@@ -48,6 +51,8 @@ LIB_OBJS= \
        sha256-prf.o \
        sha256-tlsprf.o \
        sha256-internal.o \
+       sha384.o \
+       sha384-prf.o \
        sha384-internal.o \
        sha512-internal.o