31#ifndef RIOT_MBEDTLS_CONFIG_H
32#define RIOT_MBEDTLS_CONFIG_H
34#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
35#define _CRT_SECURE_NO_DEPRECATE 1
44#if !IS_ACTIVE(CONFIG_KCONFIG_USEPKG_MBEDTLS) || defined(DOXYGEN)
50#ifndef CONFIG_MBEDTLS_SELF_TEST
51#define CONFIG_MBEDTLS_SELF_TEST 1
65#ifndef CONFIG_MBEDTLS_ENTROPY_C
66#define CONFIG_MBEDTLS_ENTROPY_C 1
83#ifndef CONFIG_MBEDTLS_SHA256_C
84#define CONFIG_MBEDTLS_SHA256_C 1
111#ifndef CONFIG_MBEDTLS_SHA256_ALT
112#define CONFIG_MBEDTLS_SHA256_ALT 1
135#ifndef CONFIG_MBEDTLS_THREADING_C
136#define CONFIG_MBEDTLS_THREADING_C 1
146#if !defined (CONFIG_MBEDTLS_THREADING_ALT) && defined (CONFIG_MBEDTLS_THREADING_C)
147#define CONFIG_MBEDTLS_THREADING_ALT 1
152#if !IS_ACTIVE(CONFIG_KCONFIG_USEMODULE_MBEDTLS_ENTROPY) || defined(DOXYGEN)
164#ifndef CONFIG_MBEDTLS_ENTROPY_HARDWARE_ALT
165#define CONFIG_MBEDTLS_ENTROPY_HARDWARE_ALT 1
176#ifndef CONFIG_MBEDTLS_NO_PLATFORM_ENTROPY
177#define CONFIG_MBEDTLS_NO_PLATFORM_ENTROPY 1
193#ifndef CONFIG_MBEDTLS_ENTROPY_FORCE_SHA256
194#define CONFIG_MBEDTLS_ENTROPY_FORCE_SHA256 1
203#if CONFIG_MBEDTLS_SHA256_ALT
204#define MBEDTLS_SHA256_ALT 1
206#if CONFIG_MBEDTLS_ENTROPY_HARDWARE_ALT
207#define MBEDTLS_ENTROPY_HARDWARE_ALT 1
209#if CONFIG_MBEDTLS_NO_PLATFORM_ENTROPY
210#define MBEDTLS_NO_PLATFORM_ENTROPY 1
212#if CONFIG_MBEDTLS_ENTROPY_FORCE_SHA256
213#define MBEDTLS_ENTROPY_FORCE_SHA256 1
215#if CONFIG_MBEDTLS_THREADING_C
216#define MBEDTLS_THREADING_C 1
218#if CONFIG_MBEDTLS_THREADING_ALT
219#define MBEDTLS_THREADING_ALT 1
221#if CONFIG_MBEDTLS_SELF_TEST
222#define MBEDTLS_SELF_TEST 1
224#if CONFIG_MBEDTLS_ENTROPY_C
225#define MBEDTLS_ENTROPY_C 1
227#if CONFIG_MBEDTLS_SHA256_C
228#define MBEDTLS_SHA256_C 1
232#include "mbedtls/check_config.h"
Common macros and compiler attributes/pragmas configuration.