1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-16 19:57:57 +08:00

addind check_config.h to the commit

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-04-28 16:34:13 +02:00
parent 9876a85f22
commit 92b1febbf6

View File

@ -85,6 +85,10 @@
#error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_CMAC_C)
#define MBEDTLS_CIPHER_MODE_CBC
#endif
#if defined(MBEDTLS_CMAC_C) && \
!defined(MBEDTLS_AES_C) && !defined(MBEDTLS_DES_C)
#error "MBEDTLS_CMAC_C defined, but not all prerequisites"