blob: 02af2b3db8c9421304cb3fb4aa34bd67d2cc89ef [file] [log] [blame]
Manuel Pégourié-Gonnard63e7eba2015-07-28 14:17:48 +02001/*
2 * Temporary target-specific config.h for entropy collection
3 *
4 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5 *
6 * This file is part of mbed TLS (https://tls.mbed.org)
7 */
8
9#if defined(TARGET_LIKE_MBED)
10#define MBEDTLS_NO_PLATFORM_ENTROPY
11#undef MBEDTLS_HAVE_TIME_DATE
12#undef MBEDTLS_FS_IO
13#endif
14
15/*
16 * WARNING: this is a temporary hack!
17 * 2. This should be in a separete yotta module which would be a target
18 * dependency of mbedtls (see IOTSSL-313)
19 */
20#if defined(TARGET_LIKE_CORTEX_M4)
21#define MBEDTLS_ENTROPY_HARDWARE_ALT
22#endif