Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Encrypt_Decrypt1 mbed_blink_tls encrypt encrypt
config-thread.h
00001 /* 00002 * Minimal configuration for using TLS as part of Thread 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 /* 00023 * Minimal configuration for using TLS a part of Thread 00024 * http://threadgroup.org/ 00025 * 00026 * Distinguishing features: 00027 * - no RSA or classic DH, fully based on ECC 00028 * - no X.509 00029 * - support for experimental EC J-PAKE key exchange 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 00040 /* mbed TLS feature support */ 00041 #define MBEDTLS_AES_ROM_TABLES 00042 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED 00043 #define MBEDTLS_ECP_NIST_OPTIM 00044 #define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED 00045 #define MBEDTLS_SSL_MAX_FRAGMENT_LENGTH 00046 #define MBEDTLS_SSL_PROTO_TLS1_2 00047 #define MBEDTLS_SSL_PROTO_DTLS 00048 #define MBEDTLS_SSL_DTLS_ANTI_REPLAY 00049 #define MBEDTLS_SSL_DTLS_HELLO_VERIFY 00050 #define MBEDTLS_SSL_EXPORT_KEYS 00051 00052 /* mbed TLS modules */ 00053 #define MBEDTLS_AES_C 00054 #define MBEDTLS_ASN1_PARSE_C 00055 #define MBEDTLS_ASN1_WRITE_C 00056 #define MBEDTLS_BIGNUM_C 00057 #define MBEDTLS_CCM_C 00058 #define MBEDTLS_CIPHER_C 00059 #define MBEDTLS_CTR_DRBG_C 00060 #define MBEDTLS_CMAC_C 00061 #define MBEDTLS_ECJPAKE_C 00062 #define MBEDTLS_ECP_C 00063 #define MBEDTLS_ENTROPY_C 00064 #define MBEDTLS_HMAC_DRBG_C 00065 #define MBEDTLS_MD_C 00066 #define MBEDTLS_OID_C 00067 #define MBEDTLS_PK_C 00068 #define MBEDTLS_PK_PARSE_C 00069 #define MBEDTLS_SHA256_C 00070 #define MBEDTLS_SSL_COOKIE_C 00071 #define MBEDTLS_SSL_CLI_C 00072 #define MBEDTLS_SSL_SRV_C 00073 #define MBEDTLS_SSL_TLS_C 00074 00075 /* For tests using ssl-opt.sh */ 00076 #define MBEDTLS_NET_C 00077 #define MBEDTLS_TIMING_C 00078 00079 /* Save RAM at the expense of ROM */ 00080 #define MBEDTLS_AES_ROM_TABLES 00081 00082 /* Save RAM by adjusting to our exact needs */ 00083 #define MBEDTLS_ECP_MAX_BITS 256 00084 #define MBEDTLS_MPI_MAX_SIZE 32 // 256 bits is 32 bytes 00085 00086 /* Save ROM and a few bytes of RAM by specifying our own ciphersuite list */ 00087 #define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8 00088 00089 #include "mbedtls/check_config.h" 00090 00091 #endif /* MBEDTLS_CONFIG_H */
Generated on Tue Jul 12 2022 11:22:33 by
