Preliminary main mbed library for nexpaq development

Committer:
nexpaq
Date:
Fri Nov 04 20:27:58 2016 +0000
Revision:
0:6c56fb4bc5f0
Moving to library for sharing updates

Who changed what in which revision?

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