Jim Flynn
/
aws-iot-device-sdk-mbed-c
Changes to enabled on-line compiler
mbedtls_entropy_config.h@0:082731ede69f, 2018-05-30 (annotated)
- Committer:
- JMF
- Date:
- Wed May 30 20:59:51 2018 +0000
- Revision:
- 0:082731ede69f
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 0:082731ede69f | 1 | /* |
JMF | 0:082731ede69f | 2 | * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved |
JMF | 0:082731ede69f | 3 | * SPDX-License-Identifier: Apache-2.0 |
JMF | 0:082731ede69f | 4 | * |
JMF | 0:082731ede69f | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
JMF | 0:082731ede69f | 6 | * not use this file except in compliance with the License. |
JMF | 0:082731ede69f | 7 | * You may obtain a copy of the License at |
JMF | 0:082731ede69f | 8 | * |
JMF | 0:082731ede69f | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
JMF | 0:082731ede69f | 10 | * |
JMF | 0:082731ede69f | 11 | * Unless required by applicable law or agreed to in writing, software |
JMF | 0:082731ede69f | 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
JMF | 0:082731ede69f | 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
JMF | 0:082731ede69f | 14 | * See the License for the specific language governing permissions and |
JMF | 0:082731ede69f | 15 | * limitations under the License. |
JMF | 0:082731ede69f | 16 | * |
JMF | 0:082731ede69f | 17 | * This file is part of mbed TLS (https://tls.mbed.org) |
JMF | 0:082731ede69f | 18 | */ |
JMF | 0:082731ede69f | 19 | |
JMF | 0:082731ede69f | 20 | #if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \ |
JMF | 0:082731ede69f | 21 | !defined(MBEDTLS_ENTROPY_NV_SEED) && !defined(MBEDTLS_TEST_NULL_ENTROPY) |
JMF | 0:082731ede69f | 22 | #error "This hardware does not have an entropy source." |
JMF | 0:082731ede69f | 23 | #endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_ENTROPY_NV_SEED && |
JMF | 0:082731ede69f | 24 | * !MBEDTLS_TEST_NULL_ENTROPY */ |
JMF | 0:082731ede69f | 25 | |
JMF | 0:082731ede69f | 26 | #define MBEDTLS_SHA1_C |
JMF | 0:082731ede69f | 27 | |
JMF | 0:082731ede69f | 28 | /* |
JMF | 0:082731ede69f | 29 | * This value is sufficient for handling 2048 bit RSA keys. |
JMF | 0:082731ede69f | 30 | * |
JMF | 0:082731ede69f | 31 | * Set this value higher to enable handling larger keys, but be aware that this |
JMF | 0:082731ede69f | 32 | * will increase the stack usage. |
JMF | 0:082731ede69f | 33 | */ |
JMF | 0:082731ede69f | 34 | #define MBEDTLS_MPI_MAX_SIZE 256 |
JMF | 0:082731ede69f | 35 | |
JMF | 0:082731ede69f | 36 | #define MBEDTLS_MPI_WINDOW_SIZE 1 |
JMF | 0:082731ede69f | 37 |