this is using the mbed os version 5-13-1
mbedtls_entropy_config.h@73:6f5021cbe752, 2019-02-28 (annotated)
- Committer:
- ocomeni
- Date:
- Thu Feb 28 18:13:48 2019 +0000
- Revision:
- 73:6f5021cbe752
commit current application code
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ocomeni | 73:6f5021cbe752 | 1 | /* |
| ocomeni | 73:6f5021cbe752 | 2 | * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved |
| ocomeni | 73:6f5021cbe752 | 3 | * SPDX-License-Identifier: Apache-2.0 |
| ocomeni | 73:6f5021cbe752 | 4 | * |
| ocomeni | 73:6f5021cbe752 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| ocomeni | 73:6f5021cbe752 | 6 | * not use this file except in compliance with the License. |
| ocomeni | 73:6f5021cbe752 | 7 | * You may obtain a copy of the License at |
| ocomeni | 73:6f5021cbe752 | 8 | * |
| ocomeni | 73:6f5021cbe752 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| ocomeni | 73:6f5021cbe752 | 10 | * |
| ocomeni | 73:6f5021cbe752 | 11 | * Unless required by applicable law or agreed to in writing, software |
| ocomeni | 73:6f5021cbe752 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| ocomeni | 73:6f5021cbe752 | 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ocomeni | 73:6f5021cbe752 | 14 | * See the License for the specific language governing permissions and |
| ocomeni | 73:6f5021cbe752 | 15 | * limitations under the License. |
| ocomeni | 73:6f5021cbe752 | 16 | * |
| ocomeni | 73:6f5021cbe752 | 17 | * This file is part of mbed TLS (https://tls.mbed.org) |
| ocomeni | 73:6f5021cbe752 | 18 | */ |
| ocomeni | 73:6f5021cbe752 | 19 | |
| ocomeni | 73:6f5021cbe752 | 20 | #include "select-demo.h" |
| ocomeni | 73:6f5021cbe752 | 21 | |
| ocomeni | 73:6f5021cbe752 | 22 | /* Enable entropy for devices with TRNG. This means entropy is disabled for all other targets. */ |
| ocomeni | 73:6f5021cbe752 | 23 | /* Do **NOT** deploy this code in production on other targets! */ |
| ocomeni | 73:6f5021cbe752 | 24 | /* See https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool */ |
| ocomeni | 73:6f5021cbe752 | 25 | #if defined(DEVICE_TRNG) |
| ocomeni | 73:6f5021cbe752 | 26 | #undef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES |
| ocomeni | 73:6f5021cbe752 | 27 | #undef MBEDTLS_TEST_NULL_ENTROPY |
| ocomeni | 73:6f5021cbe752 | 28 | #endif |