1a8e1175bSopenharmony_ci/*
2a8e1175bSopenharmony_ci *  Version feature information
3a8e1175bSopenharmony_ci *
4a8e1175bSopenharmony_ci *  Copyright The Mbed TLS Contributors
5a8e1175bSopenharmony_ci *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
6a8e1175bSopenharmony_ci */
7a8e1175bSopenharmony_ci
8a8e1175bSopenharmony_ci#include "common.h"
9a8e1175bSopenharmony_ci
10a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_C)
11a8e1175bSopenharmony_ci
12a8e1175bSopenharmony_ci#include "mbedtls/version.h"
13a8e1175bSopenharmony_ci
14a8e1175bSopenharmony_ci#include <string.h>
15a8e1175bSopenharmony_ci
16a8e1175bSopenharmony_cistatic const char * const features[] = {
17a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_FEATURES)
18a8e1175bSopenharmony_ci    #if defined(MBEDTLS_HAVE_ASM)
19a8e1175bSopenharmony_ci    "HAVE_ASM", //no-check-names
20a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_ASM */
21a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_UDBL_DIVISION)
22a8e1175bSopenharmony_ci    "NO_UDBL_DIVISION", //no-check-names
23a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_UDBL_DIVISION */
24a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION)
25a8e1175bSopenharmony_ci    "NO_64BIT_MULTIPLICATION", //no-check-names
26a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_64BIT_MULTIPLICATION */
27a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_SSE2)
28a8e1175bSopenharmony_ci    "HAVE_SSE2", //no-check-names
29a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_SSE2 */
30a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME)
31a8e1175bSopenharmony_ci    "HAVE_TIME", //no-check-names
32a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME */
33a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME_DATE)
34a8e1175bSopenharmony_ci    "HAVE_TIME_DATE", //no-check-names
35a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME_DATE */
36a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MEMORY)
37a8e1175bSopenharmony_ci    "PLATFORM_MEMORY", //no-check-names
38a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MEMORY */
39a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
40a8e1175bSopenharmony_ci    "PLATFORM_NO_STD_FUNCTIONS", //no-check-names
41a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
42a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETBUF_ALT)
43a8e1175bSopenharmony_ci    "PLATFORM_SETBUF_ALT", //no-check-names
44a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETBUF_ALT */
45a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_EXIT_ALT)
46a8e1175bSopenharmony_ci    "PLATFORM_EXIT_ALT", //no-check-names
47a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_EXIT_ALT */
48a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_ALT)
49a8e1175bSopenharmony_ci    "PLATFORM_TIME_ALT", //no-check-names
50a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_ALT */
51a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
52a8e1175bSopenharmony_ci    "PLATFORM_FPRINTF_ALT", //no-check-names
53a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
54a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
55a8e1175bSopenharmony_ci    "PLATFORM_PRINTF_ALT", //no-check-names
56a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
57a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
58a8e1175bSopenharmony_ci    "PLATFORM_SNPRINTF_ALT", //no-check-names
59a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
60a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
61a8e1175bSopenharmony_ci    "PLATFORM_VSNPRINTF_ALT", //no-check-names
62a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
63a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
64a8e1175bSopenharmony_ci    "PLATFORM_NV_SEED_ALT", //no-check-names
65a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
66a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
67a8e1175bSopenharmony_ci    "PLATFORM_SETUP_TEARDOWN_ALT", //no-check-names
68a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
69a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT)
70a8e1175bSopenharmony_ci    "PLATFORM_MS_TIME_ALT", //no-check-names
71a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MS_TIME_ALT */
72a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
73a8e1175bSopenharmony_ci    "PLATFORM_GMTIME_R_ALT", //no-check-names
74a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
75a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT)
76a8e1175bSopenharmony_ci    "PLATFORM_ZEROIZE_ALT", //no-check-names
77a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
78a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_WARNING)
79a8e1175bSopenharmony_ci    "DEPRECATED_WARNING", //no-check-names
80a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_WARNING */
81a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_REMOVED)
82a8e1175bSopenharmony_ci    "DEPRECATED_REMOVED", //no-check-names
83a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_REMOVED */
84a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_ALT)
85a8e1175bSopenharmony_ci    "TIMING_ALT", //no-check-names
86a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_ALT */
87a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ALT)
88a8e1175bSopenharmony_ci    "AES_ALT", //no-check-names
89a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ALT */
90a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_ALT)
91a8e1175bSopenharmony_ci    "ARIA_ALT", //no-check-names
92a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_ALT */
93a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_ALT)
94a8e1175bSopenharmony_ci    "CAMELLIA_ALT", //no-check-names
95a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_ALT */
96a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_ALT)
97a8e1175bSopenharmony_ci    "CCM_ALT", //no-check-names
98a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_ALT */
99a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_ALT)
100a8e1175bSopenharmony_ci    "CHACHA20_ALT", //no-check-names
101a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_ALT */
102a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_ALT)
103a8e1175bSopenharmony_ci    "CHACHAPOLY_ALT", //no-check-names
104a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_ALT */
105a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_ALT)
106a8e1175bSopenharmony_ci    "CMAC_ALT", //no-check-names
107a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_ALT */
108a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_ALT)
109a8e1175bSopenharmony_ci    "DES_ALT", //no-check-names
110a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_ALT */
111a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_ALT)
112a8e1175bSopenharmony_ci    "DHM_ALT", //no-check-names
113a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_ALT */
114a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_ALT)
115a8e1175bSopenharmony_ci    "ECJPAKE_ALT", //no-check-names
116a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_ALT */
117a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_ALT)
118a8e1175bSopenharmony_ci    "GCM_ALT", //no-check-names
119a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_ALT */
120a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_ALT)
121a8e1175bSopenharmony_ci    "NIST_KW_ALT", //no-check-names
122a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_ALT */
123a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_ALT)
124a8e1175bSopenharmony_ci    "MD5_ALT", //no-check-names
125a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_ALT */
126a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_ALT)
127a8e1175bSopenharmony_ci    "POLY1305_ALT", //no-check-names
128a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_ALT */
129a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_ALT)
130a8e1175bSopenharmony_ci    "RIPEMD160_ALT", //no-check-names
131a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_ALT */
132a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_ALT)
133a8e1175bSopenharmony_ci    "RSA_ALT", //no-check-names
134a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_ALT */
135a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_ALT)
136a8e1175bSopenharmony_ci    "SHA1_ALT", //no-check-names
137a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_ALT */
138a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_ALT)
139a8e1175bSopenharmony_ci    "SHA256_ALT", //no-check-names
140a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_ALT */
141a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_ALT)
142a8e1175bSopenharmony_ci    "SHA512_ALT", //no-check-names
143a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_ALT */
144a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ALT)
145a8e1175bSopenharmony_ci    "ECP_ALT", //no-check-names
146a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ALT */
147a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_PROCESS_ALT)
148a8e1175bSopenharmony_ci    "MD5_PROCESS_ALT", //no-check-names
149a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_PROCESS_ALT */
150a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
151a8e1175bSopenharmony_ci    "RIPEMD160_PROCESS_ALT", //no-check-names
152a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
153a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_PROCESS_ALT)
154a8e1175bSopenharmony_ci    "SHA1_PROCESS_ALT", //no-check-names
155a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_PROCESS_ALT */
156a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_PROCESS_ALT)
157a8e1175bSopenharmony_ci    "SHA256_PROCESS_ALT", //no-check-names
158a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_PROCESS_ALT */
159a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_PROCESS_ALT)
160a8e1175bSopenharmony_ci    "SHA512_PROCESS_ALT", //no-check-names
161a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_PROCESS_ALT */
162a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_SETKEY_ALT)
163a8e1175bSopenharmony_ci    "DES_SETKEY_ALT", //no-check-names
164a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_SETKEY_ALT */
165a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
166a8e1175bSopenharmony_ci    "DES_CRYPT_ECB_ALT", //no-check-names
167a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
168a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
169a8e1175bSopenharmony_ci    "DES3_CRYPT_ECB_ALT", //no-check-names
170a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
171a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
172a8e1175bSopenharmony_ci    "AES_SETKEY_ENC_ALT", //no-check-names
173a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
174a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
175a8e1175bSopenharmony_ci    "AES_SETKEY_DEC_ALT", //no-check-names
176a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
177a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ENCRYPT_ALT)
178a8e1175bSopenharmony_ci    "AES_ENCRYPT_ALT", //no-check-names
179a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ENCRYPT_ALT */
180a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_DECRYPT_ALT)
181a8e1175bSopenharmony_ci    "AES_DECRYPT_ALT", //no-check-names
182a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_DECRYPT_ALT */
183a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
184a8e1175bSopenharmony_ci    "ECDH_GEN_PUBLIC_ALT", //no-check-names
185a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_GEN_PUBLIC_ALT */
186a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT)
187a8e1175bSopenharmony_ci    "ECDH_COMPUTE_SHARED_ALT", //no-check-names
188a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_COMPUTE_SHARED_ALT */
189a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_VERIFY_ALT)
190a8e1175bSopenharmony_ci    "ECDSA_VERIFY_ALT", //no-check-names
191a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_VERIFY_ALT */
192a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_SIGN_ALT)
193a8e1175bSopenharmony_ci    "ECDSA_SIGN_ALT", //no-check-names
194a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_SIGN_ALT */
195a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_GENKEY_ALT)
196a8e1175bSopenharmony_ci    "ECDSA_GENKEY_ALT", //no-check-names
197a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
198a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_INTERNAL_ALT)
199a8e1175bSopenharmony_ci    "ECP_INTERNAL_ALT", //no-check-names
200a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_INTERNAL_ALT */
201a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NO_FALLBACK)
202a8e1175bSopenharmony_ci    "ECP_NO_FALLBACK", //no-check-names
203a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NO_FALLBACK */
204a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT)
205a8e1175bSopenharmony_ci    "ECP_RANDOMIZE_JAC_ALT", //no-check-names
206a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_JAC_ALT */
207a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ADD_MIXED_ALT)
208a8e1175bSopenharmony_ci    "ECP_ADD_MIXED_ALT", //no-check-names
209a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ADD_MIXED_ALT */
210a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT)
211a8e1175bSopenharmony_ci    "ECP_DOUBLE_JAC_ALT", //no-check-names
212a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_JAC_ALT */
213a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT)
214a8e1175bSopenharmony_ci    "ECP_NORMALIZE_JAC_MANY_ALT", //no-check-names
215a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT */
216a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT)
217a8e1175bSopenharmony_ci    "ECP_NORMALIZE_JAC_ALT", //no-check-names
218a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_ALT */
219a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT)
220a8e1175bSopenharmony_ci    "ECP_DOUBLE_ADD_MXZ_ALT", //no-check-names
221a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT */
222a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
223a8e1175bSopenharmony_ci    "ECP_RANDOMIZE_MXZ_ALT", //no-check-names
224a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
225a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT)
226a8e1175bSopenharmony_ci    "ECP_NORMALIZE_MXZ_ALT", //no-check-names
227a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_MXZ_ALT */
228a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
229a8e1175bSopenharmony_ci    "ENTROPY_HARDWARE_ALT", //no-check-names
230a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
231a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ROM_TABLES)
232a8e1175bSopenharmony_ci    "AES_ROM_TABLES", //no-check-names
233a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ROM_TABLES */
234a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_FEWER_TABLES)
235a8e1175bSopenharmony_ci    "AES_FEWER_TABLES", //no-check-names
236a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_FEWER_TABLES */
237a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)
238a8e1175bSopenharmony_ci    "AES_ONLY_128_BIT_KEY_LENGTH", //no-check-names
239a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH */
240a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
241a8e1175bSopenharmony_ci    "AES_USE_HARDWARE_ONLY", //no-check-names
242a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_USE_HARDWARE_ONLY */
243a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
244a8e1175bSopenharmony_ci    "CAMELLIA_SMALL_MEMORY", //no-check-names
245a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
246a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHECK_RETURN_WARNING)
247a8e1175bSopenharmony_ci    "CHECK_RETURN_WARNING", //no-check-names
248a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHECK_RETURN_WARNING */
249a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CBC)
250a8e1175bSopenharmony_ci    "CIPHER_MODE_CBC", //no-check-names
251a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CBC */
252a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CFB)
253a8e1175bSopenharmony_ci    "CIPHER_MODE_CFB", //no-check-names
254a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CFB */
255a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CTR)
256a8e1175bSopenharmony_ci    "CIPHER_MODE_CTR", //no-check-names
257a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CTR */
258a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_OFB)
259a8e1175bSopenharmony_ci    "CIPHER_MODE_OFB", //no-check-names
260a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_OFB */
261a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_XTS)
262a8e1175bSopenharmony_ci    "CIPHER_MODE_XTS", //no-check-names
263a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_XTS */
264a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_NULL_CIPHER)
265a8e1175bSopenharmony_ci    "CIPHER_NULL_CIPHER", //no-check-names
266a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_NULL_CIPHER */
267a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
268a8e1175bSopenharmony_ci    "CIPHER_PADDING_PKCS7", //no-check-names
269a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
270a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
271a8e1175bSopenharmony_ci    "CIPHER_PADDING_ONE_AND_ZEROS", //no-check-names
272a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
273a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
274a8e1175bSopenharmony_ci    "CIPHER_PADDING_ZEROS_AND_LEN", //no-check-names
275a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
276a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
277a8e1175bSopenharmony_ci    "CIPHER_PADDING_ZEROS", //no-check-names
278a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
279a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
280a8e1175bSopenharmony_ci    "CTR_DRBG_USE_128_BIT_KEY", //no-check-names
281a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
282a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
283a8e1175bSopenharmony_ci    "ECDH_VARIANT_EVEREST_ENABLED", //no-check-names
284a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
285a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
286a8e1175bSopenharmony_ci    "ECP_DP_SECP192R1_ENABLED", //no-check-names
287a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
288a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
289a8e1175bSopenharmony_ci    "ECP_DP_SECP224R1_ENABLED", //no-check-names
290a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
291a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
292a8e1175bSopenharmony_ci    "ECP_DP_SECP256R1_ENABLED", //no-check-names
293a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
294a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
295a8e1175bSopenharmony_ci    "ECP_DP_SECP384R1_ENABLED", //no-check-names
296a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
297a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
298a8e1175bSopenharmony_ci    "ECP_DP_SECP521R1_ENABLED", //no-check-names
299a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
300a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
301a8e1175bSopenharmony_ci    "ECP_DP_SECP192K1_ENABLED", //no-check-names
302a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
303a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
304a8e1175bSopenharmony_ci    "ECP_DP_SECP224K1_ENABLED", //no-check-names
305a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
306a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
307a8e1175bSopenharmony_ci    "ECP_DP_SECP256K1_ENABLED", //no-check-names
308a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
309a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
310a8e1175bSopenharmony_ci    "ECP_DP_BP256R1_ENABLED", //no-check-names
311a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
312a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
313a8e1175bSopenharmony_ci    "ECP_DP_BP384R1_ENABLED", //no-check-names
314a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
315a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
316a8e1175bSopenharmony_ci    "ECP_DP_BP512R1_ENABLED", //no-check-names
317a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
318a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
319a8e1175bSopenharmony_ci    "ECP_DP_CURVE25519_ENABLED", //no-check-names
320a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
321a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
322a8e1175bSopenharmony_ci    "ECP_DP_CURVE448_ENABLED", //no-check-names
323a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
324a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NIST_OPTIM)
325a8e1175bSopenharmony_ci    "ECP_NIST_OPTIM", //no-check-names
326a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NIST_OPTIM */
327a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RESTARTABLE)
328a8e1175bSopenharmony_ci    "ECP_RESTARTABLE", //no-check-names
329a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RESTARTABLE */
330a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
331a8e1175bSopenharmony_ci    "ECP_WITH_MPI_UINT", //no-check-names
332a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_WITH_MPI_UINT */
333a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
334a8e1175bSopenharmony_ci    "ECDSA_DETERMINISTIC", //no-check-names
335a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_DETERMINISTIC */
336a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
337a8e1175bSopenharmony_ci    "KEY_EXCHANGE_PSK_ENABLED", //no-check-names
338a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
339a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
340a8e1175bSopenharmony_ci    "KEY_EXCHANGE_DHE_PSK_ENABLED", //no-check-names
341a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
342a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
343a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECDHE_PSK_ENABLED", //no-check-names
344a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
345a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
346a8e1175bSopenharmony_ci    "KEY_EXCHANGE_RSA_PSK_ENABLED", //no-check-names
347a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
348a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
349a8e1175bSopenharmony_ci    "KEY_EXCHANGE_RSA_ENABLED", //no-check-names
350a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
351a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
352a8e1175bSopenharmony_ci    "KEY_EXCHANGE_DHE_RSA_ENABLED", //no-check-names
353a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
354a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
355a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECDHE_RSA_ENABLED", //no-check-names
356a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
357a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
358a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECDHE_ECDSA_ENABLED", //no-check-names
359a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
360a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
361a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECDH_ECDSA_ENABLED", //no-check-names
362a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
363a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
364a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECDH_RSA_ENABLED", //no-check-names
365a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
366a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
367a8e1175bSopenharmony_ci    "KEY_EXCHANGE_ECJPAKE_ENABLED", //no-check-names
368a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
369a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
370a8e1175bSopenharmony_ci    "PK_PARSE_EC_EXTENDED", //no-check-names
371a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
372a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED)
373a8e1175bSopenharmony_ci    "PK_PARSE_EC_COMPRESSED", //no-check-names
374a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_COMPRESSED */
375a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
376a8e1175bSopenharmony_ci    "ERROR_STRERROR_DUMMY", //no-check-names
377a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
378a8e1175bSopenharmony_ci#if defined(MBEDTLS_GENPRIME)
379a8e1175bSopenharmony_ci    "GENPRIME", //no-check-names
380a8e1175bSopenharmony_ci#endif /* MBEDTLS_GENPRIME */
381a8e1175bSopenharmony_ci#if defined(MBEDTLS_FS_IO)
382a8e1175bSopenharmony_ci    "FS_IO", //no-check-names
383a8e1175bSopenharmony_ci#endif /* MBEDTLS_FS_IO */
384a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
385a8e1175bSopenharmony_ci    "NO_DEFAULT_ENTROPY_SOURCES", //no-check-names
386a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
387a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
388a8e1175bSopenharmony_ci    "NO_PLATFORM_ENTROPY", //no-check-names
389a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
390a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
391a8e1175bSopenharmony_ci    "ENTROPY_FORCE_SHA256", //no-check-names
392a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
393a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_NV_SEED)
394a8e1175bSopenharmony_ci    "ENTROPY_NV_SEED", //no-check-names
395a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_NV_SEED */
396a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
397a8e1175bSopenharmony_ci    "PSA_CRYPTO_KEY_ID_ENCODES_OWNER", //no-check-names
398a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
399a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_DEBUG)
400a8e1175bSopenharmony_ci    "MEMORY_DEBUG", //no-check-names
401a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_DEBUG */
402a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BACKTRACE)
403a8e1175bSopenharmony_ci    "MEMORY_BACKTRACE", //no-check-names
404a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BACKTRACE */
405a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
406a8e1175bSopenharmony_ci    "PK_RSA_ALT_SUPPORT", //no-check-names
407a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
408a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V15)
409a8e1175bSopenharmony_ci    "PKCS1_V15", //no-check-names
410a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V15 */
411a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V21)
412a8e1175bSopenharmony_ci    "PKCS1_V21", //no-check-names
413a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V21 */
414a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
415a8e1175bSopenharmony_ci    "PSA_CRYPTO_BUILTIN_KEYS", //no-check-names
416a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
417a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
418a8e1175bSopenharmony_ci    "PSA_CRYPTO_CLIENT", //no-check-names
419a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
420a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
421a8e1175bSopenharmony_ci    "PSA_CRYPTO_EXTERNAL_RNG", //no-check-names
422a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */
423a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SPM)
424a8e1175bSopenharmony_ci    "PSA_CRYPTO_SPM", //no-check-names
425a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SPM */
426a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
427a8e1175bSopenharmony_ci    "PSA_P256M_DRIVER_ENABLED", //no-check-names
428a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_P256M_DRIVER_ENABLED */
429a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_INJECT_ENTROPY)
430a8e1175bSopenharmony_ci    "PSA_INJECT_ENTROPY", //no-check-names
431a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_INJECT_ENTROPY */
432a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)
433a8e1175bSopenharmony_ci    "PSA_ASSUME_EXCLUSIVE_BUFFERS", //no-check-names
434a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS */
435a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_NO_CRT)
436a8e1175bSopenharmony_ci    "RSA_NO_CRT", //no-check-names
437a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_NO_CRT */
438a8e1175bSopenharmony_ci#if defined(MBEDTLS_SELF_TEST)
439a8e1175bSopenharmony_ci    "SELF_TEST", //no-check-names
440a8e1175bSopenharmony_ci#endif /* MBEDTLS_SELF_TEST */
441a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_SMALLER)
442a8e1175bSopenharmony_ci    "SHA256_SMALLER", //no-check-names
443a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_SMALLER */
444a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_SMALLER)
445a8e1175bSopenharmony_ci    "SHA512_SMALLER", //no-check-names
446a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_SMALLER */
447a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
448a8e1175bSopenharmony_ci    "SSL_ALL_ALERT_MESSAGES", //no-check-names
449a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
450a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
451a8e1175bSopenharmony_ci    "SSL_DTLS_CONNECTION_ID", //no-check-names
452a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
453a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT)
454a8e1175bSopenharmony_ci    "SSL_DTLS_CONNECTION_ID_COMPAT", //no-check-names
455a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT */
456a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
457a8e1175bSopenharmony_ci    "SSL_ASYNC_PRIVATE", //no-check-names
458a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
459a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
460a8e1175bSopenharmony_ci    "SSL_CONTEXT_SERIALIZATION", //no-check-names
461a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CONTEXT_SERIALIZATION */
462a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DEBUG_ALL)
463a8e1175bSopenharmony_ci    "SSL_DEBUG_ALL", //no-check-names
464a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DEBUG_ALL */
465a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
466a8e1175bSopenharmony_ci    "SSL_ENCRYPT_THEN_MAC", //no-check-names
467a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
468a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
469a8e1175bSopenharmony_ci    "SSL_EXTENDED_MASTER_SECRET", //no-check-names
470a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
471a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
472a8e1175bSopenharmony_ci    "SSL_KEEP_PEER_CERTIFICATE", //no-check-names
473a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
474a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RENEGOTIATION)
475a8e1175bSopenharmony_ci    "SSL_RENEGOTIATION", //no-check-names
476a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RENEGOTIATION */
477a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
478a8e1175bSopenharmony_ci    "SSL_MAX_FRAGMENT_LENGTH", //no-check-names
479a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
480a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
481a8e1175bSopenharmony_ci    "SSL_RECORD_SIZE_LIMIT", //no-check-names
482a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
483a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_2)
484a8e1175bSopenharmony_ci    "SSL_PROTO_TLS1_2", //no-check-names
485a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
486a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
487a8e1175bSopenharmony_ci    "SSL_PROTO_TLS1_3", //no-check-names
488a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
489a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
490a8e1175bSopenharmony_ci    "SSL_TLS1_3_COMPATIBILITY_MODE", //no-check-names
491a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
492a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED)
493a8e1175bSopenharmony_ci    "SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED", //no-check-names
494a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED */
495a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED)
496a8e1175bSopenharmony_ci    "SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED", //no-check-names
497a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED */
498a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED)
499a8e1175bSopenharmony_ci    "SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED", //no-check-names
500a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED */
501a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EARLY_DATA)
502a8e1175bSopenharmony_ci    "SSL_EARLY_DATA", //no-check-names
503a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EARLY_DATA */
504a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_DTLS)
505a8e1175bSopenharmony_ci    "SSL_PROTO_DTLS", //no-check-names
506a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_DTLS */
507a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALPN)
508a8e1175bSopenharmony_ci    "SSL_ALPN", //no-check-names
509a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALPN */
510a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
511a8e1175bSopenharmony_ci    "SSL_DTLS_ANTI_REPLAY", //no-check-names
512a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
513a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
514a8e1175bSopenharmony_ci    "SSL_DTLS_HELLO_VERIFY", //no-check-names
515a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
516a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_SRTP)
517a8e1175bSopenharmony_ci    "SSL_DTLS_SRTP", //no-check-names
518a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_SRTP */
519a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
520a8e1175bSopenharmony_ci    "SSL_DTLS_CLIENT_PORT_REUSE", //no-check-names
521a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
522a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SESSION_TICKETS)
523a8e1175bSopenharmony_ci    "SSL_SESSION_TICKETS", //no-check-names
524a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SESSION_TICKETS */
525a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
526a8e1175bSopenharmony_ci    "SSL_SERVER_NAME_INDICATION", //no-check-names
527a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
528a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH)
529a8e1175bSopenharmony_ci    "SSL_VARIABLE_BUFFER_LENGTH", //no-check-names
530a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH */
531a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN)
532a8e1175bSopenharmony_ci    "TEST_CONSTANT_FLOW_MEMSAN", //no-check-names
533a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN */
534a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND)
535a8e1175bSopenharmony_ci    "TEST_CONSTANT_FLOW_VALGRIND", //no-check-names
536a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND */
537a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_HOOKS)
538a8e1175bSopenharmony_ci    "TEST_HOOKS", //no-check-names
539a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_HOOKS */
540a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_ALT)
541a8e1175bSopenharmony_ci    "THREADING_ALT", //no-check-names
542a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_ALT */
543a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_PTHREAD)
544a8e1175bSopenharmony_ci    "THREADING_PTHREAD", //no-check-names
545a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_PTHREAD */
546a8e1175bSopenharmony_ci#if defined(MBEDTLS_USE_PSA_CRYPTO)
547a8e1175bSopenharmony_ci    "USE_PSA_CRYPTO", //no-check-names
548a8e1175bSopenharmony_ci#endif /* MBEDTLS_USE_PSA_CRYPTO */
549a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
550a8e1175bSopenharmony_ci    "PSA_CRYPTO_CONFIG", //no-check-names
551a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
552a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_FEATURES)
553a8e1175bSopenharmony_ci    "VERSION_FEATURES", //no-check-names
554a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_FEATURES */
555a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK)
556a8e1175bSopenharmony_ci    "X509_TRUSTED_CERTIFICATE_CALLBACK", //no-check-names
557a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK */
558a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_REMOVE_INFO)
559a8e1175bSopenharmony_ci    "X509_REMOVE_INFO", //no-check-names
560a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_REMOVE_INFO */
561a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
562a8e1175bSopenharmony_ci    "X509_RSASSA_PSS_SUPPORT", //no-check-names
563a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
564a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESNI_C)
565a8e1175bSopenharmony_ci    "AESNI_C", //no-check-names
566a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESNI_C */
567a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESCE_C)
568a8e1175bSopenharmony_ci    "AESCE_C", //no-check-names
569a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESCE_C */
570a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_C)
571a8e1175bSopenharmony_ci    "AES_C", //no-check-names
572a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_C */
573a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_PARSE_C)
574a8e1175bSopenharmony_ci    "ASN1_PARSE_C", //no-check-names
575a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_PARSE_C */
576a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_WRITE_C)
577a8e1175bSopenharmony_ci    "ASN1_WRITE_C", //no-check-names
578a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_WRITE_C */
579a8e1175bSopenharmony_ci#if defined(MBEDTLS_BASE64_C)
580a8e1175bSopenharmony_ci    "BASE64_C", //no-check-names
581a8e1175bSopenharmony_ci#endif /* MBEDTLS_BASE64_C */
582a8e1175bSopenharmony_ci#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
583a8e1175bSopenharmony_ci    "BLOCK_CIPHER_NO_DECRYPT", //no-check-names
584a8e1175bSopenharmony_ci#endif /* MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */
585a8e1175bSopenharmony_ci#if defined(MBEDTLS_BIGNUM_C)
586a8e1175bSopenharmony_ci    "BIGNUM_C", //no-check-names
587a8e1175bSopenharmony_ci#endif /* MBEDTLS_BIGNUM_C */
588a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_C)
589a8e1175bSopenharmony_ci    "CAMELLIA_C", //no-check-names
590a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_C */
591a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_C)
592a8e1175bSopenharmony_ci    "ARIA_C", //no-check-names
593a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_C */
594a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_C)
595a8e1175bSopenharmony_ci    "CCM_C", //no-check-names
596a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_C */
597a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_C)
598a8e1175bSopenharmony_ci    "CHACHA20_C", //no-check-names
599a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_C */
600a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_C)
601a8e1175bSopenharmony_ci    "CHACHAPOLY_C", //no-check-names
602a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_C */
603a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_C)
604a8e1175bSopenharmony_ci    "CIPHER_C", //no-check-names
605a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_C */
606a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_C)
607a8e1175bSopenharmony_ci    "CMAC_C", //no-check-names
608a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_C */
609a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_C)
610a8e1175bSopenharmony_ci    "CTR_DRBG_C", //no-check-names
611a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_C */
612a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEBUG_C)
613a8e1175bSopenharmony_ci    "DEBUG_C", //no-check-names
614a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEBUG_C */
615a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_C)
616a8e1175bSopenharmony_ci    "DES_C", //no-check-names
617a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_C */
618a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_C)
619a8e1175bSopenharmony_ci    "DHM_C", //no-check-names
620a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_C */
621a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_C)
622a8e1175bSopenharmony_ci    "ECDH_C", //no-check-names
623a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_C */
624a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_C)
625a8e1175bSopenharmony_ci    "ECDSA_C", //no-check-names
626a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_C */
627a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_C)
628a8e1175bSopenharmony_ci    "ECJPAKE_C", //no-check-names
629a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_C */
630a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_C)
631a8e1175bSopenharmony_ci    "ECP_C", //no-check-names
632a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_C */
633a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_C)
634a8e1175bSopenharmony_ci    "ENTROPY_C", //no-check-names
635a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_C */
636a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_C)
637a8e1175bSopenharmony_ci    "ERROR_C", //no-check-names
638a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_C */
639a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_C)
640a8e1175bSopenharmony_ci    "GCM_C", //no-check-names
641a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_C */
642a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_LARGE_TABLE)
643a8e1175bSopenharmony_ci    "GCM_LARGE_TABLE", //no-check-names
644a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_LARGE_TABLE */
645a8e1175bSopenharmony_ci#if defined(MBEDTLS_HKDF_C)
646a8e1175bSopenharmony_ci    "HKDF_C", //no-check-names
647a8e1175bSopenharmony_ci#endif /* MBEDTLS_HKDF_C */
648a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_C)
649a8e1175bSopenharmony_ci    "HMAC_DRBG_C", //no-check-names
650a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_C */
651a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_C)
652a8e1175bSopenharmony_ci    "LMS_C", //no-check-names
653a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_C */
654a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_PRIVATE)
655a8e1175bSopenharmony_ci    "LMS_PRIVATE", //no-check-names
656a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_PRIVATE */
657a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_C)
658a8e1175bSopenharmony_ci    "NIST_KW_C", //no-check-names
659a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_C */
660a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD_C)
661a8e1175bSopenharmony_ci    "MD_C", //no-check-names
662a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD_C */
663a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_C)
664a8e1175bSopenharmony_ci    "MD5_C", //no-check-names
665a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_C */
666a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
667a8e1175bSopenharmony_ci    "MEMORY_BUFFER_ALLOC_C", //no-check-names
668a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
669a8e1175bSopenharmony_ci#if defined(MBEDTLS_NET_C)
670a8e1175bSopenharmony_ci    "NET_C", //no-check-names
671a8e1175bSopenharmony_ci#endif /* MBEDTLS_NET_C */
672a8e1175bSopenharmony_ci#if defined(MBEDTLS_OID_C)
673a8e1175bSopenharmony_ci    "OID_C", //no-check-names
674a8e1175bSopenharmony_ci#endif /* MBEDTLS_OID_C */
675a8e1175bSopenharmony_ci#if defined(MBEDTLS_PADLOCK_C)
676a8e1175bSopenharmony_ci    "PADLOCK_C", //no-check-names
677a8e1175bSopenharmony_ci#endif /* MBEDTLS_PADLOCK_C */
678a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_PARSE_C)
679a8e1175bSopenharmony_ci    "PEM_PARSE_C", //no-check-names
680a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_PARSE_C */
681a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_WRITE_C)
682a8e1175bSopenharmony_ci    "PEM_WRITE_C", //no-check-names
683a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_WRITE_C */
684a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_C)
685a8e1175bSopenharmony_ci    "PK_C", //no-check-names
686a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_C */
687a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_C)
688a8e1175bSopenharmony_ci    "PK_PARSE_C", //no-check-names
689a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_C */
690a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_WRITE_C)
691a8e1175bSopenharmony_ci    "PK_WRITE_C", //no-check-names
692a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_WRITE_C */
693a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS5_C)
694a8e1175bSopenharmony_ci    "PKCS5_C", //no-check-names
695a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS5_C */
696a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS7_C)
697a8e1175bSopenharmony_ci    "PKCS7_C", //no-check-names
698a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS7_C */
699a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS12_C)
700a8e1175bSopenharmony_ci    "PKCS12_C", //no-check-names
701a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS12_C */
702a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_C)
703a8e1175bSopenharmony_ci    "PLATFORM_C", //no-check-names
704a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_C */
705a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_C)
706a8e1175bSopenharmony_ci    "POLY1305_C", //no-check-names
707a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_C */
708a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_C)
709a8e1175bSopenharmony_ci    "PSA_CRYPTO_C", //no-check-names
710a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_C */
711a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
712a8e1175bSopenharmony_ci    "PSA_CRYPTO_SE_C", //no-check-names
713a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
714a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
715a8e1175bSopenharmony_ci    "PSA_CRYPTO_STORAGE_C", //no-check-names
716a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_STORAGE_C */
717a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ITS_FILE_C)
718a8e1175bSopenharmony_ci    "PSA_ITS_FILE_C", //no-check-names
719a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ITS_FILE_C */
720a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_C)
721a8e1175bSopenharmony_ci    "RIPEMD160_C", //no-check-names
722a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_C */
723a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_C)
724a8e1175bSopenharmony_ci    "RSA_C", //no-check-names
725a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_C */
726a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_C)
727a8e1175bSopenharmony_ci    "SHA1_C", //no-check-names
728a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_C */
729a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA224_C)
730a8e1175bSopenharmony_ci    "SHA224_C", //no-check-names
731a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA224_C */
732a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_C)
733a8e1175bSopenharmony_ci    "SHA256_C", //no-check-names
734a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_C */
735a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT)
736a8e1175bSopenharmony_ci    "SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT", //no-check-names
737a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT */
738a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT)
739a8e1175bSopenharmony_ci    "SHA256_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
740a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT */
741a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
742a8e1175bSopenharmony_ci    "SHA256_USE_ARMV8_A_CRYPTO_ONLY", //no-check-names
743a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
744a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
745a8e1175bSopenharmony_ci    "SHA256_USE_A64_CRYPTO_ONLY", //no-check-names
746a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY */
747a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA384_C)
748a8e1175bSopenharmony_ci    "SHA384_C", //no-check-names
749a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA384_C */
750a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_C)
751a8e1175bSopenharmony_ci    "SHA512_C", //no-check-names
752a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_C */
753a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA3_C)
754a8e1175bSopenharmony_ci    "SHA3_C", //no-check-names
755a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA3_C */
756a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT)
757a8e1175bSopenharmony_ci    "SHA512_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
758a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT */
759a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
760a8e1175bSopenharmony_ci    "SHA512_USE_A64_CRYPTO_ONLY", //no-check-names
761a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
762a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_C)
763a8e1175bSopenharmony_ci    "SSL_CACHE_C", //no-check-names
764a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_C */
765a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_COOKIE_C)
766a8e1175bSopenharmony_ci    "SSL_COOKIE_C", //no-check-names
767a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_COOKIE_C */
768a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TICKET_C)
769a8e1175bSopenharmony_ci    "SSL_TICKET_C", //no-check-names
770a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TICKET_C */
771a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CLI_C)
772a8e1175bSopenharmony_ci    "SSL_CLI_C", //no-check-names
773a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CLI_C */
774a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SRV_C)
775a8e1175bSopenharmony_ci    "SSL_SRV_C", //no-check-names
776a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SRV_C */
777a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS_C)
778a8e1175bSopenharmony_ci    "SSL_TLS_C", //no-check-names
779a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS_C */
780a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_C)
781a8e1175bSopenharmony_ci    "THREADING_C", //no-check-names
782a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_C */
783a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_C)
784a8e1175bSopenharmony_ci    "TIMING_C", //no-check-names
785a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_C */
786a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_C)
787a8e1175bSopenharmony_ci    "VERSION_C", //no-check-names
788a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_C */
789a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_USE_C)
790a8e1175bSopenharmony_ci    "X509_USE_C", //no-check-names
791a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_USE_C */
792a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_PARSE_C)
793a8e1175bSopenharmony_ci    "X509_CRT_PARSE_C", //no-check-names
794a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_PARSE_C */
795a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRL_PARSE_C)
796a8e1175bSopenharmony_ci    "X509_CRL_PARSE_C", //no-check-names
797a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRL_PARSE_C */
798a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_PARSE_C)
799a8e1175bSopenharmony_ci    "X509_CSR_PARSE_C", //no-check-names
800a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_PARSE_C */
801a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CREATE_C)
802a8e1175bSopenharmony_ci    "X509_CREATE_C", //no-check-names
803a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CREATE_C */
804a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_WRITE_C)
805a8e1175bSopenharmony_ci    "X509_CRT_WRITE_C", //no-check-names
806a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_WRITE_C */
807a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_WRITE_C)
808a8e1175bSopenharmony_ci    "X509_CSR_WRITE_C", //no-check-names
809a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_WRITE_C */
810a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_FEATURES */
811a8e1175bSopenharmony_ci    NULL
812a8e1175bSopenharmony_ci};
813a8e1175bSopenharmony_ci
814a8e1175bSopenharmony_ciint mbedtls_version_check_feature(const char *feature)
815a8e1175bSopenharmony_ci{
816a8e1175bSopenharmony_ci    const char * const *idx = features;
817a8e1175bSopenharmony_ci
818a8e1175bSopenharmony_ci    if (*idx == NULL) {
819a8e1175bSopenharmony_ci        return -2;
820a8e1175bSopenharmony_ci    }
821a8e1175bSopenharmony_ci
822a8e1175bSopenharmony_ci    if (feature == NULL) {
823a8e1175bSopenharmony_ci        return -1;
824a8e1175bSopenharmony_ci    }
825a8e1175bSopenharmony_ci
826a8e1175bSopenharmony_ci    if (strncmp(feature, "MBEDTLS_", 8)) {
827a8e1175bSopenharmony_ci        return -1;
828a8e1175bSopenharmony_ci    }
829a8e1175bSopenharmony_ci
830a8e1175bSopenharmony_ci    feature += 8;
831a8e1175bSopenharmony_ci
832a8e1175bSopenharmony_ci    while (*idx != NULL) {
833a8e1175bSopenharmony_ci        if (!strcmp(*idx, feature)) {
834a8e1175bSopenharmony_ci            return 0;
835a8e1175bSopenharmony_ci        }
836a8e1175bSopenharmony_ci        idx++;
837a8e1175bSopenharmony_ci    }
838a8e1175bSopenharmony_ci    return -1;
839a8e1175bSopenharmony_ci}
840a8e1175bSopenharmony_ci
841a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_C */
842