Make PSA crypto mandatory for TLS 1.3
As we want to move to PSA for cryptographic operations let's mandate PSA crypto from the start. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
76a2b306ac
commit
0abf07ca2c
3 changed files with 7 additions and 10 deletions
|
@ -598,8 +598,10 @@
|
|||
#error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL) && ( !defined(MBEDTLS_HKDF_C) && \
|
||||
!defined(MBEDTLS_SHA256_C) && !defined(MBEDTLS_SHA512_C) )
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL) && \
|
||||
( ( !defined(MBEDTLS_HKDF_C) && !defined(MBEDTLS_SHA256_C) && \
|
||||
!defined(MBEDTLS_SHA512_C) ) \
|
||||
|| ( !defined(MBEDTLS_PSA_CRYPTO_C) ) )
|
||||
#error "MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue