This software setup a central node of a star topology network
Dependencies: MQTT target_st_bluenrg
Fork of ble-star-mbed by
mbedtls_entropy_config.h@5:5cfb069b2587, 2018-04-04 (annotated)
- Committer:
- lorevee
- Date:
- Wed Apr 04 14:42:35 2018 +0000
- Revision:
- 5:5cfb069b2587
- Parent:
- 4:4af40af2530e
default id
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lorevee | 4:4af40af2530e | 1 | /* |
lorevee | 4:4af40af2530e | 2 | * Copyright (C) 2006-2016, Arm Limited, All Rights Reserved |
lorevee | 4:4af40af2530e | 3 | * SPDX-License-Identifier: Apache-2.0 |
lorevee | 4:4af40af2530e | 4 | * |
lorevee | 4:4af40af2530e | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
lorevee | 4:4af40af2530e | 6 | * not use this file except in compliance with the License. |
lorevee | 4:4af40af2530e | 7 | * You may obtain a copy of the License at |
lorevee | 4:4af40af2530e | 8 | * |
lorevee | 4:4af40af2530e | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
lorevee | 4:4af40af2530e | 10 | * |
lorevee | 4:4af40af2530e | 11 | * Unless required by applicable law or agreed to in writing, software |
lorevee | 4:4af40af2530e | 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
lorevee | 4:4af40af2530e | 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
lorevee | 4:4af40af2530e | 14 | * See the License for the specific language governing permissions and |
lorevee | 4:4af40af2530e | 15 | * limitations under the License. |
lorevee | 4:4af40af2530e | 16 | * |
lorevee | 4:4af40af2530e | 17 | * This file is part of Mbed TLS (https://tls.mbed.org) |
lorevee | 4:4af40af2530e | 18 | */ |
lorevee | 4:4af40af2530e | 19 | |
lorevee | 4:4af40af2530e | 20 | #if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \ |
lorevee | 4:4af40af2530e | 21 | !defined(MBEDTLS_ENTROPY_NV_SEED) && !defined(MBEDTLS_TEST_NULL_ENTROPY) |
lorevee | 4:4af40af2530e | 22 | //#error "This hardware does not have an entropy source." |
lorevee | 4:4af40af2530e | 23 | #endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_ENTROPY_NV_SEED && |
lorevee | 4:4af40af2530e | 24 | * !MBEDTLS_TEST_NULL_ENTROPY */ |
lorevee | 4:4af40af2530e | 25 | |
lorevee | 4:4af40af2530e | 26 | #if !defined(MBEDTLS_SHA1_C) |
lorevee | 4:4af40af2530e | 27 | #define MBEDTLS_SHA1_C |
lorevee | 4:4af40af2530e | 28 | #endif /* !MBEDTLS_SHA1_C */ |
lorevee | 4:4af40af2530e | 29 | |
lorevee | 4:4af40af2530e | 30 | /* |
lorevee | 4:4af40af2530e | 31 | * This value is sufficient for handling 2048 bit RSA keys. |
lorevee | 4:4af40af2530e | 32 | * |
lorevee | 4:4af40af2530e | 33 | * Set this value higher to enable handling larger keys, but be aware that this |
lorevee | 4:4af40af2530e | 34 | * will increase the stack usage. |
lorevee | 4:4af40af2530e | 35 | */ |
lorevee | 4:4af40af2530e | 36 | #define MBEDTLS_MPI_MAX_SIZE 256 |
lorevee | 4:4af40af2530e | 37 | |
lorevee | 4:4af40af2530e | 38 | #define MBEDTLS_MPI_WINDOW_SIZE 1 |
lorevee | 4:4af40af2530e | 39 | |
lorevee | 4:4af40af2530e | 40 | #if defined(TARGET_STM32F439xI) && defined(MBEDTLS_CONFIG_HW_SUPPORT) |
lorevee | 4:4af40af2530e | 41 | #undef MBEDTLS_AES_ALT |
lorevee | 4:4af40af2530e | 42 | #endif /* TARGET_STM32F439xI && MBEDTLS_CONFIG_HW_SUPPORT */ |