mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 16:15:32 +00:00
check_config: Forbid simultaenous use of TinyCrypt and legacy ECC
This commit is contained in:
parent
a417459ab1
commit
52c52f3c2f
|
@ -113,6 +113,10 @@
|
||||||
#error "MBEDTLS_USE_TINYCRYPT requires the use of MBEDTLS_SSL_CONF_SINGLE_UECC_GRP_ID to hardcode the choice of Secp256r1"
|
#error "MBEDTLS_USE_TINYCRYPT requires the use of MBEDTLS_SSL_CONF_SINGLE_UECC_GRP_ID to hardcode the choice of Secp256r1"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_USE_TINYCRYPT) && defined(MBEDTLS_ECP_C)
|
||||||
|
#error "MBEDTLS_USE_TINYCRYPT and MBEDTLS_ECP_C cannot be used simultaneously"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_USE_TINYCRYPT) && \
|
#if defined(MBEDTLS_USE_TINYCRYPT) && \
|
||||||
!defined(MBEDTLS_SSL_CONF_RNG)
|
!defined(MBEDTLS_SSL_CONF_RNG)
|
||||||
#error "MBEDTLS_USE_TINYCRYPT defined, but not all prerequesites"
|
#error "MBEDTLS_USE_TINYCRYPT defined, but not all prerequesites"
|
||||||
|
|
Loading…
Reference in a new issue