WNCInterface

Dependencies:   WncControllerK64F

Fork of WNCInterface by Avnet

Committer:
JMF
Date:
Mon Nov 14 21:15:42 2016 +0000
Revision:
16:8a4105d407d3
Parent:
15:efb742130cb2
Child:
20:9d2428bde914
updated to ensure it builds with TLS by correcting config defaults.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JMF 12:0071cb144c7a 1 /*
JMF 12:0071cb144c7a 2 * Temporary target-specific config.h for entropy collection
JMF 12:0071cb144c7a 3 *
JMF 12:0071cb144c7a 4 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
JMF 12:0071cb144c7a 5 * SPDX-License-Identifier: Apache-2.0
JMF 12:0071cb144c7a 6 *
JMF 12:0071cb144c7a 7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
JMF 12:0071cb144c7a 8 * not use this file except in compliance with the License.
JMF 12:0071cb144c7a 9 * You may obtain a copy of the License at
JMF 12:0071cb144c7a 10 *
JMF 12:0071cb144c7a 11 * http://www.apache.org/licenses/LICENSE-2.0
JMF 12:0071cb144c7a 12 *
JMF 12:0071cb144c7a 13 * Unless required by applicable law or agreed to in writing, software
JMF 12:0071cb144c7a 14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
JMF 12:0071cb144c7a 15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
JMF 12:0071cb144c7a 16 * See the License for the specific language governing permissions and
JMF 12:0071cb144c7a 17 * limitations under the License.
JMF 12:0071cb144c7a 18 *
JMF 12:0071cb144c7a 19 * This file is part of mbed TLS (https://tls.mbed.org)
JMF 12:0071cb144c7a 20 */
JMF 12:0071cb144c7a 21
JMF 12:0071cb144c7a 22 #if defined(TARGET_LIKE_MBED)
JMF 12:0071cb144c7a 23 #define MBEDTLS_NO_PLATFORM_ENTROPY
JMF 12:0071cb144c7a 24 #undef MBEDTLS_HAVE_TIME_DATE
JMF 12:0071cb144c7a 25 #undef MBEDTLS_FS_IO
JMF 12:0071cb144c7a 26 #endif
JMF 12:0071cb144c7a 27
JMF 12:0071cb144c7a 28 /*
JMF 12:0071cb144c7a 29 * WARNING: this is temporary!
JMF 12:0071cb144c7a 30 * This should be in a separate yotta module which would be a target
JMF 12:0071cb144c7a 31 * dependency of mbedtls (see IOTSSL-313)
JMF 12:0071cb144c7a 32 */
JMF 12:0071cb144c7a 33 #if defined(TARGET_LIKE_K64F)
JMF 12:0071cb144c7a 34 #define MBEDTLS_ENTROPY_HARDWARE_ALT
JMF 12:0071cb144c7a 35 #endif
JMF 15:efb742130cb2 36
JMF 15:efb742130cb2 37 #define MBEDTLS_ENTROPY_C
JMF 16:8a4105d407d3 38 //#define MBEDTLS_TEST_NULL_ENTROPY
JMF 15:efb742130cb2 39 #define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES