mbed TLS Build

Dependents:   Slave-prot-prod

Committer:
markrad
Date:
Thu Jan 05 00:18:44 2017 +0000
Revision:
0:cdf462088d13
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
markrad 0:cdf462088d13 1 /*
markrad 0:cdf462088d13 2 * Minimal configuration for TLS 1.1 (RFC 4346)
markrad 0:cdf462088d13 3 *
markrad 0:cdf462088d13 4 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
markrad 0:cdf462088d13 5 * SPDX-License-Identifier: Apache-2.0
markrad 0:cdf462088d13 6 *
markrad 0:cdf462088d13 7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
markrad 0:cdf462088d13 8 * not use this file except in compliance with the License.
markrad 0:cdf462088d13 9 * You may obtain a copy of the License at
markrad 0:cdf462088d13 10 *
markrad 0:cdf462088d13 11 * http://www.apache.org/licenses/LICENSE-2.0
markrad 0:cdf462088d13 12 *
markrad 0:cdf462088d13 13 * Unless required by applicable law or agreed to in writing, software
markrad 0:cdf462088d13 14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
markrad 0:cdf462088d13 15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
markrad 0:cdf462088d13 16 * See the License for the specific language governing permissions and
markrad 0:cdf462088d13 17 * limitations under the License.
markrad 0:cdf462088d13 18 *
markrad 0:cdf462088d13 19 * This file is part of mbed TLS (https://tls.mbed.org)
markrad 0:cdf462088d13 20 */
markrad 0:cdf462088d13 21 /*
markrad 0:cdf462088d13 22 * Minimal configuration for TLS 1.1 (RFC 4346), implementing only the
markrad 0:cdf462088d13 23 * required ciphersuite: MBEDTLS_TLS_RSA_WITH_3DES_EDE_CBC_SHA
markrad 0:cdf462088d13 24 *
markrad 0:cdf462088d13 25 * See README.txt for usage instructions.
markrad 0:cdf462088d13 26 */
markrad 0:cdf462088d13 27
markrad 0:cdf462088d13 28 #ifndef MBEDTLS_CONFIG_H
markrad 0:cdf462088d13 29 #define MBEDTLS_CONFIG_H
markrad 0:cdf462088d13 30
markrad 0:cdf462088d13 31 /* System support */
markrad 0:cdf462088d13 32 #define MBEDTLS_HAVE_ASM
markrad 0:cdf462088d13 33 #define MBEDTLS_HAVE_TIME
markrad 0:cdf462088d13 34
markrad 0:cdf462088d13 35 /* mbed TLS feature support */
markrad 0:cdf462088d13 36 #define MBEDTLS_CIPHER_MODE_CBC
markrad 0:cdf462088d13 37 #define MBEDTLS_PKCS1_V15
markrad 0:cdf462088d13 38 #define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
markrad 0:cdf462088d13 39 #define MBEDTLS_SSL_PROTO_TLS1_1
markrad 0:cdf462088d13 40
markrad 0:cdf462088d13 41 /* mbed TLS modules */
markrad 0:cdf462088d13 42 #define MBEDTLS_AES_C
markrad 0:cdf462088d13 43 #define MBEDTLS_ASN1_PARSE_C
markrad 0:cdf462088d13 44 #define MBEDTLS_ASN1_WRITE_C
markrad 0:cdf462088d13 45 #define MBEDTLS_BIGNUM_C
markrad 0:cdf462088d13 46 #define MBEDTLS_CIPHER_C
markrad 0:cdf462088d13 47 #define MBEDTLS_CTR_DRBG_C
markrad 0:cdf462088d13 48 #define MBEDTLS_DES_C
markrad 0:cdf462088d13 49 #define MBEDTLS_ENTROPY_C
markrad 0:cdf462088d13 50 #define MBEDTLS_MD_C
markrad 0:cdf462088d13 51 #define MBEDTLS_MD5_C
markrad 0:cdf462088d13 52 #define MBEDTLS_NET_C
markrad 0:cdf462088d13 53 #define MBEDTLS_OID_C
markrad 0:cdf462088d13 54 #define MBEDTLS_PK_C
markrad 0:cdf462088d13 55 #define MBEDTLS_PK_PARSE_C
markrad 0:cdf462088d13 56 #define MBEDTLS_RSA_C
markrad 0:cdf462088d13 57 #define MBEDTLS_SHA1_C
markrad 0:cdf462088d13 58 #define MBEDTLS_SHA256_C
markrad 0:cdf462088d13 59 #define MBEDTLS_SSL_CLI_C
markrad 0:cdf462088d13 60 #define MBEDTLS_SSL_SRV_C
markrad 0:cdf462088d13 61 #define MBEDTLS_SSL_TLS_C
markrad 0:cdf462088d13 62 #define MBEDTLS_X509_CRT_PARSE_C
markrad 0:cdf462088d13 63 #define MBEDTLS_X509_USE_C
markrad 0:cdf462088d13 64
markrad 0:cdf462088d13 65 /* For test certificates */
markrad 0:cdf462088d13 66 #define MBEDTLS_BASE64_C
markrad 0:cdf462088d13 67 #define MBEDTLS_CERTS_C
markrad 0:cdf462088d13 68 #define MBEDTLS_PEM_PARSE_C
markrad 0:cdf462088d13 69
markrad 0:cdf462088d13 70 /* For testing with compat.sh */
markrad 0:cdf462088d13 71 #define MBEDTLS_FS_IO
markrad 0:cdf462088d13 72
markrad 0:cdf462088d13 73 #include "mbedtls/check_config.h"
markrad 0:cdf462088d13 74
markrad 0:cdf462088d13 75 #endif /* MBEDTLS_CONFIG_H */