This is a fork due to permission issues

Dependencies:   mbed Socket lwip-eth lwip-sys lwip

Fork of 6_songs-from-the-cloud by MakingMusicWorkshop

Committer:
timbeight
Date:
Thu May 19 16:02:10 2016 +0000
Revision:
1:0ddbe2d3319c
Parent:
0:f7c60d3e7b8a
This is my first commit while in the class.

Who changed what in which revision?

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