mbed client on ethernet with LWIP

Dependencies:   mbed Socket lwip-eth lwip-sys lwip

Fork of mbed-client-classic-example-lwip by sandbox

Committer:
mbedAustin
Date:
Thu Jun 09 17:08:36 2016 +0000
Revision:
11:cada08fc8a70
Commit for public Consumption

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbedAustin 11:cada08fc8a70 1 /*
mbedAustin 11:cada08fc8a70 2 * Version feature information
mbedAustin 11:cada08fc8a70 3 *
mbedAustin 11:cada08fc8a70 4 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
mbedAustin 11:cada08fc8a70 5 * SPDX-License-Identifier: Apache-2.0
mbedAustin 11:cada08fc8a70 6 *
mbedAustin 11:cada08fc8a70 7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
mbedAustin 11:cada08fc8a70 8 * not use this file except in compliance with the License.
mbedAustin 11:cada08fc8a70 9 * You may obtain a copy of the License at
mbedAustin 11:cada08fc8a70 10 *
mbedAustin 11:cada08fc8a70 11 * http://www.apache.org/licenses/LICENSE-2.0
mbedAustin 11:cada08fc8a70 12 *
mbedAustin 11:cada08fc8a70 13 * Unless required by applicable law or agreed to in writing, software
mbedAustin 11:cada08fc8a70 14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
mbedAustin 11:cada08fc8a70 15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbedAustin 11:cada08fc8a70 16 * See the License for the specific language governing permissions and
mbedAustin 11:cada08fc8a70 17 * limitations under the License.
mbedAustin 11:cada08fc8a70 18 *
mbedAustin 11:cada08fc8a70 19 * This file is part of mbed TLS (https://tls.mbed.org)
mbedAustin 11:cada08fc8a70 20 */
mbedAustin 11:cada08fc8a70 21
mbedAustin 11:cada08fc8a70 22 #if !defined(MBEDTLS_CONFIG_FILE)
mbedAustin 11:cada08fc8a70 23 #include "mbedtls/config.h"
mbedAustin 11:cada08fc8a70 24 #else
mbedAustin 11:cada08fc8a70 25 #include MBEDTLS_CONFIG_FILE
mbedAustin 11:cada08fc8a70 26 #endif
mbedAustin 11:cada08fc8a70 27
mbedAustin 11:cada08fc8a70 28 #if defined(MBEDTLS_VERSION_C)
mbedAustin 11:cada08fc8a70 29
mbedAustin 11:cada08fc8a70 30 #include "mbedtls/version.h"
mbedAustin 11:cada08fc8a70 31
mbedAustin 11:cada08fc8a70 32 #include <string.h>
mbedAustin 11:cada08fc8a70 33
mbedAustin 11:cada08fc8a70 34 static const char *features[] = {
mbedAustin 11:cada08fc8a70 35 #if defined(MBEDTLS_VERSION_FEATURES)
mbedAustin 11:cada08fc8a70 36 #if defined(MBEDTLS_HAVE_ASM)
mbedAustin 11:cada08fc8a70 37 "MBEDTLS_HAVE_ASM",
mbedAustin 11:cada08fc8a70 38 #endif /* MBEDTLS_HAVE_ASM */
mbedAustin 11:cada08fc8a70 39 #if defined(MBEDTLS_HAVE_SSE2)
mbedAustin 11:cada08fc8a70 40 "MBEDTLS_HAVE_SSE2",
mbedAustin 11:cada08fc8a70 41 #endif /* MBEDTLS_HAVE_SSE2 */
mbedAustin 11:cada08fc8a70 42 #if defined(MBEDTLS_HAVE_TIME)
mbedAustin 11:cada08fc8a70 43 "MBEDTLS_HAVE_TIME",
mbedAustin 11:cada08fc8a70 44 #endif /* MBEDTLS_HAVE_TIME */
mbedAustin 11:cada08fc8a70 45 #if defined(MBEDTLS_HAVE_TIME_DATE)
mbedAustin 11:cada08fc8a70 46 "MBEDTLS_HAVE_TIME_DATE",
mbedAustin 11:cada08fc8a70 47 #endif /* MBEDTLS_HAVE_TIME_DATE */
mbedAustin 11:cada08fc8a70 48 #if defined(MBEDTLS_PLATFORM_MEMORY)
mbedAustin 11:cada08fc8a70 49 "MBEDTLS_PLATFORM_MEMORY",
mbedAustin 11:cada08fc8a70 50 #endif /* MBEDTLS_PLATFORM_MEMORY */
mbedAustin 11:cada08fc8a70 51 #if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
mbedAustin 11:cada08fc8a70 52 "MBEDTLS_PLATFORM_NO_STD_FUNCTIONS",
mbedAustin 11:cada08fc8a70 53 #endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
mbedAustin 11:cada08fc8a70 54 #if defined(MBEDTLS_PLATFORM_EXIT_ALT)
mbedAustin 11:cada08fc8a70 55 "MBEDTLS_PLATFORM_EXIT_ALT",
mbedAustin 11:cada08fc8a70 56 #endif /* MBEDTLS_PLATFORM_EXIT_ALT */
mbedAustin 11:cada08fc8a70 57 #if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
mbedAustin 11:cada08fc8a70 58 "MBEDTLS_PLATFORM_FPRINTF_ALT",
mbedAustin 11:cada08fc8a70 59 #endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
mbedAustin 11:cada08fc8a70 60 #if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
mbedAustin 11:cada08fc8a70 61 "MBEDTLS_PLATFORM_PRINTF_ALT",
mbedAustin 11:cada08fc8a70 62 #endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
mbedAustin 11:cada08fc8a70 63 #if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
mbedAustin 11:cada08fc8a70 64 "MBEDTLS_PLATFORM_SNPRINTF_ALT",
mbedAustin 11:cada08fc8a70 65 #endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
mbedAustin 11:cada08fc8a70 66 #if defined(MBEDTLS_DEPRECATED_WARNING)
mbedAustin 11:cada08fc8a70 67 "MBEDTLS_DEPRECATED_WARNING",
mbedAustin 11:cada08fc8a70 68 #endif /* MBEDTLS_DEPRECATED_WARNING */
mbedAustin 11:cada08fc8a70 69 #if defined(MBEDTLS_DEPRECATED_REMOVED)
mbedAustin 11:cada08fc8a70 70 "MBEDTLS_DEPRECATED_REMOVED",
mbedAustin 11:cada08fc8a70 71 #endif /* MBEDTLS_DEPRECATED_REMOVED */
mbedAustin 11:cada08fc8a70 72 #if defined(MBEDTLS_TIMING_ALT)
mbedAustin 11:cada08fc8a70 73 "MBEDTLS_TIMING_ALT",
mbedAustin 11:cada08fc8a70 74 #endif /* MBEDTLS_TIMING_ALT */
mbedAustin 11:cada08fc8a70 75 #if defined(MBEDTLS_AES_ALT)
mbedAustin 11:cada08fc8a70 76 "MBEDTLS_AES_ALT",
mbedAustin 11:cada08fc8a70 77 #endif /* MBEDTLS_AES_ALT */
mbedAustin 11:cada08fc8a70 78 #if defined(MBEDTLS_ARC4_ALT)
mbedAustin 11:cada08fc8a70 79 "MBEDTLS_ARC4_ALT",
mbedAustin 11:cada08fc8a70 80 #endif /* MBEDTLS_ARC4_ALT */
mbedAustin 11:cada08fc8a70 81 #if defined(MBEDTLS_BLOWFISH_ALT)
mbedAustin 11:cada08fc8a70 82 "MBEDTLS_BLOWFISH_ALT",
mbedAustin 11:cada08fc8a70 83 #endif /* MBEDTLS_BLOWFISH_ALT */
mbedAustin 11:cada08fc8a70 84 #if defined(MBEDTLS_CAMELLIA_ALT)
mbedAustin 11:cada08fc8a70 85 "MBEDTLS_CAMELLIA_ALT",
mbedAustin 11:cada08fc8a70 86 #endif /* MBEDTLS_CAMELLIA_ALT */
mbedAustin 11:cada08fc8a70 87 #if defined(MBEDTLS_DES_ALT)
mbedAustin 11:cada08fc8a70 88 "MBEDTLS_DES_ALT",
mbedAustin 11:cada08fc8a70 89 #endif /* MBEDTLS_DES_ALT */
mbedAustin 11:cada08fc8a70 90 #if defined(MBEDTLS_XTEA_ALT)
mbedAustin 11:cada08fc8a70 91 "MBEDTLS_XTEA_ALT",
mbedAustin 11:cada08fc8a70 92 #endif /* MBEDTLS_XTEA_ALT */
mbedAustin 11:cada08fc8a70 93 #if defined(MBEDTLS_MD2_ALT)
mbedAustin 11:cada08fc8a70 94 "MBEDTLS_MD2_ALT",
mbedAustin 11:cada08fc8a70 95 #endif /* MBEDTLS_MD2_ALT */
mbedAustin 11:cada08fc8a70 96 #if defined(MBEDTLS_MD4_ALT)
mbedAustin 11:cada08fc8a70 97 "MBEDTLS_MD4_ALT",
mbedAustin 11:cada08fc8a70 98 #endif /* MBEDTLS_MD4_ALT */
mbedAustin 11:cada08fc8a70 99 #if defined(MBEDTLS_MD5_ALT)
mbedAustin 11:cada08fc8a70 100 "MBEDTLS_MD5_ALT",
mbedAustin 11:cada08fc8a70 101 #endif /* MBEDTLS_MD5_ALT */
mbedAustin 11:cada08fc8a70 102 #if defined(MBEDTLS_RIPEMD160_ALT)
mbedAustin 11:cada08fc8a70 103 "MBEDTLS_RIPEMD160_ALT",
mbedAustin 11:cada08fc8a70 104 #endif /* MBEDTLS_RIPEMD160_ALT */
mbedAustin 11:cada08fc8a70 105 #if defined(MBEDTLS_SHA1_ALT)
mbedAustin 11:cada08fc8a70 106 "MBEDTLS_SHA1_ALT",
mbedAustin 11:cada08fc8a70 107 #endif /* MBEDTLS_SHA1_ALT */
mbedAustin 11:cada08fc8a70 108 #if defined(MBEDTLS_SHA256_ALT)
mbedAustin 11:cada08fc8a70 109 "MBEDTLS_SHA256_ALT",
mbedAustin 11:cada08fc8a70 110 #endif /* MBEDTLS_SHA256_ALT */
mbedAustin 11:cada08fc8a70 111 #if defined(MBEDTLS_SHA512_ALT)
mbedAustin 11:cada08fc8a70 112 "MBEDTLS_SHA512_ALT",
mbedAustin 11:cada08fc8a70 113 #endif /* MBEDTLS_SHA512_ALT */
mbedAustin 11:cada08fc8a70 114 #if defined(MBEDTLS_MD2_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 115 "MBEDTLS_MD2_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 116 #endif /* MBEDTLS_MD2_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 117 #if defined(MBEDTLS_MD4_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 118 "MBEDTLS_MD4_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 119 #endif /* MBEDTLS_MD4_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 120 #if defined(MBEDTLS_MD5_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 121 "MBEDTLS_MD5_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 122 #endif /* MBEDTLS_MD5_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 123 #if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 124 "MBEDTLS_RIPEMD160_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 125 #endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 126 #if defined(MBEDTLS_SHA1_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 127 "MBEDTLS_SHA1_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 128 #endif /* MBEDTLS_SHA1_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 129 #if defined(MBEDTLS_SHA256_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 130 "MBEDTLS_SHA256_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 131 #endif /* MBEDTLS_SHA256_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 132 #if defined(MBEDTLS_SHA512_PROCESS_ALT)
mbedAustin 11:cada08fc8a70 133 "MBEDTLS_SHA512_PROCESS_ALT",
mbedAustin 11:cada08fc8a70 134 #endif /* MBEDTLS_SHA512_PROCESS_ALT */
mbedAustin 11:cada08fc8a70 135 #if defined(MBEDTLS_DES_SETKEY_ALT)
mbedAustin 11:cada08fc8a70 136 "MBEDTLS_DES_SETKEY_ALT",
mbedAustin 11:cada08fc8a70 137 #endif /* MBEDTLS_DES_SETKEY_ALT */
mbedAustin 11:cada08fc8a70 138 #if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
mbedAustin 11:cada08fc8a70 139 "MBEDTLS_DES_CRYPT_ECB_ALT",
mbedAustin 11:cada08fc8a70 140 #endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
mbedAustin 11:cada08fc8a70 141 #if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
mbedAustin 11:cada08fc8a70 142 "MBEDTLS_DES3_CRYPT_ECB_ALT",
mbedAustin 11:cada08fc8a70 143 #endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
mbedAustin 11:cada08fc8a70 144 #if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
mbedAustin 11:cada08fc8a70 145 "MBEDTLS_AES_SETKEY_ENC_ALT",
mbedAustin 11:cada08fc8a70 146 #endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
mbedAustin 11:cada08fc8a70 147 #if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
mbedAustin 11:cada08fc8a70 148 "MBEDTLS_AES_SETKEY_DEC_ALT",
mbedAustin 11:cada08fc8a70 149 #endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
mbedAustin 11:cada08fc8a70 150 #if defined(MBEDTLS_AES_ENCRYPT_ALT)
mbedAustin 11:cada08fc8a70 151 "MBEDTLS_AES_ENCRYPT_ALT",
mbedAustin 11:cada08fc8a70 152 #endif /* MBEDTLS_AES_ENCRYPT_ALT */
mbedAustin 11:cada08fc8a70 153 #if defined(MBEDTLS_AES_DECRYPT_ALT)
mbedAustin 11:cada08fc8a70 154 "MBEDTLS_AES_DECRYPT_ALT",
mbedAustin 11:cada08fc8a70 155 #endif /* MBEDTLS_AES_DECRYPT_ALT */
mbedAustin 11:cada08fc8a70 156 #if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
mbedAustin 11:cada08fc8a70 157 "MBEDTLS_ENTROPY_HARDWARE_ALT",
mbedAustin 11:cada08fc8a70 158 #endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
mbedAustin 11:cada08fc8a70 159 #if defined(MBEDTLS_AES_ROM_TABLES)
mbedAustin 11:cada08fc8a70 160 "MBEDTLS_AES_ROM_TABLES",
mbedAustin 11:cada08fc8a70 161 #endif /* MBEDTLS_AES_ROM_TABLES */
mbedAustin 11:cada08fc8a70 162 #if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
mbedAustin 11:cada08fc8a70 163 "MBEDTLS_CAMELLIA_SMALL_MEMORY",
mbedAustin 11:cada08fc8a70 164 #endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
mbedAustin 11:cada08fc8a70 165 #if defined(MBEDTLS_CIPHER_MODE_CBC)
mbedAustin 11:cada08fc8a70 166 "MBEDTLS_CIPHER_MODE_CBC",
mbedAustin 11:cada08fc8a70 167 #endif /* MBEDTLS_CIPHER_MODE_CBC */
mbedAustin 11:cada08fc8a70 168 #if defined(MBEDTLS_CIPHER_MODE_CFB)
mbedAustin 11:cada08fc8a70 169 "MBEDTLS_CIPHER_MODE_CFB",
mbedAustin 11:cada08fc8a70 170 #endif /* MBEDTLS_CIPHER_MODE_CFB */
mbedAustin 11:cada08fc8a70 171 #if defined(MBEDTLS_CIPHER_MODE_CTR)
mbedAustin 11:cada08fc8a70 172 "MBEDTLS_CIPHER_MODE_CTR",
mbedAustin 11:cada08fc8a70 173 #endif /* MBEDTLS_CIPHER_MODE_CTR */
mbedAustin 11:cada08fc8a70 174 #if defined(MBEDTLS_CIPHER_NULL_CIPHER)
mbedAustin 11:cada08fc8a70 175 "MBEDTLS_CIPHER_NULL_CIPHER",
mbedAustin 11:cada08fc8a70 176 #endif /* MBEDTLS_CIPHER_NULL_CIPHER */
mbedAustin 11:cada08fc8a70 177 #if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
mbedAustin 11:cada08fc8a70 178 "MBEDTLS_CIPHER_PADDING_PKCS7",
mbedAustin 11:cada08fc8a70 179 #endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
mbedAustin 11:cada08fc8a70 180 #if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
mbedAustin 11:cada08fc8a70 181 "MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS",
mbedAustin 11:cada08fc8a70 182 #endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
mbedAustin 11:cada08fc8a70 183 #if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
mbedAustin 11:cada08fc8a70 184 "MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN",
mbedAustin 11:cada08fc8a70 185 #endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
mbedAustin 11:cada08fc8a70 186 #if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
mbedAustin 11:cada08fc8a70 187 "MBEDTLS_CIPHER_PADDING_ZEROS",
mbedAustin 11:cada08fc8a70 188 #endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
mbedAustin 11:cada08fc8a70 189 #if defined(MBEDTLS_ENABLE_WEAK_CIPHERSUITES)
mbedAustin 11:cada08fc8a70 190 "MBEDTLS_ENABLE_WEAK_CIPHERSUITES",
mbedAustin 11:cada08fc8a70 191 #endif /* MBEDTLS_ENABLE_WEAK_CIPHERSUITES */
mbedAustin 11:cada08fc8a70 192 #if defined(MBEDTLS_REMOVE_ARC4_CIPHERSUITES)
mbedAustin 11:cada08fc8a70 193 "MBEDTLS_REMOVE_ARC4_CIPHERSUITES",
mbedAustin 11:cada08fc8a70 194 #endif /* MBEDTLS_REMOVE_ARC4_CIPHERSUITES */
mbedAustin 11:cada08fc8a70 195 #if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
mbedAustin 11:cada08fc8a70 196 "MBEDTLS_ECP_DP_SECP192R1_ENABLED",
mbedAustin 11:cada08fc8a70 197 #endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
mbedAustin 11:cada08fc8a70 198 #if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
mbedAustin 11:cada08fc8a70 199 "MBEDTLS_ECP_DP_SECP224R1_ENABLED",
mbedAustin 11:cada08fc8a70 200 #endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
mbedAustin 11:cada08fc8a70 201 #if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
mbedAustin 11:cada08fc8a70 202 "MBEDTLS_ECP_DP_SECP256R1_ENABLED",
mbedAustin 11:cada08fc8a70 203 #endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
mbedAustin 11:cada08fc8a70 204 #if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
mbedAustin 11:cada08fc8a70 205 "MBEDTLS_ECP_DP_SECP384R1_ENABLED",
mbedAustin 11:cada08fc8a70 206 #endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
mbedAustin 11:cada08fc8a70 207 #if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
mbedAustin 11:cada08fc8a70 208 "MBEDTLS_ECP_DP_SECP521R1_ENABLED",
mbedAustin 11:cada08fc8a70 209 #endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
mbedAustin 11:cada08fc8a70 210 #if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
mbedAustin 11:cada08fc8a70 211 "MBEDTLS_ECP_DP_SECP192K1_ENABLED",
mbedAustin 11:cada08fc8a70 212 #endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
mbedAustin 11:cada08fc8a70 213 #if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
mbedAustin 11:cada08fc8a70 214 "MBEDTLS_ECP_DP_SECP224K1_ENABLED",
mbedAustin 11:cada08fc8a70 215 #endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
mbedAustin 11:cada08fc8a70 216 #if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
mbedAustin 11:cada08fc8a70 217 "MBEDTLS_ECP_DP_SECP256K1_ENABLED",
mbedAustin 11:cada08fc8a70 218 #endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
mbedAustin 11:cada08fc8a70 219 #if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
mbedAustin 11:cada08fc8a70 220 "MBEDTLS_ECP_DP_BP256R1_ENABLED",
mbedAustin 11:cada08fc8a70 221 #endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
mbedAustin 11:cada08fc8a70 222 #if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
mbedAustin 11:cada08fc8a70 223 "MBEDTLS_ECP_DP_BP384R1_ENABLED",
mbedAustin 11:cada08fc8a70 224 #endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
mbedAustin 11:cada08fc8a70 225 #if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
mbedAustin 11:cada08fc8a70 226 "MBEDTLS_ECP_DP_BP512R1_ENABLED",
mbedAustin 11:cada08fc8a70 227 #endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
mbedAustin 11:cada08fc8a70 228 #if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
mbedAustin 11:cada08fc8a70 229 "MBEDTLS_ECP_DP_CURVE25519_ENABLED",
mbedAustin 11:cada08fc8a70 230 #endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
mbedAustin 11:cada08fc8a70 231 #if defined(MBEDTLS_ECP_NIST_OPTIM)
mbedAustin 11:cada08fc8a70 232 "MBEDTLS_ECP_NIST_OPTIM",
mbedAustin 11:cada08fc8a70 233 #endif /* MBEDTLS_ECP_NIST_OPTIM */
mbedAustin 11:cada08fc8a70 234 #if defined(MBEDTLS_ECDSA_DETERMINISTIC)
mbedAustin 11:cada08fc8a70 235 "MBEDTLS_ECDSA_DETERMINISTIC",
mbedAustin 11:cada08fc8a70 236 #endif /* MBEDTLS_ECDSA_DETERMINISTIC */
mbedAustin 11:cada08fc8a70 237 #if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
mbedAustin 11:cada08fc8a70 238 "MBEDTLS_KEY_EXCHANGE_PSK_ENABLED",
mbedAustin 11:cada08fc8a70 239 #endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
mbedAustin 11:cada08fc8a70 240 #if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
mbedAustin 11:cada08fc8a70 241 "MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED",
mbedAustin 11:cada08fc8a70 242 #endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
mbedAustin 11:cada08fc8a70 243 #if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
mbedAustin 11:cada08fc8a70 244 "MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED",
mbedAustin 11:cada08fc8a70 245 #endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
mbedAustin 11:cada08fc8a70 246 #if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
mbedAustin 11:cada08fc8a70 247 "MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED",
mbedAustin 11:cada08fc8a70 248 #endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
mbedAustin 11:cada08fc8a70 249 #if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
mbedAustin 11:cada08fc8a70 250 "MBEDTLS_KEY_EXCHANGE_RSA_ENABLED",
mbedAustin 11:cada08fc8a70 251 #endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
mbedAustin 11:cada08fc8a70 252 #if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
mbedAustin 11:cada08fc8a70 253 "MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED",
mbedAustin 11:cada08fc8a70 254 #endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
mbedAustin 11:cada08fc8a70 255 #if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
mbedAustin 11:cada08fc8a70 256 "MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED",
mbedAustin 11:cada08fc8a70 257 #endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
mbedAustin 11:cada08fc8a70 258 #if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
mbedAustin 11:cada08fc8a70 259 "MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED",
mbedAustin 11:cada08fc8a70 260 #endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
mbedAustin 11:cada08fc8a70 261 #if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
mbedAustin 11:cada08fc8a70 262 "MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED",
mbedAustin 11:cada08fc8a70 263 #endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
mbedAustin 11:cada08fc8a70 264 #if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
mbedAustin 11:cada08fc8a70 265 "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED",
mbedAustin 11:cada08fc8a70 266 #endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
mbedAustin 11:cada08fc8a70 267 #if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
mbedAustin 11:cada08fc8a70 268 "MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED",
mbedAustin 11:cada08fc8a70 269 #endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
mbedAustin 11:cada08fc8a70 270 #if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
mbedAustin 11:cada08fc8a70 271 "MBEDTLS_PK_PARSE_EC_EXTENDED",
mbedAustin 11:cada08fc8a70 272 #endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
mbedAustin 11:cada08fc8a70 273 #if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
mbedAustin 11:cada08fc8a70 274 "MBEDTLS_ERROR_STRERROR_DUMMY",
mbedAustin 11:cada08fc8a70 275 #endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
mbedAustin 11:cada08fc8a70 276 #if defined(MBEDTLS_GENPRIME)
mbedAustin 11:cada08fc8a70 277 "MBEDTLS_GENPRIME",
mbedAustin 11:cada08fc8a70 278 #endif /* MBEDTLS_GENPRIME */
mbedAustin 11:cada08fc8a70 279 #if defined(MBEDTLS_FS_IO)
mbedAustin 11:cada08fc8a70 280 "MBEDTLS_FS_IO",
mbedAustin 11:cada08fc8a70 281 #endif /* MBEDTLS_FS_IO */
mbedAustin 11:cada08fc8a70 282 #if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
mbedAustin 11:cada08fc8a70 283 "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES",
mbedAustin 11:cada08fc8a70 284 #endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
mbedAustin 11:cada08fc8a70 285 #if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
mbedAustin 11:cada08fc8a70 286 "MBEDTLS_NO_PLATFORM_ENTROPY",
mbedAustin 11:cada08fc8a70 287 #endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
mbedAustin 11:cada08fc8a70 288 #if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
mbedAustin 11:cada08fc8a70 289 "MBEDTLS_ENTROPY_FORCE_SHA256",
mbedAustin 11:cada08fc8a70 290 #endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
mbedAustin 11:cada08fc8a70 291 #if defined(MBEDTLS_MEMORY_DEBUG)
mbedAustin 11:cada08fc8a70 292 "MBEDTLS_MEMORY_DEBUG",
mbedAustin 11:cada08fc8a70 293 #endif /* MBEDTLS_MEMORY_DEBUG */
mbedAustin 11:cada08fc8a70 294 #if defined(MBEDTLS_MEMORY_BACKTRACE)
mbedAustin 11:cada08fc8a70 295 "MBEDTLS_MEMORY_BACKTRACE",
mbedAustin 11:cada08fc8a70 296 #endif /* MBEDTLS_MEMORY_BACKTRACE */
mbedAustin 11:cada08fc8a70 297 #if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
mbedAustin 11:cada08fc8a70 298 "MBEDTLS_PK_RSA_ALT_SUPPORT",
mbedAustin 11:cada08fc8a70 299 #endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
mbedAustin 11:cada08fc8a70 300 #if defined(MBEDTLS_PKCS1_V15)
mbedAustin 11:cada08fc8a70 301 "MBEDTLS_PKCS1_V15",
mbedAustin 11:cada08fc8a70 302 #endif /* MBEDTLS_PKCS1_V15 */
mbedAustin 11:cada08fc8a70 303 #if defined(MBEDTLS_PKCS1_V21)
mbedAustin 11:cada08fc8a70 304 "MBEDTLS_PKCS1_V21",
mbedAustin 11:cada08fc8a70 305 #endif /* MBEDTLS_PKCS1_V21 */
mbedAustin 11:cada08fc8a70 306 #if defined(MBEDTLS_RSA_NO_CRT)
mbedAustin 11:cada08fc8a70 307 "MBEDTLS_RSA_NO_CRT",
mbedAustin 11:cada08fc8a70 308 #endif /* MBEDTLS_RSA_NO_CRT */
mbedAustin 11:cada08fc8a70 309 #if defined(MBEDTLS_SELF_TEST)
mbedAustin 11:cada08fc8a70 310 "MBEDTLS_SELF_TEST",
mbedAustin 11:cada08fc8a70 311 #endif /* MBEDTLS_SELF_TEST */
mbedAustin 11:cada08fc8a70 312 #if defined(MBEDTLS_SHA256_SMALLER)
mbedAustin 11:cada08fc8a70 313 "MBEDTLS_SHA256_SMALLER",
mbedAustin 11:cada08fc8a70 314 #endif /* MBEDTLS_SHA256_SMALLER */
mbedAustin 11:cada08fc8a70 315 #if defined(MBEDTLS_SSL_AEAD_RANDOM_IV)
mbedAustin 11:cada08fc8a70 316 "MBEDTLS_SSL_AEAD_RANDOM_IV",
mbedAustin 11:cada08fc8a70 317 #endif /* MBEDTLS_SSL_AEAD_RANDOM_IV */
mbedAustin 11:cada08fc8a70 318 #if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
mbedAustin 11:cada08fc8a70 319 "MBEDTLS_SSL_ALL_ALERT_MESSAGES",
mbedAustin 11:cada08fc8a70 320 #endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
mbedAustin 11:cada08fc8a70 321 #if defined(MBEDTLS_SSL_DEBUG_ALL)
mbedAustin 11:cada08fc8a70 322 "MBEDTLS_SSL_DEBUG_ALL",
mbedAustin 11:cada08fc8a70 323 #endif /* MBEDTLS_SSL_DEBUG_ALL */
mbedAustin 11:cada08fc8a70 324 #if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
mbedAustin 11:cada08fc8a70 325 "MBEDTLS_SSL_ENCRYPT_THEN_MAC",
mbedAustin 11:cada08fc8a70 326 #endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
mbedAustin 11:cada08fc8a70 327 #if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
mbedAustin 11:cada08fc8a70 328 "MBEDTLS_SSL_EXTENDED_MASTER_SECRET",
mbedAustin 11:cada08fc8a70 329 #endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
mbedAustin 11:cada08fc8a70 330 #if defined(MBEDTLS_SSL_FALLBACK_SCSV)
mbedAustin 11:cada08fc8a70 331 "MBEDTLS_SSL_FALLBACK_SCSV",
mbedAustin 11:cada08fc8a70 332 #endif /* MBEDTLS_SSL_FALLBACK_SCSV */
mbedAustin 11:cada08fc8a70 333 #if defined(MBEDTLS_SSL_HW_RECORD_ACCEL)
mbedAustin 11:cada08fc8a70 334 "MBEDTLS_SSL_HW_RECORD_ACCEL",
mbedAustin 11:cada08fc8a70 335 #endif /* MBEDTLS_SSL_HW_RECORD_ACCEL */
mbedAustin 11:cada08fc8a70 336 #if defined(MBEDTLS_SSL_CBC_RECORD_SPLITTING)
mbedAustin 11:cada08fc8a70 337 "MBEDTLS_SSL_CBC_RECORD_SPLITTING",
mbedAustin 11:cada08fc8a70 338 #endif /* MBEDTLS_SSL_CBC_RECORD_SPLITTING */
mbedAustin 11:cada08fc8a70 339 #if defined(MBEDTLS_SSL_RENEGOTIATION)
mbedAustin 11:cada08fc8a70 340 "MBEDTLS_SSL_RENEGOTIATION",
mbedAustin 11:cada08fc8a70 341 #endif /* MBEDTLS_SSL_RENEGOTIATION */
mbedAustin 11:cada08fc8a70 342 #if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO)
mbedAustin 11:cada08fc8a70 343 "MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO",
mbedAustin 11:cada08fc8a70 344 #endif /* MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO */
mbedAustin 11:cada08fc8a70 345 #if defined(MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE)
mbedAustin 11:cada08fc8a70 346 "MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE",
mbedAustin 11:cada08fc8a70 347 #endif /* MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE */
mbedAustin 11:cada08fc8a70 348 #if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
mbedAustin 11:cada08fc8a70 349 "MBEDTLS_SSL_MAX_FRAGMENT_LENGTH",
mbedAustin 11:cada08fc8a70 350 #endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
mbedAustin 11:cada08fc8a70 351 #if defined(MBEDTLS_SSL_PROTO_SSL3)
mbedAustin 11:cada08fc8a70 352 "MBEDTLS_SSL_PROTO_SSL3",
mbedAustin 11:cada08fc8a70 353 #endif /* MBEDTLS_SSL_PROTO_SSL3 */
mbedAustin 11:cada08fc8a70 354 #if defined(MBEDTLS_SSL_PROTO_TLS1)
mbedAustin 11:cada08fc8a70 355 "MBEDTLS_SSL_PROTO_TLS1",
mbedAustin 11:cada08fc8a70 356 #endif /* MBEDTLS_SSL_PROTO_TLS1 */
mbedAustin 11:cada08fc8a70 357 #if defined(MBEDTLS_SSL_PROTO_TLS1_1)
mbedAustin 11:cada08fc8a70 358 "MBEDTLS_SSL_PROTO_TLS1_1",
mbedAustin 11:cada08fc8a70 359 #endif /* MBEDTLS_SSL_PROTO_TLS1_1 */
mbedAustin 11:cada08fc8a70 360 #if defined(MBEDTLS_SSL_PROTO_TLS1_2)
mbedAustin 11:cada08fc8a70 361 "MBEDTLS_SSL_PROTO_TLS1_2",
mbedAustin 11:cada08fc8a70 362 #endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
mbedAustin 11:cada08fc8a70 363 #if defined(MBEDTLS_SSL_PROTO_DTLS)
mbedAustin 11:cada08fc8a70 364 "MBEDTLS_SSL_PROTO_DTLS",
mbedAustin 11:cada08fc8a70 365 #endif /* MBEDTLS_SSL_PROTO_DTLS */
mbedAustin 11:cada08fc8a70 366 #if defined(MBEDTLS_SSL_ALPN)
mbedAustin 11:cada08fc8a70 367 "MBEDTLS_SSL_ALPN",
mbedAustin 11:cada08fc8a70 368 #endif /* MBEDTLS_SSL_ALPN */
mbedAustin 11:cada08fc8a70 369 #if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
mbedAustin 11:cada08fc8a70 370 "MBEDTLS_SSL_DTLS_ANTI_REPLAY",
mbedAustin 11:cada08fc8a70 371 #endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
mbedAustin 11:cada08fc8a70 372 #if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
mbedAustin 11:cada08fc8a70 373 "MBEDTLS_SSL_DTLS_HELLO_VERIFY",
mbedAustin 11:cada08fc8a70 374 #endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
mbedAustin 11:cada08fc8a70 375 #if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
mbedAustin 11:cada08fc8a70 376 "MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE",
mbedAustin 11:cada08fc8a70 377 #endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
mbedAustin 11:cada08fc8a70 378 #if defined(MBEDTLS_SSL_DTLS_BADMAC_LIMIT)
mbedAustin 11:cada08fc8a70 379 "MBEDTLS_SSL_DTLS_BADMAC_LIMIT",
mbedAustin 11:cada08fc8a70 380 #endif /* MBEDTLS_SSL_DTLS_BADMAC_LIMIT */
mbedAustin 11:cada08fc8a70 381 #if defined(MBEDTLS_SSL_SESSION_TICKETS)
mbedAustin 11:cada08fc8a70 382 "MBEDTLS_SSL_SESSION_TICKETS",
mbedAustin 11:cada08fc8a70 383 #endif /* MBEDTLS_SSL_SESSION_TICKETS */
mbedAustin 11:cada08fc8a70 384 #if defined(MBEDTLS_SSL_EXPORT_KEYS)
mbedAustin 11:cada08fc8a70 385 "MBEDTLS_SSL_EXPORT_KEYS",
mbedAustin 11:cada08fc8a70 386 #endif /* MBEDTLS_SSL_EXPORT_KEYS */
mbedAustin 11:cada08fc8a70 387 #if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
mbedAustin 11:cada08fc8a70 388 "MBEDTLS_SSL_SERVER_NAME_INDICATION",
mbedAustin 11:cada08fc8a70 389 #endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
mbedAustin 11:cada08fc8a70 390 #if defined(MBEDTLS_SSL_TRUNCATED_HMAC)
mbedAustin 11:cada08fc8a70 391 "MBEDTLS_SSL_TRUNCATED_HMAC",
mbedAustin 11:cada08fc8a70 392 #endif /* MBEDTLS_SSL_TRUNCATED_HMAC */
mbedAustin 11:cada08fc8a70 393 #if defined(MBEDTLS_THREADING_ALT)
mbedAustin 11:cada08fc8a70 394 "MBEDTLS_THREADING_ALT",
mbedAustin 11:cada08fc8a70 395 #endif /* MBEDTLS_THREADING_ALT */
mbedAustin 11:cada08fc8a70 396 #if defined(MBEDTLS_THREADING_PTHREAD)
mbedAustin 11:cada08fc8a70 397 "MBEDTLS_THREADING_PTHREAD",
mbedAustin 11:cada08fc8a70 398 #endif /* MBEDTLS_THREADING_PTHREAD */
mbedAustin 11:cada08fc8a70 399 #if defined(MBEDTLS_VERSION_FEATURES)
mbedAustin 11:cada08fc8a70 400 "MBEDTLS_VERSION_FEATURES",
mbedAustin 11:cada08fc8a70 401 #endif /* MBEDTLS_VERSION_FEATURES */
mbedAustin 11:cada08fc8a70 402 #if defined(MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3)
mbedAustin 11:cada08fc8a70 403 "MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3",
mbedAustin 11:cada08fc8a70 404 #endif /* MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 */
mbedAustin 11:cada08fc8a70 405 #if defined(MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION)
mbedAustin 11:cada08fc8a70 406 "MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION",
mbedAustin 11:cada08fc8a70 407 #endif /* MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION */
mbedAustin 11:cada08fc8a70 408 #if defined(MBEDTLS_X509_CHECK_KEY_USAGE)
mbedAustin 11:cada08fc8a70 409 "MBEDTLS_X509_CHECK_KEY_USAGE",
mbedAustin 11:cada08fc8a70 410 #endif /* MBEDTLS_X509_CHECK_KEY_USAGE */
mbedAustin 11:cada08fc8a70 411 #if defined(MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE)
mbedAustin 11:cada08fc8a70 412 "MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE",
mbedAustin 11:cada08fc8a70 413 #endif /* MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE */
mbedAustin 11:cada08fc8a70 414 #if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
mbedAustin 11:cada08fc8a70 415 "MBEDTLS_X509_RSASSA_PSS_SUPPORT",
mbedAustin 11:cada08fc8a70 416 #endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
mbedAustin 11:cada08fc8a70 417 #if defined(MBEDTLS_ZLIB_SUPPORT)
mbedAustin 11:cada08fc8a70 418 "MBEDTLS_ZLIB_SUPPORT",
mbedAustin 11:cada08fc8a70 419 #endif /* MBEDTLS_ZLIB_SUPPORT */
mbedAustin 11:cada08fc8a70 420 #if defined(MBEDTLS_AESNI_C)
mbedAustin 11:cada08fc8a70 421 "MBEDTLS_AESNI_C",
mbedAustin 11:cada08fc8a70 422 #endif /* MBEDTLS_AESNI_C */
mbedAustin 11:cada08fc8a70 423 #if defined(MBEDTLS_AES_C)
mbedAustin 11:cada08fc8a70 424 "MBEDTLS_AES_C",
mbedAustin 11:cada08fc8a70 425 #endif /* MBEDTLS_AES_C */
mbedAustin 11:cada08fc8a70 426 #if defined(MBEDTLS_ARC4_C)
mbedAustin 11:cada08fc8a70 427 "MBEDTLS_ARC4_C",
mbedAustin 11:cada08fc8a70 428 #endif /* MBEDTLS_ARC4_C */
mbedAustin 11:cada08fc8a70 429 #if defined(MBEDTLS_ASN1_PARSE_C)
mbedAustin 11:cada08fc8a70 430 "MBEDTLS_ASN1_PARSE_C",
mbedAustin 11:cada08fc8a70 431 #endif /* MBEDTLS_ASN1_PARSE_C */
mbedAustin 11:cada08fc8a70 432 #if defined(MBEDTLS_ASN1_WRITE_C)
mbedAustin 11:cada08fc8a70 433 "MBEDTLS_ASN1_WRITE_C",
mbedAustin 11:cada08fc8a70 434 #endif /* MBEDTLS_ASN1_WRITE_C */
mbedAustin 11:cada08fc8a70 435 #if defined(MBEDTLS_BASE64_C)
mbedAustin 11:cada08fc8a70 436 "MBEDTLS_BASE64_C",
mbedAustin 11:cada08fc8a70 437 #endif /* MBEDTLS_BASE64_C */
mbedAustin 11:cada08fc8a70 438 #if defined(MBEDTLS_BIGNUM_C)
mbedAustin 11:cada08fc8a70 439 "MBEDTLS_BIGNUM_C",
mbedAustin 11:cada08fc8a70 440 #endif /* MBEDTLS_BIGNUM_C */
mbedAustin 11:cada08fc8a70 441 #if defined(MBEDTLS_BLOWFISH_C)
mbedAustin 11:cada08fc8a70 442 "MBEDTLS_BLOWFISH_C",
mbedAustin 11:cada08fc8a70 443 #endif /* MBEDTLS_BLOWFISH_C */
mbedAustin 11:cada08fc8a70 444 #if defined(MBEDTLS_CAMELLIA_C)
mbedAustin 11:cada08fc8a70 445 "MBEDTLS_CAMELLIA_C",
mbedAustin 11:cada08fc8a70 446 #endif /* MBEDTLS_CAMELLIA_C */
mbedAustin 11:cada08fc8a70 447 #if defined(MBEDTLS_CCM_C)
mbedAustin 11:cada08fc8a70 448 "MBEDTLS_CCM_C",
mbedAustin 11:cada08fc8a70 449 #endif /* MBEDTLS_CCM_C */
mbedAustin 11:cada08fc8a70 450 #if defined(MBEDTLS_CERTS_C)
mbedAustin 11:cada08fc8a70 451 "MBEDTLS_CERTS_C",
mbedAustin 11:cada08fc8a70 452 #endif /* MBEDTLS_CERTS_C */
mbedAustin 11:cada08fc8a70 453 #if defined(MBEDTLS_CIPHER_C)
mbedAustin 11:cada08fc8a70 454 "MBEDTLS_CIPHER_C",
mbedAustin 11:cada08fc8a70 455 #endif /* MBEDTLS_CIPHER_C */
mbedAustin 11:cada08fc8a70 456 #if defined(MBEDTLS_CTR_DRBG_C)
mbedAustin 11:cada08fc8a70 457 "MBEDTLS_CTR_DRBG_C",
mbedAustin 11:cada08fc8a70 458 #endif /* MBEDTLS_CTR_DRBG_C */
mbedAustin 11:cada08fc8a70 459 #if defined(MBEDTLS_DEBUG_C)
mbedAustin 11:cada08fc8a70 460 "MBEDTLS_DEBUG_C",
mbedAustin 11:cada08fc8a70 461 #endif /* MBEDTLS_DEBUG_C */
mbedAustin 11:cada08fc8a70 462 #if defined(MBEDTLS_DES_C)
mbedAustin 11:cada08fc8a70 463 "MBEDTLS_DES_C",
mbedAustin 11:cada08fc8a70 464 #endif /* MBEDTLS_DES_C */
mbedAustin 11:cada08fc8a70 465 #if defined(MBEDTLS_DHM_C)
mbedAustin 11:cada08fc8a70 466 "MBEDTLS_DHM_C",
mbedAustin 11:cada08fc8a70 467 #endif /* MBEDTLS_DHM_C */
mbedAustin 11:cada08fc8a70 468 #if defined(MBEDTLS_ECDH_C)
mbedAustin 11:cada08fc8a70 469 "MBEDTLS_ECDH_C",
mbedAustin 11:cada08fc8a70 470 #endif /* MBEDTLS_ECDH_C */
mbedAustin 11:cada08fc8a70 471 #if defined(MBEDTLS_ECDSA_C)
mbedAustin 11:cada08fc8a70 472 "MBEDTLS_ECDSA_C",
mbedAustin 11:cada08fc8a70 473 #endif /* MBEDTLS_ECDSA_C */
mbedAustin 11:cada08fc8a70 474 #if defined(MBEDTLS_ECJPAKE_C)
mbedAustin 11:cada08fc8a70 475 "MBEDTLS_ECJPAKE_C",
mbedAustin 11:cada08fc8a70 476 #endif /* MBEDTLS_ECJPAKE_C */
mbedAustin 11:cada08fc8a70 477 #if defined(MBEDTLS_ECP_C)
mbedAustin 11:cada08fc8a70 478 "MBEDTLS_ECP_C",
mbedAustin 11:cada08fc8a70 479 #endif /* MBEDTLS_ECP_C */
mbedAustin 11:cada08fc8a70 480 #if defined(MBEDTLS_ENTROPY_C)
mbedAustin 11:cada08fc8a70 481 "MBEDTLS_ENTROPY_C",
mbedAustin 11:cada08fc8a70 482 #endif /* MBEDTLS_ENTROPY_C */
mbedAustin 11:cada08fc8a70 483 #if defined(MBEDTLS_ERROR_C)
mbedAustin 11:cada08fc8a70 484 "MBEDTLS_ERROR_C",
mbedAustin 11:cada08fc8a70 485 #endif /* MBEDTLS_ERROR_C */
mbedAustin 11:cada08fc8a70 486 #if defined(MBEDTLS_GCM_C)
mbedAustin 11:cada08fc8a70 487 "MBEDTLS_GCM_C",
mbedAustin 11:cada08fc8a70 488 #endif /* MBEDTLS_GCM_C */
mbedAustin 11:cada08fc8a70 489 #if defined(MBEDTLS_HAVEGE_C)
mbedAustin 11:cada08fc8a70 490 "MBEDTLS_HAVEGE_C",
mbedAustin 11:cada08fc8a70 491 #endif /* MBEDTLS_HAVEGE_C */
mbedAustin 11:cada08fc8a70 492 #if defined(MBEDTLS_HMAC_DRBG_C)
mbedAustin 11:cada08fc8a70 493 "MBEDTLS_HMAC_DRBG_C",
mbedAustin 11:cada08fc8a70 494 #endif /* MBEDTLS_HMAC_DRBG_C */
mbedAustin 11:cada08fc8a70 495 #if defined(MBEDTLS_MD_C)
mbedAustin 11:cada08fc8a70 496 "MBEDTLS_MD_C",
mbedAustin 11:cada08fc8a70 497 #endif /* MBEDTLS_MD_C */
mbedAustin 11:cada08fc8a70 498 #if defined(MBEDTLS_MD2_C)
mbedAustin 11:cada08fc8a70 499 "MBEDTLS_MD2_C",
mbedAustin 11:cada08fc8a70 500 #endif /* MBEDTLS_MD2_C */
mbedAustin 11:cada08fc8a70 501 #if defined(MBEDTLS_MD4_C)
mbedAustin 11:cada08fc8a70 502 "MBEDTLS_MD4_C",
mbedAustin 11:cada08fc8a70 503 #endif /* MBEDTLS_MD4_C */
mbedAustin 11:cada08fc8a70 504 #if defined(MBEDTLS_MD5_C)
mbedAustin 11:cada08fc8a70 505 "MBEDTLS_MD5_C",
mbedAustin 11:cada08fc8a70 506 #endif /* MBEDTLS_MD5_C */
mbedAustin 11:cada08fc8a70 507 #if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
mbedAustin 11:cada08fc8a70 508 "MBEDTLS_MEMORY_BUFFER_ALLOC_C",
mbedAustin 11:cada08fc8a70 509 #endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
mbedAustin 11:cada08fc8a70 510 #if defined(MBEDTLS_NET_C)
mbedAustin 11:cada08fc8a70 511 "MBEDTLS_NET_C",
mbedAustin 11:cada08fc8a70 512 #endif /* MBEDTLS_NET_C */
mbedAustin 11:cada08fc8a70 513 #if defined(MBEDTLS_OID_C)
mbedAustin 11:cada08fc8a70 514 "MBEDTLS_OID_C",
mbedAustin 11:cada08fc8a70 515 #endif /* MBEDTLS_OID_C */
mbedAustin 11:cada08fc8a70 516 #if defined(MBEDTLS_PADLOCK_C)
mbedAustin 11:cada08fc8a70 517 "MBEDTLS_PADLOCK_C",
mbedAustin 11:cada08fc8a70 518 #endif /* MBEDTLS_PADLOCK_C */
mbedAustin 11:cada08fc8a70 519 #if defined(MBEDTLS_PEM_PARSE_C)
mbedAustin 11:cada08fc8a70 520 "MBEDTLS_PEM_PARSE_C",
mbedAustin 11:cada08fc8a70 521 #endif /* MBEDTLS_PEM_PARSE_C */
mbedAustin 11:cada08fc8a70 522 #if defined(MBEDTLS_PEM_WRITE_C)
mbedAustin 11:cada08fc8a70 523 "MBEDTLS_PEM_WRITE_C",
mbedAustin 11:cada08fc8a70 524 #endif /* MBEDTLS_PEM_WRITE_C */
mbedAustin 11:cada08fc8a70 525 #if defined(MBEDTLS_PK_C)
mbedAustin 11:cada08fc8a70 526 "MBEDTLS_PK_C",
mbedAustin 11:cada08fc8a70 527 #endif /* MBEDTLS_PK_C */
mbedAustin 11:cada08fc8a70 528 #if defined(MBEDTLS_PK_PARSE_C)
mbedAustin 11:cada08fc8a70 529 "MBEDTLS_PK_PARSE_C",
mbedAustin 11:cada08fc8a70 530 #endif /* MBEDTLS_PK_PARSE_C */
mbedAustin 11:cada08fc8a70 531 #if defined(MBEDTLS_PK_WRITE_C)
mbedAustin 11:cada08fc8a70 532 "MBEDTLS_PK_WRITE_C",
mbedAustin 11:cada08fc8a70 533 #endif /* MBEDTLS_PK_WRITE_C */
mbedAustin 11:cada08fc8a70 534 #if defined(MBEDTLS_PKCS5_C)
mbedAustin 11:cada08fc8a70 535 "MBEDTLS_PKCS5_C",
mbedAustin 11:cada08fc8a70 536 #endif /* MBEDTLS_PKCS5_C */
mbedAustin 11:cada08fc8a70 537 #if defined(MBEDTLS_PKCS11_C)
mbedAustin 11:cada08fc8a70 538 "MBEDTLS_PKCS11_C",
mbedAustin 11:cada08fc8a70 539 #endif /* MBEDTLS_PKCS11_C */
mbedAustin 11:cada08fc8a70 540 #if defined(MBEDTLS_PKCS12_C)
mbedAustin 11:cada08fc8a70 541 "MBEDTLS_PKCS12_C",
mbedAustin 11:cada08fc8a70 542 #endif /* MBEDTLS_PKCS12_C */
mbedAustin 11:cada08fc8a70 543 #if defined(MBEDTLS_PLATFORM_C)
mbedAustin 11:cada08fc8a70 544 "MBEDTLS_PLATFORM_C",
mbedAustin 11:cada08fc8a70 545 #endif /* MBEDTLS_PLATFORM_C */
mbedAustin 11:cada08fc8a70 546 #if defined(MBEDTLS_RIPEMD160_C)
mbedAustin 11:cada08fc8a70 547 "MBEDTLS_RIPEMD160_C",
mbedAustin 11:cada08fc8a70 548 #endif /* MBEDTLS_RIPEMD160_C */
mbedAustin 11:cada08fc8a70 549 #if defined(MBEDTLS_RSA_C)
mbedAustin 11:cada08fc8a70 550 "MBEDTLS_RSA_C",
mbedAustin 11:cada08fc8a70 551 #endif /* MBEDTLS_RSA_C */
mbedAustin 11:cada08fc8a70 552 #if defined(MBEDTLS_SHA1_C)
mbedAustin 11:cada08fc8a70 553 "MBEDTLS_SHA1_C",
mbedAustin 11:cada08fc8a70 554 #endif /* MBEDTLS_SHA1_C */
mbedAustin 11:cada08fc8a70 555 #if defined(MBEDTLS_SHA256_C)
mbedAustin 11:cada08fc8a70 556 "MBEDTLS_SHA256_C",
mbedAustin 11:cada08fc8a70 557 #endif /* MBEDTLS_SHA256_C */
mbedAustin 11:cada08fc8a70 558 #if defined(MBEDTLS_SHA512_C)
mbedAustin 11:cada08fc8a70 559 "MBEDTLS_SHA512_C",
mbedAustin 11:cada08fc8a70 560 #endif /* MBEDTLS_SHA512_C */
mbedAustin 11:cada08fc8a70 561 #if defined(MBEDTLS_SSL_CACHE_C)
mbedAustin 11:cada08fc8a70 562 "MBEDTLS_SSL_CACHE_C",
mbedAustin 11:cada08fc8a70 563 #endif /* MBEDTLS_SSL_CACHE_C */
mbedAustin 11:cada08fc8a70 564 #if defined(MBEDTLS_SSL_COOKIE_C)
mbedAustin 11:cada08fc8a70 565 "MBEDTLS_SSL_COOKIE_C",
mbedAustin 11:cada08fc8a70 566 #endif /* MBEDTLS_SSL_COOKIE_C */
mbedAustin 11:cada08fc8a70 567 #if defined(MBEDTLS_SSL_TICKET_C)
mbedAustin 11:cada08fc8a70 568 "MBEDTLS_SSL_TICKET_C",
mbedAustin 11:cada08fc8a70 569 #endif /* MBEDTLS_SSL_TICKET_C */
mbedAustin 11:cada08fc8a70 570 #if defined(MBEDTLS_SSL_CLI_C)
mbedAustin 11:cada08fc8a70 571 "MBEDTLS_SSL_CLI_C",
mbedAustin 11:cada08fc8a70 572 #endif /* MBEDTLS_SSL_CLI_C */
mbedAustin 11:cada08fc8a70 573 #if defined(MBEDTLS_SSL_SRV_C)
mbedAustin 11:cada08fc8a70 574 "MBEDTLS_SSL_SRV_C",
mbedAustin 11:cada08fc8a70 575 #endif /* MBEDTLS_SSL_SRV_C */
mbedAustin 11:cada08fc8a70 576 #if defined(MBEDTLS_SSL_TLS_C)
mbedAustin 11:cada08fc8a70 577 "MBEDTLS_SSL_TLS_C",
mbedAustin 11:cada08fc8a70 578 #endif /* MBEDTLS_SSL_TLS_C */
mbedAustin 11:cada08fc8a70 579 #if defined(MBEDTLS_THREADING_C)
mbedAustin 11:cada08fc8a70 580 "MBEDTLS_THREADING_C",
mbedAustin 11:cada08fc8a70 581 #endif /* MBEDTLS_THREADING_C */
mbedAustin 11:cada08fc8a70 582 #if defined(MBEDTLS_TIMING_C)
mbedAustin 11:cada08fc8a70 583 "MBEDTLS_TIMING_C",
mbedAustin 11:cada08fc8a70 584 #endif /* MBEDTLS_TIMING_C */
mbedAustin 11:cada08fc8a70 585 #if defined(MBEDTLS_VERSION_C)
mbedAustin 11:cada08fc8a70 586 "MBEDTLS_VERSION_C",
mbedAustin 11:cada08fc8a70 587 #endif /* MBEDTLS_VERSION_C */
mbedAustin 11:cada08fc8a70 588 #if defined(MBEDTLS_X509_USE_C)
mbedAustin 11:cada08fc8a70 589 "MBEDTLS_X509_USE_C",
mbedAustin 11:cada08fc8a70 590 #endif /* MBEDTLS_X509_USE_C */
mbedAustin 11:cada08fc8a70 591 #if defined(MBEDTLS_X509_CRT_PARSE_C)
mbedAustin 11:cada08fc8a70 592 "MBEDTLS_X509_CRT_PARSE_C",
mbedAustin 11:cada08fc8a70 593 #endif /* MBEDTLS_X509_CRT_PARSE_C */
mbedAustin 11:cada08fc8a70 594 #if defined(MBEDTLS_X509_CRL_PARSE_C)
mbedAustin 11:cada08fc8a70 595 "MBEDTLS_X509_CRL_PARSE_C",
mbedAustin 11:cada08fc8a70 596 #endif /* MBEDTLS_X509_CRL_PARSE_C */
mbedAustin 11:cada08fc8a70 597 #if defined(MBEDTLS_X509_CSR_PARSE_C)
mbedAustin 11:cada08fc8a70 598 "MBEDTLS_X509_CSR_PARSE_C",
mbedAustin 11:cada08fc8a70 599 #endif /* MBEDTLS_X509_CSR_PARSE_C */
mbedAustin 11:cada08fc8a70 600 #if defined(MBEDTLS_X509_CREATE_C)
mbedAustin 11:cada08fc8a70 601 "MBEDTLS_X509_CREATE_C",
mbedAustin 11:cada08fc8a70 602 #endif /* MBEDTLS_X509_CREATE_C */
mbedAustin 11:cada08fc8a70 603 #if defined(MBEDTLS_X509_CRT_WRITE_C)
mbedAustin 11:cada08fc8a70 604 "MBEDTLS_X509_CRT_WRITE_C",
mbedAustin 11:cada08fc8a70 605 #endif /* MBEDTLS_X509_CRT_WRITE_C */
mbedAustin 11:cada08fc8a70 606 #if defined(MBEDTLS_X509_CSR_WRITE_C)
mbedAustin 11:cada08fc8a70 607 "MBEDTLS_X509_CSR_WRITE_C",
mbedAustin 11:cada08fc8a70 608 #endif /* MBEDTLS_X509_CSR_WRITE_C */
mbedAustin 11:cada08fc8a70 609 #if defined(MBEDTLS_XTEA_C)
mbedAustin 11:cada08fc8a70 610 "MBEDTLS_XTEA_C",
mbedAustin 11:cada08fc8a70 611 #endif /* MBEDTLS_XTEA_C */
mbedAustin 11:cada08fc8a70 612 #endif /* MBEDTLS_VERSION_FEATURES */
mbedAustin 11:cada08fc8a70 613 NULL
mbedAustin 11:cada08fc8a70 614 };
mbedAustin 11:cada08fc8a70 615
mbedAustin 11:cada08fc8a70 616 int mbedtls_version_check_feature( const char *feature )
mbedAustin 11:cada08fc8a70 617 {
mbedAustin 11:cada08fc8a70 618 const char **idx = features;
mbedAustin 11:cada08fc8a70 619
mbedAustin 11:cada08fc8a70 620 if( *idx == NULL )
mbedAustin 11:cada08fc8a70 621 return( -2 );
mbedAustin 11:cada08fc8a70 622
mbedAustin 11:cada08fc8a70 623 if( feature == NULL )
mbedAustin 11:cada08fc8a70 624 return( -1 );
mbedAustin 11:cada08fc8a70 625
mbedAustin 11:cada08fc8a70 626 while( *idx != NULL )
mbedAustin 11:cada08fc8a70 627 {
mbedAustin 11:cada08fc8a70 628 if( !strcmp( *idx, feature ) )
mbedAustin 11:cada08fc8a70 629 return( 0 );
mbedAustin 11:cada08fc8a70 630 idx++;
mbedAustin 11:cada08fc8a70 631 }
mbedAustin 11:cada08fc8a70 632 return( -1 );
mbedAustin 11:cada08fc8a70 633 }
mbedAustin 11:cada08fc8a70 634
mbedAustin 11:cada08fc8a70 635 #endif /* MBEDTLS_VERSION_C */