Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config-no-entropy.h Source File

config-no-entropy.h

Go to the documentation of this file.
00001 /**
00002  * \file config-no-entropy.h
00003  *
00004  * \brief Minimal configuration of features that do not require an entropy source
00005  */
00006 /*
00007  *  Copyright (C) 2016, ARM Limited, All Rights Reserved
00008  *  SPDX-License-Identifier: Apache-2.0
00009  *
00010  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00011  *  not use this file except in compliance with the License.
00012  *  You may obtain a copy of the License at
00013  *
00014  *  http://www.apache.org/licenses/LICENSE-2.0
00015  *
00016  *  Unless required by applicable law or agreed to in writing, software
00017  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00018  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00019  *  See the License for the specific language governing permissions and
00020  *  limitations under the License.
00021  *
00022  *  This file is part of mbed TLS (https://tls.mbed.org)
00023  */
00024 /*
00025  * Minimal configuration of features that do not require an entropy source
00026  * Distinguishing reatures:
00027  * - no entropy module
00028  * - no TLS protocol implementation available due to absence of an entropy
00029  *   source
00030  *
00031  * See README.txt for usage instructions.
00032  */
00033 
00034 #ifndef MBEDTLS_CONFIG_H
00035 #define MBEDTLS_CONFIG_H
00036 
00037 /* System support */
00038 #define MBEDTLS_HAVE_ASM
00039 #define MBEDTLS_HAVE_TIME
00040 
00041 /* mbed TLS feature support */
00042 #define MBEDTLS_CIPHER_MODE_CBC
00043 #define MBEDTLS_CIPHER_PADDING_PKCS7
00044 #define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
00045 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
00046 #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
00047 #define MBEDTLS_ECP_DP_CURVE25519_ENABLED
00048 #define MBEDTLS_ECP_NIST_OPTIM
00049 #define MBEDTLS_ECDSA_DETERMINISTIC
00050 #define MBEDTLS_PK_RSA_ALT_SUPPORT
00051 #define MBEDTLS_PKCS1_V15
00052 #define MBEDTLS_PKCS1_V21
00053 #define MBEDTLS_SELF_TEST
00054 #define MBEDTLS_VERSION_FEATURES
00055 #define MBEDTLS_X509_CHECK_KEY_USAGE
00056 #define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
00057 
00058 /* mbed TLS modules */
00059 #define MBEDTLS_AES_C
00060 #define MBEDTLS_ASN1_PARSE_C
00061 #define MBEDTLS_ASN1_WRITE_C
00062 #define MBEDTLS_BASE64_C
00063 #define MBEDTLS_BIGNUM_C
00064 #define MBEDTLS_CCM_C
00065 #define MBEDTLS_CIPHER_C
00066 #define MBEDTLS_ECDSA_C
00067 #define MBEDTLS_ECP_C
00068 #define MBEDTLS_ERROR_C
00069 #define MBEDTLS_GCM_C
00070 #define MBEDTLS_HMAC_DRBG_C
00071 #define MBEDTLS_MD_C
00072 #define MBEDTLS_OID_C
00073 #define MBEDTLS_PEM_PARSE_C
00074 #define MBEDTLS_PK_C
00075 #define MBEDTLS_PK_PARSE_C
00076 #define MBEDTLS_PK_WRITE_C
00077 #define MBEDTLS_PLATFORM_C
00078 #define MBEDTLS_RSA_C
00079 #define MBEDTLS_SHA256_C
00080 #define MBEDTLS_SHA512_C
00081 #define MBEDTLS_VERSION_C
00082 #define MBEDTLS_X509_USE_C
00083 #define MBEDTLS_X509_CRT_PARSE_C
00084 #define MBEDTLS_X509_CRL_PARSE_C
00085 
00086 /* Miscellaneous options */
00087 #define MBEDTLS_AES_ROM_TABLES
00088 
00089 #include "check_config.h"
00090 
00091 #endif /* MBEDTLS_CONFIG_H */