Mark Radbourne / mbedtls

Dependents:   Encrypt_Decrypt1 mbed_blink_tls encrypt encrypt

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config-mini-tls1_1.h Source File

config-mini-tls1_1.h

00001 /*
00002  *  Minimal configuration for TLS 1.1 (RFC 4346)
00003  *
00004  *  Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
00005  *  SPDX-License-Identifier: Apache-2.0
00006  *
00007  *  Licensed under the Apache License, Version 2.0 (the "License"); you may
00008  *  not use this file except in compliance with the License.
00009  *  You may obtain a copy of the License at
00010  *
00011  *  http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  *  Unless required by applicable law or agreed to in writing, software
00014  *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00015  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  *  See the License for the specific language governing permissions and
00017  *  limitations under the License.
00018  *
00019  *  This file is part of mbed TLS (https://tls.mbed.org)
00020  */
00021 /*
00022  * Minimal configuration for TLS 1.1 (RFC 4346), implementing only the
00023  * required ciphersuite: MBEDTLS_TLS_RSA_WITH_3DES_EDE_CBC_SHA
00024  *
00025  * See README.txt for usage instructions.
00026  */
00027 
00028 #ifndef MBEDTLS_CONFIG_H
00029 #define MBEDTLS_CONFIG_H
00030 
00031 /* System support */
00032 #define MBEDTLS_HAVE_ASM
00033 #define MBEDTLS_HAVE_TIME
00034 
00035 /* mbed TLS feature support */
00036 #define MBEDTLS_CIPHER_MODE_CBC
00037 #define MBEDTLS_PKCS1_V15
00038 #define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
00039 #define MBEDTLS_SSL_PROTO_TLS1_1
00040 
00041 /* mbed TLS modules */
00042 #define MBEDTLS_AES_C
00043 #define MBEDTLS_ASN1_PARSE_C
00044 #define MBEDTLS_ASN1_WRITE_C
00045 #define MBEDTLS_BIGNUM_C
00046 #define MBEDTLS_CIPHER_C
00047 #define MBEDTLS_CTR_DRBG_C
00048 #define MBEDTLS_DES_C
00049 #define MBEDTLS_ENTROPY_C
00050 #define MBEDTLS_MD_C
00051 #define MBEDTLS_MD5_C
00052 #define MBEDTLS_NET_C
00053 #define MBEDTLS_OID_C
00054 #define MBEDTLS_PK_C
00055 #define MBEDTLS_PK_PARSE_C
00056 #define MBEDTLS_RSA_C
00057 #define MBEDTLS_SHA1_C
00058 #define MBEDTLS_SHA256_C
00059 #define MBEDTLS_SSL_CLI_C
00060 #define MBEDTLS_SSL_SRV_C
00061 #define MBEDTLS_SSL_TLS_C
00062 #define MBEDTLS_X509_CRT_PARSE_C
00063 #define MBEDTLS_X509_USE_C
00064 
00065 /* For test certificates */
00066 #define MBEDTLS_BASE64_C
00067 #define MBEDTLS_CERTS_C
00068 #define MBEDTLS_PEM_PARSE_C
00069 
00070 /* For testing with compat.sh */
00071 #define MBEDTLS_FS_IO
00072 
00073 #include "mbedtls/check_config.h"
00074 
00075 #endif /* MBEDTLS_CONFIG_H */