OpenSSL: Add SHA256 support in openssl_tls_prf() for TLSv1.2
This is needed when enabling TLSv1.2 support for EAP-FAST since the SSL_export_keying_material() call does not support the needed parameters for TLS PRF and the external-to-OpenSSL PRF needs to be used instead. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3de28506d2
commit
16bc3b8935
5 changed files with 35 additions and 13 deletions
|
@ -990,6 +990,8 @@ OBJS_p += src/crypto/crypto_openssl.c
|
|||
ifdef NEED_FIPS186_2_PRF
|
||||
OBJS += src/crypto/fips_prf_openssl.c
|
||||
endif
|
||||
NEED_SHA256=y
|
||||
NEED_TLS_PRF_SHA256=y
|
||||
LIBS += -lcrypto
|
||||
LIBS_p += -lcrypto
|
||||
ifdef CONFIG_TLS_ADD_DL
|
||||
|
|
|
@ -1001,6 +1001,8 @@ OBJS_priv += ../src/crypto/crypto_openssl.o
|
|||
ifdef NEED_FIPS186_2_PRF
|
||||
OBJS += ../src/crypto/fips_prf_openssl.o
|
||||
endif
|
||||
NEED_SHA256=y
|
||||
NEED_TLS_PRF_SHA256=y
|
||||
LIBS += -lcrypto
|
||||
LIBS_p += -lcrypto
|
||||
ifdef CONFIG_TLS_ADD_DL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue