From 3db2a82df827608fd5d0860781c6e6fa1023ba8d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 5 Sep 2017 18:58:59 +0300 Subject: [PATCH] Add SHA-384 routines to libcrypto.a wlantest needs this for being able to decrypt FILS (Re)Association Request/Response frames. Signed-off-by: Jouni Malinen --- src/crypto/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/crypto/Makefile b/src/crypto/Makefile index d181e7231..ee93e41fb 100644 --- a/src/crypto/Makefile +++ b/src/crypto/Makefile @@ -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