mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-25 01:45:25 +00:00
TinyCrypt Config: Allow TC replacing legacy ECDSA in check_config.h
This commit is contained in:
parent
0e83f7252f
commit
490277c8a2
|
@ -289,7 +289,7 @@
|
|||
|
||||
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED) && \
|
||||
( !( defined(MBEDTLS_ECDH_C) || defined(MBEDTLS_USE_TINYCRYPT) ) || \
|
||||
!defined(MBEDTLS_ECDSA_C) || \
|
||||
!( defined(MBEDTLS_ECDSA_C) || defined(MBEDTLS_USE_TINYCRYPT) ) || \
|
||||
!defined(MBEDTLS_X509_CRT_PARSE_C) )
|
||||
#error "MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED defined, but not all prerequisites"
|
||||
#endif
|
||||
|
@ -338,7 +338,9 @@
|
|||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PK_C) && \
|
||||
( !defined(MBEDTLS_RSA_C) && !defined(MBEDTLS_ECP_C) )
|
||||
( !defined(MBEDTLS_RSA_C) && \
|
||||
!defined(MBEDTLS_ECP_C) && \
|
||||
!defined(MBEDTLS_USE_TINYCRYPT) )
|
||||
#error "MBEDTLS_PK_C defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue