Fix Asan build errors (#281)
[platform/upstream/iotivity.git] / extlibs / mbedtls / mbedtls / configs / config-thread.h
index 3193a04..f1f8ff5 100644 (file)
@@ -35,7 +35,9 @@
 #define MBEDTLS_CONFIG_H
 
 /* System support */
+#if !defined(__SANITIZE_ADDRESS__)
 #define MBEDTLS_HAVE_ASM
+#endif
 
 /* mbed TLS feature support */
 #define MBEDTLS_AES_ROM_TABLES
@@ -57,6 +59,7 @@
 #define MBEDTLS_CCM_C
 #define MBEDTLS_CIPHER_C
 #define MBEDTLS_CTR_DRBG_C
+#define MBEDTLS_CMAC_C
 #define MBEDTLS_ECJPAKE_C
 #define MBEDTLS_ECP_C
 #define MBEDTLS_ENTROPY_C