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