HTTP and HTTPS example application for Mbed OS 5

Dependencies:   mbed-http

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbedtls_entropy_config.h Source File

mbedtls_entropy_config.h

00001 /*
00002  *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
00003  *  SPDX-License-Identifier: Apache-2.0
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00006  *  not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *  http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00013  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *  This file is part of mbed TLS (https://tls.mbed.org)
00018  */
00019 
00020 #include "select-demo.h"
00021 
00022 /* Enable entropy for devices with TRNG. This means entropy is disabled for all other targets. */
00023 /* Do **NOT** deploy this code in production on other targets! */
00024 /* See https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool */
00025 #if defined(DEVICE_TRNG)
00026 #undef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES
00027 #undef MBEDTLS_TEST_NULL_ENTROPY
00028 #endif