mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-20 15:47:57 +00:00
check_config: prevent fully dynamic and static key stores to be enabled simultaneously
Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -741,6 +741,11 @@
|
|||||||
#error "MBEDTLS_PSA_INJECT_ENTROPY is not compatible with MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG"
|
#error "MBEDTLS_PSA_INJECT_ENTROPY is not compatible with MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PSA_KEY_STORE_DYNAMIC) && \
|
||||||
|
defined(MBEDTLS_PSA_STATIC_KEY_SLOTS)
|
||||||
|
#error "MBEDTLS_PSA_KEY_STORE_DYNAMIC and MBEDTLS_PSA_STATIC_KEY_SLOTS cannot be defined simultaneously"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_ITS_FILE_C) && \
|
#if defined(MBEDTLS_PSA_ITS_FILE_C) && \
|
||||||
!defined(MBEDTLS_FS_IO)
|
!defined(MBEDTLS_FS_IO)
|
||||||
#error "MBEDTLS_PSA_ITS_FILE_C defined, but not all prerequisites"
|
#error "MBEDTLS_PSA_ITS_FILE_C defined, but not all prerequisites"
|
||||||
|
|||||||
Reference in New Issue
Block a user