1a8e1175bSopenharmony_ci/*
2a8e1175bSopenharmony_ci *  Query Mbed TLS compile time configurations from mbedtls_config.h
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 "mbedtls/build_info.h"
9a8e1175bSopenharmony_ci
10a8e1175bSopenharmony_ci#include "query_config.h"
11a8e1175bSopenharmony_ci
12a8e1175bSopenharmony_ci#include "mbedtls/platform.h"
13a8e1175bSopenharmony_ci
14a8e1175bSopenharmony_ci/*
15a8e1175bSopenharmony_ci * Include all the headers with public APIs in case they define a macro to its
16a8e1175bSopenharmony_ci * default value when that configuration is not set in mbedtls_config.h, or
17a8e1175bSopenharmony_ci * for PSA_WANT macros, in case they're auto-defined based on mbedtls_config.h
18a8e1175bSopenharmony_ci * rather than defined directly in crypto_config.h.
19a8e1175bSopenharmony_ci */
20a8e1175bSopenharmony_ci#include "psa/crypto.h"
21a8e1175bSopenharmony_ci
22a8e1175bSopenharmony_ci#include "mbedtls/aes.h"
23a8e1175bSopenharmony_ci#include "mbedtls/aria.h"
24a8e1175bSopenharmony_ci#include "mbedtls/asn1.h"
25a8e1175bSopenharmony_ci#include "mbedtls/asn1write.h"
26a8e1175bSopenharmony_ci#include "mbedtls/base64.h"
27a8e1175bSopenharmony_ci#include "mbedtls/bignum.h"
28a8e1175bSopenharmony_ci#include "mbedtls/camellia.h"
29a8e1175bSopenharmony_ci#include "mbedtls/ccm.h"
30a8e1175bSopenharmony_ci#include "mbedtls/chacha20.h"
31a8e1175bSopenharmony_ci#include "mbedtls/chachapoly.h"
32a8e1175bSopenharmony_ci#include "mbedtls/cipher.h"
33a8e1175bSopenharmony_ci#include "mbedtls/cmac.h"
34a8e1175bSopenharmony_ci#include "mbedtls/ctr_drbg.h"
35a8e1175bSopenharmony_ci#include "mbedtls/debug.h"
36a8e1175bSopenharmony_ci#include "mbedtls/des.h"
37a8e1175bSopenharmony_ci#include "mbedtls/dhm.h"
38a8e1175bSopenharmony_ci#include "mbedtls/ecdh.h"
39a8e1175bSopenharmony_ci#include "mbedtls/ecdsa.h"
40a8e1175bSopenharmony_ci#include "mbedtls/ecjpake.h"
41a8e1175bSopenharmony_ci#include "mbedtls/ecp.h"
42a8e1175bSopenharmony_ci#include "mbedtls/entropy.h"
43a8e1175bSopenharmony_ci#include "mbedtls/error.h"
44a8e1175bSopenharmony_ci#include "mbedtls/gcm.h"
45a8e1175bSopenharmony_ci#include "mbedtls/hkdf.h"
46a8e1175bSopenharmony_ci#include "mbedtls/hmac_drbg.h"
47a8e1175bSopenharmony_ci#include "mbedtls/md.h"
48a8e1175bSopenharmony_ci#include "mbedtls/md5.h"
49a8e1175bSopenharmony_ci#include "mbedtls/memory_buffer_alloc.h"
50a8e1175bSopenharmony_ci#include "mbedtls/net_sockets.h"
51a8e1175bSopenharmony_ci#include "mbedtls/nist_kw.h"
52a8e1175bSopenharmony_ci#include "mbedtls/oid.h"
53a8e1175bSopenharmony_ci#include "mbedtls/pem.h"
54a8e1175bSopenharmony_ci#include "mbedtls/pk.h"
55a8e1175bSopenharmony_ci#include "mbedtls/pkcs12.h"
56a8e1175bSopenharmony_ci#include "mbedtls/pkcs5.h"
57a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME)
58a8e1175bSopenharmony_ci#include "mbedtls/platform_time.h"
59a8e1175bSopenharmony_ci#endif
60a8e1175bSopenharmony_ci#include "mbedtls/platform_util.h"
61a8e1175bSopenharmony_ci#include "mbedtls/poly1305.h"
62a8e1175bSopenharmony_ci#include "mbedtls/ripemd160.h"
63a8e1175bSopenharmony_ci#include "mbedtls/rsa.h"
64a8e1175bSopenharmony_ci#include "mbedtls/sha1.h"
65a8e1175bSopenharmony_ci#include "mbedtls/sha256.h"
66a8e1175bSopenharmony_ci#include "mbedtls/sha512.h"
67a8e1175bSopenharmony_ci#include "mbedtls/ssl.h"
68a8e1175bSopenharmony_ci#include "mbedtls/ssl_cache.h"
69a8e1175bSopenharmony_ci#include "mbedtls/ssl_ciphersuites.h"
70a8e1175bSopenharmony_ci#include "mbedtls/ssl_cookie.h"
71a8e1175bSopenharmony_ci#include "mbedtls/ssl_ticket.h"
72a8e1175bSopenharmony_ci#include "mbedtls/threading.h"
73a8e1175bSopenharmony_ci#include "mbedtls/timing.h"
74a8e1175bSopenharmony_ci#include "mbedtls/version.h"
75a8e1175bSopenharmony_ci#include "mbedtls/x509.h"
76a8e1175bSopenharmony_ci#include "mbedtls/x509_crl.h"
77a8e1175bSopenharmony_ci#include "mbedtls/x509_crt.h"
78a8e1175bSopenharmony_ci#include "mbedtls/x509_csr.h"
79a8e1175bSopenharmony_ci
80a8e1175bSopenharmony_ci#include <string.h>
81a8e1175bSopenharmony_ci
82a8e1175bSopenharmony_ci/*
83a8e1175bSopenharmony_ci * Helper macros to convert a macro or its expansion into a string
84a8e1175bSopenharmony_ci * WARNING: This does not work for expanding function-like macros. However,
85a8e1175bSopenharmony_ci * Mbed TLS does not currently have configuration options used in this fashion.
86a8e1175bSopenharmony_ci */
87a8e1175bSopenharmony_ci#define MACRO_EXPANSION_TO_STR(macro)   MACRO_NAME_TO_STR(macro)
88a8e1175bSopenharmony_ci#define MACRO_NAME_TO_STR(macro)                                        \
89a8e1175bSopenharmony_ci    mbedtls_printf("%s", strlen( #macro "") > 0 ? #macro "\n" : "")
90a8e1175bSopenharmony_ci
91a8e1175bSopenharmony_ci#define STRINGIFY(macro)  #macro
92a8e1175bSopenharmony_ci#define OUTPUT_MACRO_NAME_VALUE(macro) mbedtls_printf( #macro "%s\n",   \
93a8e1175bSopenharmony_ci                                                       (STRINGIFY(macro) "")[0] != 0 ? "=" STRINGIFY( \
94a8e1175bSopenharmony_ci                                                           macro) : "")
95a8e1175bSopenharmony_ci
96a8e1175bSopenharmony_ci#if defined(_MSC_VER)
97a8e1175bSopenharmony_ci/*
98a8e1175bSopenharmony_ci * Visual Studio throws the warning 4003 because many Mbed TLS feature macros
99a8e1175bSopenharmony_ci * are defined empty. This means that from the preprocessor's point of view
100a8e1175bSopenharmony_ci * the macro MBEDTLS_EXPANSION_TO_STR is being invoked without arguments as
101a8e1175bSopenharmony_ci * some macros expand to nothing. We suppress that specific warning to get a
102a8e1175bSopenharmony_ci * clean build and to ensure that tests treating warnings as errors do not
103a8e1175bSopenharmony_ci * fail.
104a8e1175bSopenharmony_ci */
105a8e1175bSopenharmony_ci#pragma warning(push)
106a8e1175bSopenharmony_ci#pragma warning(disable:4003)
107a8e1175bSopenharmony_ci#endif /* _MSC_VER */
108a8e1175bSopenharmony_ci
109a8e1175bSopenharmony_ciint query_config(const char *config)
110a8e1175bSopenharmony_ci{
111a8e1175bSopenharmony_ci    #if defined(MBEDTLS_CONFIG_VERSION)
112a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CONFIG_VERSION", config ) == 0 )
113a8e1175bSopenharmony_ci    {
114a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CONFIG_VERSION );
115a8e1175bSopenharmony_ci        return( 0 );
116a8e1175bSopenharmony_ci    }
117a8e1175bSopenharmony_ci#endif /* MBEDTLS_CONFIG_VERSION */
118a8e1175bSopenharmony_ci
119a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_ASM)
120a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HAVE_ASM", config ) == 0 )
121a8e1175bSopenharmony_ci    {
122a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HAVE_ASM );
123a8e1175bSopenharmony_ci        return( 0 );
124a8e1175bSopenharmony_ci    }
125a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_ASM */
126a8e1175bSopenharmony_ci
127a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_UDBL_DIVISION)
128a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NO_UDBL_DIVISION", config ) == 0 )
129a8e1175bSopenharmony_ci    {
130a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NO_UDBL_DIVISION );
131a8e1175bSopenharmony_ci        return( 0 );
132a8e1175bSopenharmony_ci    }
133a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_UDBL_DIVISION */
134a8e1175bSopenharmony_ci
135a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION)
136a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NO_64BIT_MULTIPLICATION", config ) == 0 )
137a8e1175bSopenharmony_ci    {
138a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NO_64BIT_MULTIPLICATION );
139a8e1175bSopenharmony_ci        return( 0 );
140a8e1175bSopenharmony_ci    }
141a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_64BIT_MULTIPLICATION */
142a8e1175bSopenharmony_ci
143a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_SSE2)
144a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HAVE_SSE2", config ) == 0 )
145a8e1175bSopenharmony_ci    {
146a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HAVE_SSE2 );
147a8e1175bSopenharmony_ci        return( 0 );
148a8e1175bSopenharmony_ci    }
149a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_SSE2 */
150a8e1175bSopenharmony_ci
151a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME)
152a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HAVE_TIME", config ) == 0 )
153a8e1175bSopenharmony_ci    {
154a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HAVE_TIME );
155a8e1175bSopenharmony_ci        return( 0 );
156a8e1175bSopenharmony_ci    }
157a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME */
158a8e1175bSopenharmony_ci
159a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME_DATE)
160a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HAVE_TIME_DATE", config ) == 0 )
161a8e1175bSopenharmony_ci    {
162a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HAVE_TIME_DATE );
163a8e1175bSopenharmony_ci        return( 0 );
164a8e1175bSopenharmony_ci    }
165a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME_DATE */
166a8e1175bSopenharmony_ci
167a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MEMORY)
168a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_MEMORY", config ) == 0 )
169a8e1175bSopenharmony_ci    {
170a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_MEMORY );
171a8e1175bSopenharmony_ci        return( 0 );
172a8e1175bSopenharmony_ci    }
173a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MEMORY */
174a8e1175bSopenharmony_ci
175a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
176a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_NO_STD_FUNCTIONS", config ) == 0 )
177a8e1175bSopenharmony_ci    {
178a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_NO_STD_FUNCTIONS );
179a8e1175bSopenharmony_ci        return( 0 );
180a8e1175bSopenharmony_ci    }
181a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
182a8e1175bSopenharmony_ci
183a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETBUF_ALT)
184a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_SETBUF_ALT", config ) == 0 )
185a8e1175bSopenharmony_ci    {
186a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_SETBUF_ALT );
187a8e1175bSopenharmony_ci        return( 0 );
188a8e1175bSopenharmony_ci    }
189a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETBUF_ALT */
190a8e1175bSopenharmony_ci
191a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_EXIT_ALT)
192a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_EXIT_ALT", config ) == 0 )
193a8e1175bSopenharmony_ci    {
194a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_EXIT_ALT );
195a8e1175bSopenharmony_ci        return( 0 );
196a8e1175bSopenharmony_ci    }
197a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_EXIT_ALT */
198a8e1175bSopenharmony_ci
199a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_ALT)
200a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_TIME_ALT", config ) == 0 )
201a8e1175bSopenharmony_ci    {
202a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_TIME_ALT );
203a8e1175bSopenharmony_ci        return( 0 );
204a8e1175bSopenharmony_ci    }
205a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_ALT */
206a8e1175bSopenharmony_ci
207a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
208a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_FPRINTF_ALT", config ) == 0 )
209a8e1175bSopenharmony_ci    {
210a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_FPRINTF_ALT );
211a8e1175bSopenharmony_ci        return( 0 );
212a8e1175bSopenharmony_ci    }
213a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
214a8e1175bSopenharmony_ci
215a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
216a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_PRINTF_ALT", config ) == 0 )
217a8e1175bSopenharmony_ci    {
218a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_PRINTF_ALT );
219a8e1175bSopenharmony_ci        return( 0 );
220a8e1175bSopenharmony_ci    }
221a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
222a8e1175bSopenharmony_ci
223a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
224a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_SNPRINTF_ALT", config ) == 0 )
225a8e1175bSopenharmony_ci    {
226a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_SNPRINTF_ALT );
227a8e1175bSopenharmony_ci        return( 0 );
228a8e1175bSopenharmony_ci    }
229a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
230a8e1175bSopenharmony_ci
231a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
232a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_VSNPRINTF_ALT", config ) == 0 )
233a8e1175bSopenharmony_ci    {
234a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_VSNPRINTF_ALT );
235a8e1175bSopenharmony_ci        return( 0 );
236a8e1175bSopenharmony_ci    }
237a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
238a8e1175bSopenharmony_ci
239a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
240a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_ALT", config ) == 0 )
241a8e1175bSopenharmony_ci    {
242a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_NV_SEED_ALT );
243a8e1175bSopenharmony_ci        return( 0 );
244a8e1175bSopenharmony_ci    }
245a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
246a8e1175bSopenharmony_ci
247a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
248a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT", config ) == 0 )
249a8e1175bSopenharmony_ci    {
250a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT );
251a8e1175bSopenharmony_ci        return( 0 );
252a8e1175bSopenharmony_ci    }
253a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
254a8e1175bSopenharmony_ci
255a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT)
256a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_MS_TIME_ALT", config ) == 0 )
257a8e1175bSopenharmony_ci    {
258a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_MS_TIME_ALT );
259a8e1175bSopenharmony_ci        return( 0 );
260a8e1175bSopenharmony_ci    }
261a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MS_TIME_ALT */
262a8e1175bSopenharmony_ci
263a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
264a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_GMTIME_R_ALT", config ) == 0 )
265a8e1175bSopenharmony_ci    {
266a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_GMTIME_R_ALT );
267a8e1175bSopenharmony_ci        return( 0 );
268a8e1175bSopenharmony_ci    }
269a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
270a8e1175bSopenharmony_ci
271a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT)
272a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_ZEROIZE_ALT", config ) == 0 )
273a8e1175bSopenharmony_ci    {
274a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_ZEROIZE_ALT );
275a8e1175bSopenharmony_ci        return( 0 );
276a8e1175bSopenharmony_ci    }
277a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
278a8e1175bSopenharmony_ci
279a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_WARNING)
280a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DEPRECATED_WARNING", config ) == 0 )
281a8e1175bSopenharmony_ci    {
282a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DEPRECATED_WARNING );
283a8e1175bSopenharmony_ci        return( 0 );
284a8e1175bSopenharmony_ci    }
285a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_WARNING */
286a8e1175bSopenharmony_ci
287a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_REMOVED)
288a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DEPRECATED_REMOVED", config ) == 0 )
289a8e1175bSopenharmony_ci    {
290a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DEPRECATED_REMOVED );
291a8e1175bSopenharmony_ci        return( 0 );
292a8e1175bSopenharmony_ci    }
293a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_REMOVED */
294a8e1175bSopenharmony_ci
295a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_ALT)
296a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_TIMING_ALT", config ) == 0 )
297a8e1175bSopenharmony_ci    {
298a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_TIMING_ALT );
299a8e1175bSopenharmony_ci        return( 0 );
300a8e1175bSopenharmony_ci    }
301a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_ALT */
302a8e1175bSopenharmony_ci
303a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ALT)
304a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_ALT", config ) == 0 )
305a8e1175bSopenharmony_ci    {
306a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_ALT );
307a8e1175bSopenharmony_ci        return( 0 );
308a8e1175bSopenharmony_ci    }
309a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ALT */
310a8e1175bSopenharmony_ci
311a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_ALT)
312a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ARIA_ALT", config ) == 0 )
313a8e1175bSopenharmony_ci    {
314a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ARIA_ALT );
315a8e1175bSopenharmony_ci        return( 0 );
316a8e1175bSopenharmony_ci    }
317a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_ALT */
318a8e1175bSopenharmony_ci
319a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_ALT)
320a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CAMELLIA_ALT", config ) == 0 )
321a8e1175bSopenharmony_ci    {
322a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CAMELLIA_ALT );
323a8e1175bSopenharmony_ci        return( 0 );
324a8e1175bSopenharmony_ci    }
325a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_ALT */
326a8e1175bSopenharmony_ci
327a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_ALT)
328a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CCM_ALT", config ) == 0 )
329a8e1175bSopenharmony_ci    {
330a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CCM_ALT );
331a8e1175bSopenharmony_ci        return( 0 );
332a8e1175bSopenharmony_ci    }
333a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_ALT */
334a8e1175bSopenharmony_ci
335a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_ALT)
336a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHACHA20_ALT", config ) == 0 )
337a8e1175bSopenharmony_ci    {
338a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHACHA20_ALT );
339a8e1175bSopenharmony_ci        return( 0 );
340a8e1175bSopenharmony_ci    }
341a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_ALT */
342a8e1175bSopenharmony_ci
343a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_ALT)
344a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHACHAPOLY_ALT", config ) == 0 )
345a8e1175bSopenharmony_ci    {
346a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHACHAPOLY_ALT );
347a8e1175bSopenharmony_ci        return( 0 );
348a8e1175bSopenharmony_ci    }
349a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_ALT */
350a8e1175bSopenharmony_ci
351a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_ALT)
352a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CMAC_ALT", config ) == 0 )
353a8e1175bSopenharmony_ci    {
354a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CMAC_ALT );
355a8e1175bSopenharmony_ci        return( 0 );
356a8e1175bSopenharmony_ci    }
357a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_ALT */
358a8e1175bSopenharmony_ci
359a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_ALT)
360a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DES_ALT", config ) == 0 )
361a8e1175bSopenharmony_ci    {
362a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DES_ALT );
363a8e1175bSopenharmony_ci        return( 0 );
364a8e1175bSopenharmony_ci    }
365a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_ALT */
366a8e1175bSopenharmony_ci
367a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_ALT)
368a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DHM_ALT", config ) == 0 )
369a8e1175bSopenharmony_ci    {
370a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DHM_ALT );
371a8e1175bSopenharmony_ci        return( 0 );
372a8e1175bSopenharmony_ci    }
373a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_ALT */
374a8e1175bSopenharmony_ci
375a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_ALT)
376a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECJPAKE_ALT", config ) == 0 )
377a8e1175bSopenharmony_ci    {
378a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECJPAKE_ALT );
379a8e1175bSopenharmony_ci        return( 0 );
380a8e1175bSopenharmony_ci    }
381a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_ALT */
382a8e1175bSopenharmony_ci
383a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_ALT)
384a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_GCM_ALT", config ) == 0 )
385a8e1175bSopenharmony_ci    {
386a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_GCM_ALT );
387a8e1175bSopenharmony_ci        return( 0 );
388a8e1175bSopenharmony_ci    }
389a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_ALT */
390a8e1175bSopenharmony_ci
391a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_ALT)
392a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NIST_KW_ALT", config ) == 0 )
393a8e1175bSopenharmony_ci    {
394a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NIST_KW_ALT );
395a8e1175bSopenharmony_ci        return( 0 );
396a8e1175bSopenharmony_ci    }
397a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_ALT */
398a8e1175bSopenharmony_ci
399a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_ALT)
400a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MD5_ALT", config ) == 0 )
401a8e1175bSopenharmony_ci    {
402a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MD5_ALT );
403a8e1175bSopenharmony_ci        return( 0 );
404a8e1175bSopenharmony_ci    }
405a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_ALT */
406a8e1175bSopenharmony_ci
407a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_ALT)
408a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_POLY1305_ALT", config ) == 0 )
409a8e1175bSopenharmony_ci    {
410a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_POLY1305_ALT );
411a8e1175bSopenharmony_ci        return( 0 );
412a8e1175bSopenharmony_ci    }
413a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_ALT */
414a8e1175bSopenharmony_ci
415a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_ALT)
416a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RIPEMD160_ALT", config ) == 0 )
417a8e1175bSopenharmony_ci    {
418a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RIPEMD160_ALT );
419a8e1175bSopenharmony_ci        return( 0 );
420a8e1175bSopenharmony_ci    }
421a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_ALT */
422a8e1175bSopenharmony_ci
423a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_ALT)
424a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RSA_ALT", config ) == 0 )
425a8e1175bSopenharmony_ci    {
426a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RSA_ALT );
427a8e1175bSopenharmony_ci        return( 0 );
428a8e1175bSopenharmony_ci    }
429a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_ALT */
430a8e1175bSopenharmony_ci
431a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_ALT)
432a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA1_ALT", config ) == 0 )
433a8e1175bSopenharmony_ci    {
434a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA1_ALT );
435a8e1175bSopenharmony_ci        return( 0 );
436a8e1175bSopenharmony_ci    }
437a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_ALT */
438a8e1175bSopenharmony_ci
439a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_ALT)
440a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_ALT", config ) == 0 )
441a8e1175bSopenharmony_ci    {
442a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_ALT );
443a8e1175bSopenharmony_ci        return( 0 );
444a8e1175bSopenharmony_ci    }
445a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_ALT */
446a8e1175bSopenharmony_ci
447a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_ALT)
448a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_ALT", config ) == 0 )
449a8e1175bSopenharmony_ci    {
450a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_ALT );
451a8e1175bSopenharmony_ci        return( 0 );
452a8e1175bSopenharmony_ci    }
453a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_ALT */
454a8e1175bSopenharmony_ci
455a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ALT)
456a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_ALT", config ) == 0 )
457a8e1175bSopenharmony_ci    {
458a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_ALT );
459a8e1175bSopenharmony_ci        return( 0 );
460a8e1175bSopenharmony_ci    }
461a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ALT */
462a8e1175bSopenharmony_ci
463a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_PROCESS_ALT)
464a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MD5_PROCESS_ALT", config ) == 0 )
465a8e1175bSopenharmony_ci    {
466a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MD5_PROCESS_ALT );
467a8e1175bSopenharmony_ci        return( 0 );
468a8e1175bSopenharmony_ci    }
469a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_PROCESS_ALT */
470a8e1175bSopenharmony_ci
471a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
472a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RIPEMD160_PROCESS_ALT", config ) == 0 )
473a8e1175bSopenharmony_ci    {
474a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RIPEMD160_PROCESS_ALT );
475a8e1175bSopenharmony_ci        return( 0 );
476a8e1175bSopenharmony_ci    }
477a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
478a8e1175bSopenharmony_ci
479a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_PROCESS_ALT)
480a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA1_PROCESS_ALT", config ) == 0 )
481a8e1175bSopenharmony_ci    {
482a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA1_PROCESS_ALT );
483a8e1175bSopenharmony_ci        return( 0 );
484a8e1175bSopenharmony_ci    }
485a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_PROCESS_ALT */
486a8e1175bSopenharmony_ci
487a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_PROCESS_ALT)
488a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_PROCESS_ALT", config ) == 0 )
489a8e1175bSopenharmony_ci    {
490a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_PROCESS_ALT );
491a8e1175bSopenharmony_ci        return( 0 );
492a8e1175bSopenharmony_ci    }
493a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_PROCESS_ALT */
494a8e1175bSopenharmony_ci
495a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_PROCESS_ALT)
496a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_PROCESS_ALT", config ) == 0 )
497a8e1175bSopenharmony_ci    {
498a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_PROCESS_ALT );
499a8e1175bSopenharmony_ci        return( 0 );
500a8e1175bSopenharmony_ci    }
501a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_PROCESS_ALT */
502a8e1175bSopenharmony_ci
503a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_SETKEY_ALT)
504a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DES_SETKEY_ALT", config ) == 0 )
505a8e1175bSopenharmony_ci    {
506a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DES_SETKEY_ALT );
507a8e1175bSopenharmony_ci        return( 0 );
508a8e1175bSopenharmony_ci    }
509a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_SETKEY_ALT */
510a8e1175bSopenharmony_ci
511a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
512a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DES_CRYPT_ECB_ALT", config ) == 0 )
513a8e1175bSopenharmony_ci    {
514a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DES_CRYPT_ECB_ALT );
515a8e1175bSopenharmony_ci        return( 0 );
516a8e1175bSopenharmony_ci    }
517a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
518a8e1175bSopenharmony_ci
519a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
520a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DES3_CRYPT_ECB_ALT", config ) == 0 )
521a8e1175bSopenharmony_ci    {
522a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DES3_CRYPT_ECB_ALT );
523a8e1175bSopenharmony_ci        return( 0 );
524a8e1175bSopenharmony_ci    }
525a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
526a8e1175bSopenharmony_ci
527a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
528a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_SETKEY_ENC_ALT", config ) == 0 )
529a8e1175bSopenharmony_ci    {
530a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_SETKEY_ENC_ALT );
531a8e1175bSopenharmony_ci        return( 0 );
532a8e1175bSopenharmony_ci    }
533a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
534a8e1175bSopenharmony_ci
535a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
536a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_SETKEY_DEC_ALT", config ) == 0 )
537a8e1175bSopenharmony_ci    {
538a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_SETKEY_DEC_ALT );
539a8e1175bSopenharmony_ci        return( 0 );
540a8e1175bSopenharmony_ci    }
541a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
542a8e1175bSopenharmony_ci
543a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ENCRYPT_ALT)
544a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_ENCRYPT_ALT", config ) == 0 )
545a8e1175bSopenharmony_ci    {
546a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_ENCRYPT_ALT );
547a8e1175bSopenharmony_ci        return( 0 );
548a8e1175bSopenharmony_ci    }
549a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ENCRYPT_ALT */
550a8e1175bSopenharmony_ci
551a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_DECRYPT_ALT)
552a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_DECRYPT_ALT", config ) == 0 )
553a8e1175bSopenharmony_ci    {
554a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_DECRYPT_ALT );
555a8e1175bSopenharmony_ci        return( 0 );
556a8e1175bSopenharmony_ci    }
557a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_DECRYPT_ALT */
558a8e1175bSopenharmony_ci
559a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
560a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDH_GEN_PUBLIC_ALT", config ) == 0 )
561a8e1175bSopenharmony_ci    {
562a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDH_GEN_PUBLIC_ALT );
563a8e1175bSopenharmony_ci        return( 0 );
564a8e1175bSopenharmony_ci    }
565a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_GEN_PUBLIC_ALT */
566a8e1175bSopenharmony_ci
567a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT)
568a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDH_COMPUTE_SHARED_ALT", config ) == 0 )
569a8e1175bSopenharmony_ci    {
570a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDH_COMPUTE_SHARED_ALT );
571a8e1175bSopenharmony_ci        return( 0 );
572a8e1175bSopenharmony_ci    }
573a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_COMPUTE_SHARED_ALT */
574a8e1175bSopenharmony_ci
575a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_VERIFY_ALT)
576a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDSA_VERIFY_ALT", config ) == 0 )
577a8e1175bSopenharmony_ci    {
578a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDSA_VERIFY_ALT );
579a8e1175bSopenharmony_ci        return( 0 );
580a8e1175bSopenharmony_ci    }
581a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_VERIFY_ALT */
582a8e1175bSopenharmony_ci
583a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_SIGN_ALT)
584a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDSA_SIGN_ALT", config ) == 0 )
585a8e1175bSopenharmony_ci    {
586a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDSA_SIGN_ALT );
587a8e1175bSopenharmony_ci        return( 0 );
588a8e1175bSopenharmony_ci    }
589a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_SIGN_ALT */
590a8e1175bSopenharmony_ci
591a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_GENKEY_ALT)
592a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDSA_GENKEY_ALT", config ) == 0 )
593a8e1175bSopenharmony_ci    {
594a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDSA_GENKEY_ALT );
595a8e1175bSopenharmony_ci        return( 0 );
596a8e1175bSopenharmony_ci    }
597a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
598a8e1175bSopenharmony_ci
599a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_INTERNAL_ALT)
600a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_INTERNAL_ALT", config ) == 0 )
601a8e1175bSopenharmony_ci    {
602a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_INTERNAL_ALT );
603a8e1175bSopenharmony_ci        return( 0 );
604a8e1175bSopenharmony_ci    }
605a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_INTERNAL_ALT */
606a8e1175bSopenharmony_ci
607a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NO_FALLBACK)
608a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_NO_FALLBACK", config ) == 0 )
609a8e1175bSopenharmony_ci    {
610a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_NO_FALLBACK );
611a8e1175bSopenharmony_ci        return( 0 );
612a8e1175bSopenharmony_ci    }
613a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NO_FALLBACK */
614a8e1175bSopenharmony_ci
615a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT)
616a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_RANDOMIZE_JAC_ALT", config ) == 0 )
617a8e1175bSopenharmony_ci    {
618a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_RANDOMIZE_JAC_ALT );
619a8e1175bSopenharmony_ci        return( 0 );
620a8e1175bSopenharmony_ci    }
621a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_JAC_ALT */
622a8e1175bSopenharmony_ci
623a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ADD_MIXED_ALT)
624a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_ADD_MIXED_ALT", config ) == 0 )
625a8e1175bSopenharmony_ci    {
626a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_ADD_MIXED_ALT );
627a8e1175bSopenharmony_ci        return( 0 );
628a8e1175bSopenharmony_ci    }
629a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ADD_MIXED_ALT */
630a8e1175bSopenharmony_ci
631a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT)
632a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DOUBLE_JAC_ALT", config ) == 0 )
633a8e1175bSopenharmony_ci    {
634a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DOUBLE_JAC_ALT );
635a8e1175bSopenharmony_ci        return( 0 );
636a8e1175bSopenharmony_ci    }
637a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_JAC_ALT */
638a8e1175bSopenharmony_ci
639a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT)
640a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT", config ) == 0 )
641a8e1175bSopenharmony_ci    {
642a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT );
643a8e1175bSopenharmony_ci        return( 0 );
644a8e1175bSopenharmony_ci    }
645a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT */
646a8e1175bSopenharmony_ci
647a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT)
648a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_NORMALIZE_JAC_ALT", config ) == 0 )
649a8e1175bSopenharmony_ci    {
650a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_NORMALIZE_JAC_ALT );
651a8e1175bSopenharmony_ci        return( 0 );
652a8e1175bSopenharmony_ci    }
653a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_ALT */
654a8e1175bSopenharmony_ci
655a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT)
656a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT", config ) == 0 )
657a8e1175bSopenharmony_ci    {
658a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT );
659a8e1175bSopenharmony_ci        return( 0 );
660a8e1175bSopenharmony_ci    }
661a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT */
662a8e1175bSopenharmony_ci
663a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
664a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_RANDOMIZE_MXZ_ALT", config ) == 0 )
665a8e1175bSopenharmony_ci    {
666a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_RANDOMIZE_MXZ_ALT );
667a8e1175bSopenharmony_ci        return( 0 );
668a8e1175bSopenharmony_ci    }
669a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
670a8e1175bSopenharmony_ci
671a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT)
672a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_NORMALIZE_MXZ_ALT", config ) == 0 )
673a8e1175bSopenharmony_ci    {
674a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_NORMALIZE_MXZ_ALT );
675a8e1175bSopenharmony_ci        return( 0 );
676a8e1175bSopenharmony_ci    }
677a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_MXZ_ALT */
678a8e1175bSopenharmony_ci
679a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
680a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_HARDWARE_ALT", config ) == 0 )
681a8e1175bSopenharmony_ci    {
682a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_HARDWARE_ALT );
683a8e1175bSopenharmony_ci        return( 0 );
684a8e1175bSopenharmony_ci    }
685a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
686a8e1175bSopenharmony_ci
687a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ROM_TABLES)
688a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_ROM_TABLES", config ) == 0 )
689a8e1175bSopenharmony_ci    {
690a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_ROM_TABLES );
691a8e1175bSopenharmony_ci        return( 0 );
692a8e1175bSopenharmony_ci    }
693a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ROM_TABLES */
694a8e1175bSopenharmony_ci
695a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_FEWER_TABLES)
696a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_FEWER_TABLES", config ) == 0 )
697a8e1175bSopenharmony_ci    {
698a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_FEWER_TABLES );
699a8e1175bSopenharmony_ci        return( 0 );
700a8e1175bSopenharmony_ci    }
701a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_FEWER_TABLES */
702a8e1175bSopenharmony_ci
703a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)
704a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH", config ) == 0 )
705a8e1175bSopenharmony_ci    {
706a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH );
707a8e1175bSopenharmony_ci        return( 0 );
708a8e1175bSopenharmony_ci    }
709a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH */
710a8e1175bSopenharmony_ci
711a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
712a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_USE_HARDWARE_ONLY", config ) == 0 )
713a8e1175bSopenharmony_ci    {
714a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_USE_HARDWARE_ONLY );
715a8e1175bSopenharmony_ci        return( 0 );
716a8e1175bSopenharmony_ci    }
717a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_USE_HARDWARE_ONLY */
718a8e1175bSopenharmony_ci
719a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
720a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CAMELLIA_SMALL_MEMORY", config ) == 0 )
721a8e1175bSopenharmony_ci    {
722a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CAMELLIA_SMALL_MEMORY );
723a8e1175bSopenharmony_ci        return( 0 );
724a8e1175bSopenharmony_ci    }
725a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
726a8e1175bSopenharmony_ci
727a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHECK_RETURN_WARNING)
728a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHECK_RETURN_WARNING", config ) == 0 )
729a8e1175bSopenharmony_ci    {
730a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHECK_RETURN_WARNING );
731a8e1175bSopenharmony_ci        return( 0 );
732a8e1175bSopenharmony_ci    }
733a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHECK_RETURN_WARNING */
734a8e1175bSopenharmony_ci
735a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CBC)
736a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_MODE_CBC", config ) == 0 )
737a8e1175bSopenharmony_ci    {
738a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_MODE_CBC );
739a8e1175bSopenharmony_ci        return( 0 );
740a8e1175bSopenharmony_ci    }
741a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CBC */
742a8e1175bSopenharmony_ci
743a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CFB)
744a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_MODE_CFB", config ) == 0 )
745a8e1175bSopenharmony_ci    {
746a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_MODE_CFB );
747a8e1175bSopenharmony_ci        return( 0 );
748a8e1175bSopenharmony_ci    }
749a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CFB */
750a8e1175bSopenharmony_ci
751a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CTR)
752a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_MODE_CTR", config ) == 0 )
753a8e1175bSopenharmony_ci    {
754a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_MODE_CTR );
755a8e1175bSopenharmony_ci        return( 0 );
756a8e1175bSopenharmony_ci    }
757a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CTR */
758a8e1175bSopenharmony_ci
759a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_OFB)
760a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_MODE_OFB", config ) == 0 )
761a8e1175bSopenharmony_ci    {
762a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_MODE_OFB );
763a8e1175bSopenharmony_ci        return( 0 );
764a8e1175bSopenharmony_ci    }
765a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_OFB */
766a8e1175bSopenharmony_ci
767a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_XTS)
768a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_MODE_XTS", config ) == 0 )
769a8e1175bSopenharmony_ci    {
770a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_MODE_XTS );
771a8e1175bSopenharmony_ci        return( 0 );
772a8e1175bSopenharmony_ci    }
773a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_XTS */
774a8e1175bSopenharmony_ci
775a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_NULL_CIPHER)
776a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_NULL_CIPHER", config ) == 0 )
777a8e1175bSopenharmony_ci    {
778a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_NULL_CIPHER );
779a8e1175bSopenharmony_ci        return( 0 );
780a8e1175bSopenharmony_ci    }
781a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_NULL_CIPHER */
782a8e1175bSopenharmony_ci
783a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
784a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_PADDING_PKCS7", config ) == 0 )
785a8e1175bSopenharmony_ci    {
786a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_PADDING_PKCS7 );
787a8e1175bSopenharmony_ci        return( 0 );
788a8e1175bSopenharmony_ci    }
789a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
790a8e1175bSopenharmony_ci
791a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
792a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS", config ) == 0 )
793a8e1175bSopenharmony_ci    {
794a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS );
795a8e1175bSopenharmony_ci        return( 0 );
796a8e1175bSopenharmony_ci    }
797a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
798a8e1175bSopenharmony_ci
799a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
800a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN", config ) == 0 )
801a8e1175bSopenharmony_ci    {
802a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN );
803a8e1175bSopenharmony_ci        return( 0 );
804a8e1175bSopenharmony_ci    }
805a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
806a8e1175bSopenharmony_ci
807a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
808a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_PADDING_ZEROS", config ) == 0 )
809a8e1175bSopenharmony_ci    {
810a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_PADDING_ZEROS );
811a8e1175bSopenharmony_ci        return( 0 );
812a8e1175bSopenharmony_ci    }
813a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
814a8e1175bSopenharmony_ci
815a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
816a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_USE_128_BIT_KEY", config ) == 0 )
817a8e1175bSopenharmony_ci    {
818a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_USE_128_BIT_KEY );
819a8e1175bSopenharmony_ci        return( 0 );
820a8e1175bSopenharmony_ci    }
821a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
822a8e1175bSopenharmony_ci
823a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
824a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED", config ) == 0 )
825a8e1175bSopenharmony_ci    {
826a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED );
827a8e1175bSopenharmony_ci        return( 0 );
828a8e1175bSopenharmony_ci    }
829a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
830a8e1175bSopenharmony_ci
831a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
832a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP192R1_ENABLED", config ) == 0 )
833a8e1175bSopenharmony_ci    {
834a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP192R1_ENABLED );
835a8e1175bSopenharmony_ci        return( 0 );
836a8e1175bSopenharmony_ci    }
837a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
838a8e1175bSopenharmony_ci
839a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
840a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP224R1_ENABLED", config ) == 0 )
841a8e1175bSopenharmony_ci    {
842a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP224R1_ENABLED );
843a8e1175bSopenharmony_ci        return( 0 );
844a8e1175bSopenharmony_ci    }
845a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
846a8e1175bSopenharmony_ci
847a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
848a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP256R1_ENABLED", config ) == 0 )
849a8e1175bSopenharmony_ci    {
850a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP256R1_ENABLED );
851a8e1175bSopenharmony_ci        return( 0 );
852a8e1175bSopenharmony_ci    }
853a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
854a8e1175bSopenharmony_ci
855a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
856a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP384R1_ENABLED", config ) == 0 )
857a8e1175bSopenharmony_ci    {
858a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP384R1_ENABLED );
859a8e1175bSopenharmony_ci        return( 0 );
860a8e1175bSopenharmony_ci    }
861a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
862a8e1175bSopenharmony_ci
863a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
864a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP521R1_ENABLED", config ) == 0 )
865a8e1175bSopenharmony_ci    {
866a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP521R1_ENABLED );
867a8e1175bSopenharmony_ci        return( 0 );
868a8e1175bSopenharmony_ci    }
869a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
870a8e1175bSopenharmony_ci
871a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
872a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP192K1_ENABLED", config ) == 0 )
873a8e1175bSopenharmony_ci    {
874a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP192K1_ENABLED );
875a8e1175bSopenharmony_ci        return( 0 );
876a8e1175bSopenharmony_ci    }
877a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
878a8e1175bSopenharmony_ci
879a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
880a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP224K1_ENABLED", config ) == 0 )
881a8e1175bSopenharmony_ci    {
882a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP224K1_ENABLED );
883a8e1175bSopenharmony_ci        return( 0 );
884a8e1175bSopenharmony_ci    }
885a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
886a8e1175bSopenharmony_ci
887a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
888a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_SECP256K1_ENABLED", config ) == 0 )
889a8e1175bSopenharmony_ci    {
890a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_SECP256K1_ENABLED );
891a8e1175bSopenharmony_ci        return( 0 );
892a8e1175bSopenharmony_ci    }
893a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
894a8e1175bSopenharmony_ci
895a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
896a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_BP256R1_ENABLED", config ) == 0 )
897a8e1175bSopenharmony_ci    {
898a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_BP256R1_ENABLED );
899a8e1175bSopenharmony_ci        return( 0 );
900a8e1175bSopenharmony_ci    }
901a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
902a8e1175bSopenharmony_ci
903a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
904a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_BP384R1_ENABLED", config ) == 0 )
905a8e1175bSopenharmony_ci    {
906a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_BP384R1_ENABLED );
907a8e1175bSopenharmony_ci        return( 0 );
908a8e1175bSopenharmony_ci    }
909a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
910a8e1175bSopenharmony_ci
911a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
912a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_BP512R1_ENABLED", config ) == 0 )
913a8e1175bSopenharmony_ci    {
914a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_BP512R1_ENABLED );
915a8e1175bSopenharmony_ci        return( 0 );
916a8e1175bSopenharmony_ci    }
917a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
918a8e1175bSopenharmony_ci
919a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
920a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_CURVE25519_ENABLED", config ) == 0 )
921a8e1175bSopenharmony_ci    {
922a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_CURVE25519_ENABLED );
923a8e1175bSopenharmony_ci        return( 0 );
924a8e1175bSopenharmony_ci    }
925a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
926a8e1175bSopenharmony_ci
927a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
928a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_DP_CURVE448_ENABLED", config ) == 0 )
929a8e1175bSopenharmony_ci    {
930a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_DP_CURVE448_ENABLED );
931a8e1175bSopenharmony_ci        return( 0 );
932a8e1175bSopenharmony_ci    }
933a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
934a8e1175bSopenharmony_ci
935a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NIST_OPTIM)
936a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_NIST_OPTIM", config ) == 0 )
937a8e1175bSopenharmony_ci    {
938a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_NIST_OPTIM );
939a8e1175bSopenharmony_ci        return( 0 );
940a8e1175bSopenharmony_ci    }
941a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NIST_OPTIM */
942a8e1175bSopenharmony_ci
943a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RESTARTABLE)
944a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_RESTARTABLE", config ) == 0 )
945a8e1175bSopenharmony_ci    {
946a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_RESTARTABLE );
947a8e1175bSopenharmony_ci        return( 0 );
948a8e1175bSopenharmony_ci    }
949a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RESTARTABLE */
950a8e1175bSopenharmony_ci
951a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
952a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_WITH_MPI_UINT", config ) == 0 )
953a8e1175bSopenharmony_ci    {
954a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_WITH_MPI_UINT );
955a8e1175bSopenharmony_ci        return( 0 );
956a8e1175bSopenharmony_ci    }
957a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_WITH_MPI_UINT */
958a8e1175bSopenharmony_ci
959a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
960a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDSA_DETERMINISTIC", config ) == 0 )
961a8e1175bSopenharmony_ci    {
962a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDSA_DETERMINISTIC );
963a8e1175bSopenharmony_ci        return( 0 );
964a8e1175bSopenharmony_ci    }
965a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_DETERMINISTIC */
966a8e1175bSopenharmony_ci
967a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
968a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_PSK_ENABLED", config ) == 0 )
969a8e1175bSopenharmony_ci    {
970a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_PSK_ENABLED );
971a8e1175bSopenharmony_ci        return( 0 );
972a8e1175bSopenharmony_ci    }
973a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
974a8e1175bSopenharmony_ci
975a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
976a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED", config ) == 0 )
977a8e1175bSopenharmony_ci    {
978a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED );
979a8e1175bSopenharmony_ci        return( 0 );
980a8e1175bSopenharmony_ci    }
981a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
982a8e1175bSopenharmony_ci
983a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
984a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED", config ) == 0 )
985a8e1175bSopenharmony_ci    {
986a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED );
987a8e1175bSopenharmony_ci        return( 0 );
988a8e1175bSopenharmony_ci    }
989a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
990a8e1175bSopenharmony_ci
991a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
992a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED", config ) == 0 )
993a8e1175bSopenharmony_ci    {
994a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED );
995a8e1175bSopenharmony_ci        return( 0 );
996a8e1175bSopenharmony_ci    }
997a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
998a8e1175bSopenharmony_ci
999a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
1000a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_RSA_ENABLED", config ) == 0 )
1001a8e1175bSopenharmony_ci    {
1002a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_RSA_ENABLED );
1003a8e1175bSopenharmony_ci        return( 0 );
1004a8e1175bSopenharmony_ci    }
1005a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
1006a8e1175bSopenharmony_ci
1007a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
1008a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED", config ) == 0 )
1009a8e1175bSopenharmony_ci    {
1010a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED );
1011a8e1175bSopenharmony_ci        return( 0 );
1012a8e1175bSopenharmony_ci    }
1013a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
1014a8e1175bSopenharmony_ci
1015a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
1016a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED", config ) == 0 )
1017a8e1175bSopenharmony_ci    {
1018a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED );
1019a8e1175bSopenharmony_ci        return( 0 );
1020a8e1175bSopenharmony_ci    }
1021a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
1022a8e1175bSopenharmony_ci
1023a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
1024a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED", config ) == 0 )
1025a8e1175bSopenharmony_ci    {
1026a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED );
1027a8e1175bSopenharmony_ci        return( 0 );
1028a8e1175bSopenharmony_ci    }
1029a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
1030a8e1175bSopenharmony_ci
1031a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
1032a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED", config ) == 0 )
1033a8e1175bSopenharmony_ci    {
1034a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED );
1035a8e1175bSopenharmony_ci        return( 0 );
1036a8e1175bSopenharmony_ci    }
1037a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
1038a8e1175bSopenharmony_ci
1039a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
1040a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED", config ) == 0 )
1041a8e1175bSopenharmony_ci    {
1042a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED );
1043a8e1175bSopenharmony_ci        return( 0 );
1044a8e1175bSopenharmony_ci    }
1045a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
1046a8e1175bSopenharmony_ci
1047a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
1048a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED", config ) == 0 )
1049a8e1175bSopenharmony_ci    {
1050a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED );
1051a8e1175bSopenharmony_ci        return( 0 );
1052a8e1175bSopenharmony_ci    }
1053a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
1054a8e1175bSopenharmony_ci
1055a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
1056a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_PARSE_EC_EXTENDED", config ) == 0 )
1057a8e1175bSopenharmony_ci    {
1058a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_PARSE_EC_EXTENDED );
1059a8e1175bSopenharmony_ci        return( 0 );
1060a8e1175bSopenharmony_ci    }
1061a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
1062a8e1175bSopenharmony_ci
1063a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED)
1064a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_PARSE_EC_COMPRESSED", config ) == 0 )
1065a8e1175bSopenharmony_ci    {
1066a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_PARSE_EC_COMPRESSED );
1067a8e1175bSopenharmony_ci        return( 0 );
1068a8e1175bSopenharmony_ci    }
1069a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_COMPRESSED */
1070a8e1175bSopenharmony_ci
1071a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
1072a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ERROR_STRERROR_DUMMY", config ) == 0 )
1073a8e1175bSopenharmony_ci    {
1074a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ERROR_STRERROR_DUMMY );
1075a8e1175bSopenharmony_ci        return( 0 );
1076a8e1175bSopenharmony_ci    }
1077a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
1078a8e1175bSopenharmony_ci
1079a8e1175bSopenharmony_ci#if defined(MBEDTLS_GENPRIME)
1080a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_GENPRIME", config ) == 0 )
1081a8e1175bSopenharmony_ci    {
1082a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_GENPRIME );
1083a8e1175bSopenharmony_ci        return( 0 );
1084a8e1175bSopenharmony_ci    }
1085a8e1175bSopenharmony_ci#endif /* MBEDTLS_GENPRIME */
1086a8e1175bSopenharmony_ci
1087a8e1175bSopenharmony_ci#if defined(MBEDTLS_FS_IO)
1088a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_FS_IO", config ) == 0 )
1089a8e1175bSopenharmony_ci    {
1090a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_FS_IO );
1091a8e1175bSopenharmony_ci        return( 0 );
1092a8e1175bSopenharmony_ci    }
1093a8e1175bSopenharmony_ci#endif /* MBEDTLS_FS_IO */
1094a8e1175bSopenharmony_ci
1095a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
1096a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES", config ) == 0 )
1097a8e1175bSopenharmony_ci    {
1098a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES );
1099a8e1175bSopenharmony_ci        return( 0 );
1100a8e1175bSopenharmony_ci    }
1101a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
1102a8e1175bSopenharmony_ci
1103a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
1104a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NO_PLATFORM_ENTROPY", config ) == 0 )
1105a8e1175bSopenharmony_ci    {
1106a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NO_PLATFORM_ENTROPY );
1107a8e1175bSopenharmony_ci        return( 0 );
1108a8e1175bSopenharmony_ci    }
1109a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
1110a8e1175bSopenharmony_ci
1111a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
1112a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_FORCE_SHA256", config ) == 0 )
1113a8e1175bSopenharmony_ci    {
1114a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_FORCE_SHA256 );
1115a8e1175bSopenharmony_ci        return( 0 );
1116a8e1175bSopenharmony_ci    }
1117a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
1118a8e1175bSopenharmony_ci
1119a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_NV_SEED)
1120a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_NV_SEED", config ) == 0 )
1121a8e1175bSopenharmony_ci    {
1122a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_NV_SEED );
1123a8e1175bSopenharmony_ci        return( 0 );
1124a8e1175bSopenharmony_ci    }
1125a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_NV_SEED */
1126a8e1175bSopenharmony_ci
1127a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
1128a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER", config ) == 0 )
1129a8e1175bSopenharmony_ci    {
1130a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER );
1131a8e1175bSopenharmony_ci        return( 0 );
1132a8e1175bSopenharmony_ci    }
1133a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
1134a8e1175bSopenharmony_ci
1135a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_DEBUG)
1136a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MEMORY_DEBUG", config ) == 0 )
1137a8e1175bSopenharmony_ci    {
1138a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_DEBUG );
1139a8e1175bSopenharmony_ci        return( 0 );
1140a8e1175bSopenharmony_ci    }
1141a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_DEBUG */
1142a8e1175bSopenharmony_ci
1143a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BACKTRACE)
1144a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MEMORY_BACKTRACE", config ) == 0 )
1145a8e1175bSopenharmony_ci    {
1146a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_BACKTRACE );
1147a8e1175bSopenharmony_ci        return( 0 );
1148a8e1175bSopenharmony_ci    }
1149a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BACKTRACE */
1150a8e1175bSopenharmony_ci
1151a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
1152a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_RSA_ALT_SUPPORT", config ) == 0 )
1153a8e1175bSopenharmony_ci    {
1154a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_RSA_ALT_SUPPORT );
1155a8e1175bSopenharmony_ci        return( 0 );
1156a8e1175bSopenharmony_ci    }
1157a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
1158a8e1175bSopenharmony_ci
1159a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V15)
1160a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PKCS1_V15", config ) == 0 )
1161a8e1175bSopenharmony_ci    {
1162a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PKCS1_V15 );
1163a8e1175bSopenharmony_ci        return( 0 );
1164a8e1175bSopenharmony_ci    }
1165a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V15 */
1166a8e1175bSopenharmony_ci
1167a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V21)
1168a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PKCS1_V21", config ) == 0 )
1169a8e1175bSopenharmony_ci    {
1170a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PKCS1_V21 );
1171a8e1175bSopenharmony_ci        return( 0 );
1172a8e1175bSopenharmony_ci    }
1173a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V21 */
1174a8e1175bSopenharmony_ci
1175a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
1176a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS", config ) == 0 )
1177a8e1175bSopenharmony_ci    {
1178a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS );
1179a8e1175bSopenharmony_ci        return( 0 );
1180a8e1175bSopenharmony_ci    }
1181a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
1182a8e1175bSopenharmony_ci
1183a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
1184a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_CLIENT", config ) == 0 )
1185a8e1175bSopenharmony_ci    {
1186a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_CLIENT );
1187a8e1175bSopenharmony_ci        return( 0 );
1188a8e1175bSopenharmony_ci    }
1189a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
1190a8e1175bSopenharmony_ci
1191a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
1192a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG", config ) == 0 )
1193a8e1175bSopenharmony_ci    {
1194a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG );
1195a8e1175bSopenharmony_ci        return( 0 );
1196a8e1175bSopenharmony_ci    }
1197a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */
1198a8e1175bSopenharmony_ci
1199a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SPM)
1200a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_SPM", config ) == 0 )
1201a8e1175bSopenharmony_ci    {
1202a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_SPM );
1203a8e1175bSopenharmony_ci        return( 0 );
1204a8e1175bSopenharmony_ci    }
1205a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SPM */
1206a8e1175bSopenharmony_ci
1207a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
1208a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_P256M_DRIVER_ENABLED", config ) == 0 )
1209a8e1175bSopenharmony_ci    {
1210a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_P256M_DRIVER_ENABLED );
1211a8e1175bSopenharmony_ci        return( 0 );
1212a8e1175bSopenharmony_ci    }
1213a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_P256M_DRIVER_ENABLED */
1214a8e1175bSopenharmony_ci
1215a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_INJECT_ENTROPY)
1216a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_INJECT_ENTROPY", config ) == 0 )
1217a8e1175bSopenharmony_ci    {
1218a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_INJECT_ENTROPY );
1219a8e1175bSopenharmony_ci        return( 0 );
1220a8e1175bSopenharmony_ci    }
1221a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_INJECT_ENTROPY */
1222a8e1175bSopenharmony_ci
1223a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)
1224a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS", config ) == 0 )
1225a8e1175bSopenharmony_ci    {
1226a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS );
1227a8e1175bSopenharmony_ci        return( 0 );
1228a8e1175bSopenharmony_ci    }
1229a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS */
1230a8e1175bSopenharmony_ci
1231a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_NO_CRT)
1232a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RSA_NO_CRT", config ) == 0 )
1233a8e1175bSopenharmony_ci    {
1234a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RSA_NO_CRT );
1235a8e1175bSopenharmony_ci        return( 0 );
1236a8e1175bSopenharmony_ci    }
1237a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_NO_CRT */
1238a8e1175bSopenharmony_ci
1239a8e1175bSopenharmony_ci#if defined(MBEDTLS_SELF_TEST)
1240a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SELF_TEST", config ) == 0 )
1241a8e1175bSopenharmony_ci    {
1242a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SELF_TEST );
1243a8e1175bSopenharmony_ci        return( 0 );
1244a8e1175bSopenharmony_ci    }
1245a8e1175bSopenharmony_ci#endif /* MBEDTLS_SELF_TEST */
1246a8e1175bSopenharmony_ci
1247a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_SMALLER)
1248a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_SMALLER", config ) == 0 )
1249a8e1175bSopenharmony_ci    {
1250a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_SMALLER );
1251a8e1175bSopenharmony_ci        return( 0 );
1252a8e1175bSopenharmony_ci    }
1253a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_SMALLER */
1254a8e1175bSopenharmony_ci
1255a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_SMALLER)
1256a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_SMALLER", config ) == 0 )
1257a8e1175bSopenharmony_ci    {
1258a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_SMALLER );
1259a8e1175bSopenharmony_ci        return( 0 );
1260a8e1175bSopenharmony_ci    }
1261a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_SMALLER */
1262a8e1175bSopenharmony_ci
1263a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
1264a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_ALL_ALERT_MESSAGES", config ) == 0 )
1265a8e1175bSopenharmony_ci    {
1266a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_ALL_ALERT_MESSAGES );
1267a8e1175bSopenharmony_ci        return( 0 );
1268a8e1175bSopenharmony_ci    }
1269a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
1270a8e1175bSopenharmony_ci
1271a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
1272a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_CONNECTION_ID", config ) == 0 )
1273a8e1175bSopenharmony_ci    {
1274a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_CONNECTION_ID );
1275a8e1175bSopenharmony_ci        return( 0 );
1276a8e1175bSopenharmony_ci    }
1277a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
1278a8e1175bSopenharmony_ci
1279a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT)
1280a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT", config ) == 0 )
1281a8e1175bSopenharmony_ci    {
1282a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT );
1283a8e1175bSopenharmony_ci        return( 0 );
1284a8e1175bSopenharmony_ci    }
1285a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT */
1286a8e1175bSopenharmony_ci
1287a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
1288a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_ASYNC_PRIVATE", config ) == 0 )
1289a8e1175bSopenharmony_ci    {
1290a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_ASYNC_PRIVATE );
1291a8e1175bSopenharmony_ci        return( 0 );
1292a8e1175bSopenharmony_ci    }
1293a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
1294a8e1175bSopenharmony_ci
1295a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
1296a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CONTEXT_SERIALIZATION", config ) == 0 )
1297a8e1175bSopenharmony_ci    {
1298a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONTEXT_SERIALIZATION );
1299a8e1175bSopenharmony_ci        return( 0 );
1300a8e1175bSopenharmony_ci    }
1301a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CONTEXT_SERIALIZATION */
1302a8e1175bSopenharmony_ci
1303a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DEBUG_ALL)
1304a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DEBUG_ALL", config ) == 0 )
1305a8e1175bSopenharmony_ci    {
1306a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DEBUG_ALL );
1307a8e1175bSopenharmony_ci        return( 0 );
1308a8e1175bSopenharmony_ci    }
1309a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DEBUG_ALL */
1310a8e1175bSopenharmony_ci
1311a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
1312a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_ENCRYPT_THEN_MAC", config ) == 0 )
1313a8e1175bSopenharmony_ci    {
1314a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_ENCRYPT_THEN_MAC );
1315a8e1175bSopenharmony_ci        return( 0 );
1316a8e1175bSopenharmony_ci    }
1317a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
1318a8e1175bSopenharmony_ci
1319a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
1320a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_EXTENDED_MASTER_SECRET", config ) == 0 )
1321a8e1175bSopenharmony_ci    {
1322a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_EXTENDED_MASTER_SECRET );
1323a8e1175bSopenharmony_ci        return( 0 );
1324a8e1175bSopenharmony_ci    }
1325a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
1326a8e1175bSopenharmony_ci
1327a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
1328a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_KEEP_PEER_CERTIFICATE", config ) == 0 )
1329a8e1175bSopenharmony_ci    {
1330a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_KEEP_PEER_CERTIFICATE );
1331a8e1175bSopenharmony_ci        return( 0 );
1332a8e1175bSopenharmony_ci    }
1333a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
1334a8e1175bSopenharmony_ci
1335a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RENEGOTIATION)
1336a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_RENEGOTIATION", config ) == 0 )
1337a8e1175bSopenharmony_ci    {
1338a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_RENEGOTIATION );
1339a8e1175bSopenharmony_ci        return( 0 );
1340a8e1175bSopenharmony_ci    }
1341a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RENEGOTIATION */
1342a8e1175bSopenharmony_ci
1343a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
1344a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_MAX_FRAGMENT_LENGTH", config ) == 0 )
1345a8e1175bSopenharmony_ci    {
1346a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_MAX_FRAGMENT_LENGTH );
1347a8e1175bSopenharmony_ci        return( 0 );
1348a8e1175bSopenharmony_ci    }
1349a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
1350a8e1175bSopenharmony_ci
1351a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
1352a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_RECORD_SIZE_LIMIT", config ) == 0 )
1353a8e1175bSopenharmony_ci    {
1354a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_RECORD_SIZE_LIMIT );
1355a8e1175bSopenharmony_ci        return( 0 );
1356a8e1175bSopenharmony_ci    }
1357a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
1358a8e1175bSopenharmony_ci
1359a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_2)
1360a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_PROTO_TLS1_2", config ) == 0 )
1361a8e1175bSopenharmony_ci    {
1362a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_PROTO_TLS1_2 );
1363a8e1175bSopenharmony_ci        return( 0 );
1364a8e1175bSopenharmony_ci    }
1365a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
1366a8e1175bSopenharmony_ci
1367a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
1368a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_PROTO_TLS1_3", config ) == 0 )
1369a8e1175bSopenharmony_ci    {
1370a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_PROTO_TLS1_3 );
1371a8e1175bSopenharmony_ci        return( 0 );
1372a8e1175bSopenharmony_ci    }
1373a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
1374a8e1175bSopenharmony_ci
1375a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
1376a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE", config ) == 0 )
1377a8e1175bSopenharmony_ci    {
1378a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE );
1379a8e1175bSopenharmony_ci        return( 0 );
1380a8e1175bSopenharmony_ci    }
1381a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
1382a8e1175bSopenharmony_ci
1383a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED)
1384a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED", config ) == 0 )
1385a8e1175bSopenharmony_ci    {
1386a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED );
1387a8e1175bSopenharmony_ci        return( 0 );
1388a8e1175bSopenharmony_ci    }
1389a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED */
1390a8e1175bSopenharmony_ci
1391a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED)
1392a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED", config ) == 0 )
1393a8e1175bSopenharmony_ci    {
1394a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED );
1395a8e1175bSopenharmony_ci        return( 0 );
1396a8e1175bSopenharmony_ci    }
1397a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED */
1398a8e1175bSopenharmony_ci
1399a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED)
1400a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED", config ) == 0 )
1401a8e1175bSopenharmony_ci    {
1402a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED );
1403a8e1175bSopenharmony_ci        return( 0 );
1404a8e1175bSopenharmony_ci    }
1405a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED */
1406a8e1175bSopenharmony_ci
1407a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EARLY_DATA)
1408a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_EARLY_DATA", config ) == 0 )
1409a8e1175bSopenharmony_ci    {
1410a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_EARLY_DATA );
1411a8e1175bSopenharmony_ci        return( 0 );
1412a8e1175bSopenharmony_ci    }
1413a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EARLY_DATA */
1414a8e1175bSopenharmony_ci
1415a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_DTLS)
1416a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_PROTO_DTLS", config ) == 0 )
1417a8e1175bSopenharmony_ci    {
1418a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_PROTO_DTLS );
1419a8e1175bSopenharmony_ci        return( 0 );
1420a8e1175bSopenharmony_ci    }
1421a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_DTLS */
1422a8e1175bSopenharmony_ci
1423a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALPN)
1424a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_ALPN", config ) == 0 )
1425a8e1175bSopenharmony_ci    {
1426a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_ALPN );
1427a8e1175bSopenharmony_ci        return( 0 );
1428a8e1175bSopenharmony_ci    }
1429a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALPN */
1430a8e1175bSopenharmony_ci
1431a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
1432a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_ANTI_REPLAY", config ) == 0 )
1433a8e1175bSopenharmony_ci    {
1434a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_ANTI_REPLAY );
1435a8e1175bSopenharmony_ci        return( 0 );
1436a8e1175bSopenharmony_ci    }
1437a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
1438a8e1175bSopenharmony_ci
1439a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
1440a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_HELLO_VERIFY", config ) == 0 )
1441a8e1175bSopenharmony_ci    {
1442a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_HELLO_VERIFY );
1443a8e1175bSopenharmony_ci        return( 0 );
1444a8e1175bSopenharmony_ci    }
1445a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
1446a8e1175bSopenharmony_ci
1447a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_SRTP)
1448a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_SRTP", config ) == 0 )
1449a8e1175bSopenharmony_ci    {
1450a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_SRTP );
1451a8e1175bSopenharmony_ci        return( 0 );
1452a8e1175bSopenharmony_ci    }
1453a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_SRTP */
1454a8e1175bSopenharmony_ci
1455a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
1456a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE", config ) == 0 )
1457a8e1175bSopenharmony_ci    {
1458a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE );
1459a8e1175bSopenharmony_ci        return( 0 );
1460a8e1175bSopenharmony_ci    }
1461a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
1462a8e1175bSopenharmony_ci
1463a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SESSION_TICKETS)
1464a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_SESSION_TICKETS", config ) == 0 )
1465a8e1175bSopenharmony_ci    {
1466a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_SESSION_TICKETS );
1467a8e1175bSopenharmony_ci        return( 0 );
1468a8e1175bSopenharmony_ci    }
1469a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SESSION_TICKETS */
1470a8e1175bSopenharmony_ci
1471a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
1472a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_SERVER_NAME_INDICATION", config ) == 0 )
1473a8e1175bSopenharmony_ci    {
1474a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_SERVER_NAME_INDICATION );
1475a8e1175bSopenharmony_ci        return( 0 );
1476a8e1175bSopenharmony_ci    }
1477a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
1478a8e1175bSopenharmony_ci
1479a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH)
1480a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH", config ) == 0 )
1481a8e1175bSopenharmony_ci    {
1482a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH );
1483a8e1175bSopenharmony_ci        return( 0 );
1484a8e1175bSopenharmony_ci    }
1485a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH */
1486a8e1175bSopenharmony_ci
1487a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN)
1488a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN", config ) == 0 )
1489a8e1175bSopenharmony_ci    {
1490a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN );
1491a8e1175bSopenharmony_ci        return( 0 );
1492a8e1175bSopenharmony_ci    }
1493a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN */
1494a8e1175bSopenharmony_ci
1495a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND)
1496a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND", config ) == 0 )
1497a8e1175bSopenharmony_ci    {
1498a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND );
1499a8e1175bSopenharmony_ci        return( 0 );
1500a8e1175bSopenharmony_ci    }
1501a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND */
1502a8e1175bSopenharmony_ci
1503a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_HOOKS)
1504a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_TEST_HOOKS", config ) == 0 )
1505a8e1175bSopenharmony_ci    {
1506a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_TEST_HOOKS );
1507a8e1175bSopenharmony_ci        return( 0 );
1508a8e1175bSopenharmony_ci    }
1509a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_HOOKS */
1510a8e1175bSopenharmony_ci
1511a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_ALT)
1512a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_THREADING_ALT", config ) == 0 )
1513a8e1175bSopenharmony_ci    {
1514a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_THREADING_ALT );
1515a8e1175bSopenharmony_ci        return( 0 );
1516a8e1175bSopenharmony_ci    }
1517a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_ALT */
1518a8e1175bSopenharmony_ci
1519a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_PTHREAD)
1520a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_THREADING_PTHREAD", config ) == 0 )
1521a8e1175bSopenharmony_ci    {
1522a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_THREADING_PTHREAD );
1523a8e1175bSopenharmony_ci        return( 0 );
1524a8e1175bSopenharmony_ci    }
1525a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_PTHREAD */
1526a8e1175bSopenharmony_ci
1527a8e1175bSopenharmony_ci#if defined(MBEDTLS_USE_PSA_CRYPTO)
1528a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_USE_PSA_CRYPTO", config ) == 0 )
1529a8e1175bSopenharmony_ci    {
1530a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_USE_PSA_CRYPTO );
1531a8e1175bSopenharmony_ci        return( 0 );
1532a8e1175bSopenharmony_ci    }
1533a8e1175bSopenharmony_ci#endif /* MBEDTLS_USE_PSA_CRYPTO */
1534a8e1175bSopenharmony_ci
1535a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
1536a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_CONFIG", config ) == 0 )
1537a8e1175bSopenharmony_ci    {
1538a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_CONFIG );
1539a8e1175bSopenharmony_ci        return( 0 );
1540a8e1175bSopenharmony_ci    }
1541a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
1542a8e1175bSopenharmony_ci
1543a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_FEATURES)
1544a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_VERSION_FEATURES", config ) == 0 )
1545a8e1175bSopenharmony_ci    {
1546a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_VERSION_FEATURES );
1547a8e1175bSopenharmony_ci        return( 0 );
1548a8e1175bSopenharmony_ci    }
1549a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_FEATURES */
1550a8e1175bSopenharmony_ci
1551a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK)
1552a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK", config ) == 0 )
1553a8e1175bSopenharmony_ci    {
1554a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK );
1555a8e1175bSopenharmony_ci        return( 0 );
1556a8e1175bSopenharmony_ci    }
1557a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK */
1558a8e1175bSopenharmony_ci
1559a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_REMOVE_INFO)
1560a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_REMOVE_INFO", config ) == 0 )
1561a8e1175bSopenharmony_ci    {
1562a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_REMOVE_INFO );
1563a8e1175bSopenharmony_ci        return( 0 );
1564a8e1175bSopenharmony_ci    }
1565a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_REMOVE_INFO */
1566a8e1175bSopenharmony_ci
1567a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
1568a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_RSASSA_PSS_SUPPORT", config ) == 0 )
1569a8e1175bSopenharmony_ci    {
1570a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_RSASSA_PSS_SUPPORT );
1571a8e1175bSopenharmony_ci        return( 0 );
1572a8e1175bSopenharmony_ci    }
1573a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
1574a8e1175bSopenharmony_ci
1575a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESNI_C)
1576a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AESNI_C", config ) == 0 )
1577a8e1175bSopenharmony_ci    {
1578a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AESNI_C );
1579a8e1175bSopenharmony_ci        return( 0 );
1580a8e1175bSopenharmony_ci    }
1581a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESNI_C */
1582a8e1175bSopenharmony_ci
1583a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESCE_C)
1584a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AESCE_C", config ) == 0 )
1585a8e1175bSopenharmony_ci    {
1586a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AESCE_C );
1587a8e1175bSopenharmony_ci        return( 0 );
1588a8e1175bSopenharmony_ci    }
1589a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESCE_C */
1590a8e1175bSopenharmony_ci
1591a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_C)
1592a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_AES_C", config ) == 0 )
1593a8e1175bSopenharmony_ci    {
1594a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_AES_C );
1595a8e1175bSopenharmony_ci        return( 0 );
1596a8e1175bSopenharmony_ci    }
1597a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_C */
1598a8e1175bSopenharmony_ci
1599a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_PARSE_C)
1600a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ASN1_PARSE_C", config ) == 0 )
1601a8e1175bSopenharmony_ci    {
1602a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ASN1_PARSE_C );
1603a8e1175bSopenharmony_ci        return( 0 );
1604a8e1175bSopenharmony_ci    }
1605a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_PARSE_C */
1606a8e1175bSopenharmony_ci
1607a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_WRITE_C)
1608a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ASN1_WRITE_C", config ) == 0 )
1609a8e1175bSopenharmony_ci    {
1610a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ASN1_WRITE_C );
1611a8e1175bSopenharmony_ci        return( 0 );
1612a8e1175bSopenharmony_ci    }
1613a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_WRITE_C */
1614a8e1175bSopenharmony_ci
1615a8e1175bSopenharmony_ci#if defined(MBEDTLS_BASE64_C)
1616a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_BASE64_C", config ) == 0 )
1617a8e1175bSopenharmony_ci    {
1618a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_BASE64_C );
1619a8e1175bSopenharmony_ci        return( 0 );
1620a8e1175bSopenharmony_ci    }
1621a8e1175bSopenharmony_ci#endif /* MBEDTLS_BASE64_C */
1622a8e1175bSopenharmony_ci
1623a8e1175bSopenharmony_ci#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
1624a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_BLOCK_CIPHER_NO_DECRYPT", config ) == 0 )
1625a8e1175bSopenharmony_ci    {
1626a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_BLOCK_CIPHER_NO_DECRYPT );
1627a8e1175bSopenharmony_ci        return( 0 );
1628a8e1175bSopenharmony_ci    }
1629a8e1175bSopenharmony_ci#endif /* MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */
1630a8e1175bSopenharmony_ci
1631a8e1175bSopenharmony_ci#if defined(MBEDTLS_BIGNUM_C)
1632a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_BIGNUM_C", config ) == 0 )
1633a8e1175bSopenharmony_ci    {
1634a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_BIGNUM_C );
1635a8e1175bSopenharmony_ci        return( 0 );
1636a8e1175bSopenharmony_ci    }
1637a8e1175bSopenharmony_ci#endif /* MBEDTLS_BIGNUM_C */
1638a8e1175bSopenharmony_ci
1639a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_C)
1640a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CAMELLIA_C", config ) == 0 )
1641a8e1175bSopenharmony_ci    {
1642a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CAMELLIA_C );
1643a8e1175bSopenharmony_ci        return( 0 );
1644a8e1175bSopenharmony_ci    }
1645a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_C */
1646a8e1175bSopenharmony_ci
1647a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_C)
1648a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ARIA_C", config ) == 0 )
1649a8e1175bSopenharmony_ci    {
1650a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ARIA_C );
1651a8e1175bSopenharmony_ci        return( 0 );
1652a8e1175bSopenharmony_ci    }
1653a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_C */
1654a8e1175bSopenharmony_ci
1655a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_C)
1656a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CCM_C", config ) == 0 )
1657a8e1175bSopenharmony_ci    {
1658a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CCM_C );
1659a8e1175bSopenharmony_ci        return( 0 );
1660a8e1175bSopenharmony_ci    }
1661a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_C */
1662a8e1175bSopenharmony_ci
1663a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_C)
1664a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHACHA20_C", config ) == 0 )
1665a8e1175bSopenharmony_ci    {
1666a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHACHA20_C );
1667a8e1175bSopenharmony_ci        return( 0 );
1668a8e1175bSopenharmony_ci    }
1669a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_C */
1670a8e1175bSopenharmony_ci
1671a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_C)
1672a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHACHAPOLY_C", config ) == 0 )
1673a8e1175bSopenharmony_ci    {
1674a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHACHAPOLY_C );
1675a8e1175bSopenharmony_ci        return( 0 );
1676a8e1175bSopenharmony_ci    }
1677a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_C */
1678a8e1175bSopenharmony_ci
1679a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_C)
1680a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CIPHER_C", config ) == 0 )
1681a8e1175bSopenharmony_ci    {
1682a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CIPHER_C );
1683a8e1175bSopenharmony_ci        return( 0 );
1684a8e1175bSopenharmony_ci    }
1685a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_C */
1686a8e1175bSopenharmony_ci
1687a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_C)
1688a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CMAC_C", config ) == 0 )
1689a8e1175bSopenharmony_ci    {
1690a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CMAC_C );
1691a8e1175bSopenharmony_ci        return( 0 );
1692a8e1175bSopenharmony_ci    }
1693a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_C */
1694a8e1175bSopenharmony_ci
1695a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_C)
1696a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_C", config ) == 0 )
1697a8e1175bSopenharmony_ci    {
1698a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_C );
1699a8e1175bSopenharmony_ci        return( 0 );
1700a8e1175bSopenharmony_ci    }
1701a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_C */
1702a8e1175bSopenharmony_ci
1703a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEBUG_C)
1704a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DEBUG_C", config ) == 0 )
1705a8e1175bSopenharmony_ci    {
1706a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DEBUG_C );
1707a8e1175bSopenharmony_ci        return( 0 );
1708a8e1175bSopenharmony_ci    }
1709a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEBUG_C */
1710a8e1175bSopenharmony_ci
1711a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_C)
1712a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DES_C", config ) == 0 )
1713a8e1175bSopenharmony_ci    {
1714a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DES_C );
1715a8e1175bSopenharmony_ci        return( 0 );
1716a8e1175bSopenharmony_ci    }
1717a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_C */
1718a8e1175bSopenharmony_ci
1719a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_C)
1720a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_DHM_C", config ) == 0 )
1721a8e1175bSopenharmony_ci    {
1722a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_DHM_C );
1723a8e1175bSopenharmony_ci        return( 0 );
1724a8e1175bSopenharmony_ci    }
1725a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_C */
1726a8e1175bSopenharmony_ci
1727a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_C)
1728a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDH_C", config ) == 0 )
1729a8e1175bSopenharmony_ci    {
1730a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDH_C );
1731a8e1175bSopenharmony_ci        return( 0 );
1732a8e1175bSopenharmony_ci    }
1733a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_C */
1734a8e1175bSopenharmony_ci
1735a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_C)
1736a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECDSA_C", config ) == 0 )
1737a8e1175bSopenharmony_ci    {
1738a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECDSA_C );
1739a8e1175bSopenharmony_ci        return( 0 );
1740a8e1175bSopenharmony_ci    }
1741a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_C */
1742a8e1175bSopenharmony_ci
1743a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_C)
1744a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECJPAKE_C", config ) == 0 )
1745a8e1175bSopenharmony_ci    {
1746a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECJPAKE_C );
1747a8e1175bSopenharmony_ci        return( 0 );
1748a8e1175bSopenharmony_ci    }
1749a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_C */
1750a8e1175bSopenharmony_ci
1751a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_C)
1752a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_C", config ) == 0 )
1753a8e1175bSopenharmony_ci    {
1754a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_C );
1755a8e1175bSopenharmony_ci        return( 0 );
1756a8e1175bSopenharmony_ci    }
1757a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_C */
1758a8e1175bSopenharmony_ci
1759a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_C)
1760a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_C", config ) == 0 )
1761a8e1175bSopenharmony_ci    {
1762a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_C );
1763a8e1175bSopenharmony_ci        return( 0 );
1764a8e1175bSopenharmony_ci    }
1765a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_C */
1766a8e1175bSopenharmony_ci
1767a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_C)
1768a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ERROR_C", config ) == 0 )
1769a8e1175bSopenharmony_ci    {
1770a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ERROR_C );
1771a8e1175bSopenharmony_ci        return( 0 );
1772a8e1175bSopenharmony_ci    }
1773a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_C */
1774a8e1175bSopenharmony_ci
1775a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_C)
1776a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_GCM_C", config ) == 0 )
1777a8e1175bSopenharmony_ci    {
1778a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_GCM_C );
1779a8e1175bSopenharmony_ci        return( 0 );
1780a8e1175bSopenharmony_ci    }
1781a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_C */
1782a8e1175bSopenharmony_ci
1783a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_LARGE_TABLE)
1784a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_GCM_LARGE_TABLE", config ) == 0 )
1785a8e1175bSopenharmony_ci    {
1786a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_GCM_LARGE_TABLE );
1787a8e1175bSopenharmony_ci        return( 0 );
1788a8e1175bSopenharmony_ci    }
1789a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_LARGE_TABLE */
1790a8e1175bSopenharmony_ci
1791a8e1175bSopenharmony_ci#if defined(MBEDTLS_HKDF_C)
1792a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HKDF_C", config ) == 0 )
1793a8e1175bSopenharmony_ci    {
1794a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HKDF_C );
1795a8e1175bSopenharmony_ci        return( 0 );
1796a8e1175bSopenharmony_ci    }
1797a8e1175bSopenharmony_ci#endif /* MBEDTLS_HKDF_C */
1798a8e1175bSopenharmony_ci
1799a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_C)
1800a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HMAC_DRBG_C", config ) == 0 )
1801a8e1175bSopenharmony_ci    {
1802a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HMAC_DRBG_C );
1803a8e1175bSopenharmony_ci        return( 0 );
1804a8e1175bSopenharmony_ci    }
1805a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_C */
1806a8e1175bSopenharmony_ci
1807a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_C)
1808a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_LMS_C", config ) == 0 )
1809a8e1175bSopenharmony_ci    {
1810a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_LMS_C );
1811a8e1175bSopenharmony_ci        return( 0 );
1812a8e1175bSopenharmony_ci    }
1813a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_C */
1814a8e1175bSopenharmony_ci
1815a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_PRIVATE)
1816a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_LMS_PRIVATE", config ) == 0 )
1817a8e1175bSopenharmony_ci    {
1818a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_LMS_PRIVATE );
1819a8e1175bSopenharmony_ci        return( 0 );
1820a8e1175bSopenharmony_ci    }
1821a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_PRIVATE */
1822a8e1175bSopenharmony_ci
1823a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_C)
1824a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NIST_KW_C", config ) == 0 )
1825a8e1175bSopenharmony_ci    {
1826a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NIST_KW_C );
1827a8e1175bSopenharmony_ci        return( 0 );
1828a8e1175bSopenharmony_ci    }
1829a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_C */
1830a8e1175bSopenharmony_ci
1831a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD_C)
1832a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MD_C", config ) == 0 )
1833a8e1175bSopenharmony_ci    {
1834a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MD_C );
1835a8e1175bSopenharmony_ci        return( 0 );
1836a8e1175bSopenharmony_ci    }
1837a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD_C */
1838a8e1175bSopenharmony_ci
1839a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_C)
1840a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MD5_C", config ) == 0 )
1841a8e1175bSopenharmony_ci    {
1842a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MD5_C );
1843a8e1175bSopenharmony_ci        return( 0 );
1844a8e1175bSopenharmony_ci    }
1845a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_C */
1846a8e1175bSopenharmony_ci
1847a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
1848a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MEMORY_BUFFER_ALLOC_C", config ) == 0 )
1849a8e1175bSopenharmony_ci    {
1850a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_BUFFER_ALLOC_C );
1851a8e1175bSopenharmony_ci        return( 0 );
1852a8e1175bSopenharmony_ci    }
1853a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
1854a8e1175bSopenharmony_ci
1855a8e1175bSopenharmony_ci#if defined(MBEDTLS_NET_C)
1856a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_NET_C", config ) == 0 )
1857a8e1175bSopenharmony_ci    {
1858a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_NET_C );
1859a8e1175bSopenharmony_ci        return( 0 );
1860a8e1175bSopenharmony_ci    }
1861a8e1175bSopenharmony_ci#endif /* MBEDTLS_NET_C */
1862a8e1175bSopenharmony_ci
1863a8e1175bSopenharmony_ci#if defined(MBEDTLS_OID_C)
1864a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_OID_C", config ) == 0 )
1865a8e1175bSopenharmony_ci    {
1866a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_OID_C );
1867a8e1175bSopenharmony_ci        return( 0 );
1868a8e1175bSopenharmony_ci    }
1869a8e1175bSopenharmony_ci#endif /* MBEDTLS_OID_C */
1870a8e1175bSopenharmony_ci
1871a8e1175bSopenharmony_ci#if defined(MBEDTLS_PADLOCK_C)
1872a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PADLOCK_C", config ) == 0 )
1873a8e1175bSopenharmony_ci    {
1874a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PADLOCK_C );
1875a8e1175bSopenharmony_ci        return( 0 );
1876a8e1175bSopenharmony_ci    }
1877a8e1175bSopenharmony_ci#endif /* MBEDTLS_PADLOCK_C */
1878a8e1175bSopenharmony_ci
1879a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_PARSE_C)
1880a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PEM_PARSE_C", config ) == 0 )
1881a8e1175bSopenharmony_ci    {
1882a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PEM_PARSE_C );
1883a8e1175bSopenharmony_ci        return( 0 );
1884a8e1175bSopenharmony_ci    }
1885a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_PARSE_C */
1886a8e1175bSopenharmony_ci
1887a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_WRITE_C)
1888a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PEM_WRITE_C", config ) == 0 )
1889a8e1175bSopenharmony_ci    {
1890a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PEM_WRITE_C );
1891a8e1175bSopenharmony_ci        return( 0 );
1892a8e1175bSopenharmony_ci    }
1893a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_WRITE_C */
1894a8e1175bSopenharmony_ci
1895a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_C)
1896a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_C", config ) == 0 )
1897a8e1175bSopenharmony_ci    {
1898a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_C );
1899a8e1175bSopenharmony_ci        return( 0 );
1900a8e1175bSopenharmony_ci    }
1901a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_C */
1902a8e1175bSopenharmony_ci
1903a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_C)
1904a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_PARSE_C", config ) == 0 )
1905a8e1175bSopenharmony_ci    {
1906a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_PARSE_C );
1907a8e1175bSopenharmony_ci        return( 0 );
1908a8e1175bSopenharmony_ci    }
1909a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_C */
1910a8e1175bSopenharmony_ci
1911a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_WRITE_C)
1912a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PK_WRITE_C", config ) == 0 )
1913a8e1175bSopenharmony_ci    {
1914a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PK_WRITE_C );
1915a8e1175bSopenharmony_ci        return( 0 );
1916a8e1175bSopenharmony_ci    }
1917a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_WRITE_C */
1918a8e1175bSopenharmony_ci
1919a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS5_C)
1920a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PKCS5_C", config ) == 0 )
1921a8e1175bSopenharmony_ci    {
1922a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PKCS5_C );
1923a8e1175bSopenharmony_ci        return( 0 );
1924a8e1175bSopenharmony_ci    }
1925a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS5_C */
1926a8e1175bSopenharmony_ci
1927a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS7_C)
1928a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PKCS7_C", config ) == 0 )
1929a8e1175bSopenharmony_ci    {
1930a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PKCS7_C );
1931a8e1175bSopenharmony_ci        return( 0 );
1932a8e1175bSopenharmony_ci    }
1933a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS7_C */
1934a8e1175bSopenharmony_ci
1935a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS12_C)
1936a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PKCS12_C", config ) == 0 )
1937a8e1175bSopenharmony_ci    {
1938a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PKCS12_C );
1939a8e1175bSopenharmony_ci        return( 0 );
1940a8e1175bSopenharmony_ci    }
1941a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS12_C */
1942a8e1175bSopenharmony_ci
1943a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_C)
1944a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_C", config ) == 0 )
1945a8e1175bSopenharmony_ci    {
1946a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_C );
1947a8e1175bSopenharmony_ci        return( 0 );
1948a8e1175bSopenharmony_ci    }
1949a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_C */
1950a8e1175bSopenharmony_ci
1951a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_C)
1952a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_POLY1305_C", config ) == 0 )
1953a8e1175bSopenharmony_ci    {
1954a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_POLY1305_C );
1955a8e1175bSopenharmony_ci        return( 0 );
1956a8e1175bSopenharmony_ci    }
1957a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_C */
1958a8e1175bSopenharmony_ci
1959a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_C)
1960a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_C", config ) == 0 )
1961a8e1175bSopenharmony_ci    {
1962a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_C );
1963a8e1175bSopenharmony_ci        return( 0 );
1964a8e1175bSopenharmony_ci    }
1965a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_C */
1966a8e1175bSopenharmony_ci
1967a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
1968a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_SE_C", config ) == 0 )
1969a8e1175bSopenharmony_ci    {
1970a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_SE_C );
1971a8e1175bSopenharmony_ci        return( 0 );
1972a8e1175bSopenharmony_ci    }
1973a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
1974a8e1175bSopenharmony_ci
1975a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
1976a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_STORAGE_C", config ) == 0 )
1977a8e1175bSopenharmony_ci    {
1978a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_STORAGE_C );
1979a8e1175bSopenharmony_ci        return( 0 );
1980a8e1175bSopenharmony_ci    }
1981a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_STORAGE_C */
1982a8e1175bSopenharmony_ci
1983a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ITS_FILE_C)
1984a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_ITS_FILE_C", config ) == 0 )
1985a8e1175bSopenharmony_ci    {
1986a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_ITS_FILE_C );
1987a8e1175bSopenharmony_ci        return( 0 );
1988a8e1175bSopenharmony_ci    }
1989a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ITS_FILE_C */
1990a8e1175bSopenharmony_ci
1991a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_C)
1992a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RIPEMD160_C", config ) == 0 )
1993a8e1175bSopenharmony_ci    {
1994a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RIPEMD160_C );
1995a8e1175bSopenharmony_ci        return( 0 );
1996a8e1175bSopenharmony_ci    }
1997a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_C */
1998a8e1175bSopenharmony_ci
1999a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_C)
2000a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RSA_C", config ) == 0 )
2001a8e1175bSopenharmony_ci    {
2002a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RSA_C );
2003a8e1175bSopenharmony_ci        return( 0 );
2004a8e1175bSopenharmony_ci    }
2005a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_C */
2006a8e1175bSopenharmony_ci
2007a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_C)
2008a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA1_C", config ) == 0 )
2009a8e1175bSopenharmony_ci    {
2010a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA1_C );
2011a8e1175bSopenharmony_ci        return( 0 );
2012a8e1175bSopenharmony_ci    }
2013a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_C */
2014a8e1175bSopenharmony_ci
2015a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA224_C)
2016a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA224_C", config ) == 0 )
2017a8e1175bSopenharmony_ci    {
2018a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA224_C );
2019a8e1175bSopenharmony_ci        return( 0 );
2020a8e1175bSopenharmony_ci    }
2021a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA224_C */
2022a8e1175bSopenharmony_ci
2023a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_C)
2024a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_C", config ) == 0 )
2025a8e1175bSopenharmony_ci    {
2026a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_C );
2027a8e1175bSopenharmony_ci        return( 0 );
2028a8e1175bSopenharmony_ci    }
2029a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_C */
2030a8e1175bSopenharmony_ci
2031a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT)
2032a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT", config ) == 0 )
2033a8e1175bSopenharmony_ci    {
2034a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT );
2035a8e1175bSopenharmony_ci        return( 0 );
2036a8e1175bSopenharmony_ci    }
2037a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT */
2038a8e1175bSopenharmony_ci
2039a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT)
2040a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT", config ) == 0 )
2041a8e1175bSopenharmony_ci    {
2042a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT );
2043a8e1175bSopenharmony_ci        return( 0 );
2044a8e1175bSopenharmony_ci    }
2045a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT */
2046a8e1175bSopenharmony_ci
2047a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
2048a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY", config ) == 0 )
2049a8e1175bSopenharmony_ci    {
2050a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY );
2051a8e1175bSopenharmony_ci        return( 0 );
2052a8e1175bSopenharmony_ci    }
2053a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
2054a8e1175bSopenharmony_ci
2055a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
2056a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY", config ) == 0 )
2057a8e1175bSopenharmony_ci    {
2058a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY );
2059a8e1175bSopenharmony_ci        return( 0 );
2060a8e1175bSopenharmony_ci    }
2061a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY */
2062a8e1175bSopenharmony_ci
2063a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA384_C)
2064a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA384_C", config ) == 0 )
2065a8e1175bSopenharmony_ci    {
2066a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA384_C );
2067a8e1175bSopenharmony_ci        return( 0 );
2068a8e1175bSopenharmony_ci    }
2069a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA384_C */
2070a8e1175bSopenharmony_ci
2071a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_C)
2072a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_C", config ) == 0 )
2073a8e1175bSopenharmony_ci    {
2074a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_C );
2075a8e1175bSopenharmony_ci        return( 0 );
2076a8e1175bSopenharmony_ci    }
2077a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_C */
2078a8e1175bSopenharmony_ci
2079a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA3_C)
2080a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA3_C", config ) == 0 )
2081a8e1175bSopenharmony_ci    {
2082a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA3_C );
2083a8e1175bSopenharmony_ci        return( 0 );
2084a8e1175bSopenharmony_ci    }
2085a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA3_C */
2086a8e1175bSopenharmony_ci
2087a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT)
2088a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT", config ) == 0 )
2089a8e1175bSopenharmony_ci    {
2090a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT );
2091a8e1175bSopenharmony_ci        return( 0 );
2092a8e1175bSopenharmony_ci    }
2093a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT */
2094a8e1175bSopenharmony_ci
2095a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
2096a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY", config ) == 0 )
2097a8e1175bSopenharmony_ci    {
2098a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY );
2099a8e1175bSopenharmony_ci        return( 0 );
2100a8e1175bSopenharmony_ci    }
2101a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
2102a8e1175bSopenharmony_ci
2103a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_C)
2104a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CACHE_C", config ) == 0 )
2105a8e1175bSopenharmony_ci    {
2106a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CACHE_C );
2107a8e1175bSopenharmony_ci        return( 0 );
2108a8e1175bSopenharmony_ci    }
2109a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_C */
2110a8e1175bSopenharmony_ci
2111a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_COOKIE_C)
2112a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_COOKIE_C", config ) == 0 )
2113a8e1175bSopenharmony_ci    {
2114a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_COOKIE_C );
2115a8e1175bSopenharmony_ci        return( 0 );
2116a8e1175bSopenharmony_ci    }
2117a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_COOKIE_C */
2118a8e1175bSopenharmony_ci
2119a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TICKET_C)
2120a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TICKET_C", config ) == 0 )
2121a8e1175bSopenharmony_ci    {
2122a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TICKET_C );
2123a8e1175bSopenharmony_ci        return( 0 );
2124a8e1175bSopenharmony_ci    }
2125a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TICKET_C */
2126a8e1175bSopenharmony_ci
2127a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CLI_C)
2128a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CLI_C", config ) == 0 )
2129a8e1175bSopenharmony_ci    {
2130a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CLI_C );
2131a8e1175bSopenharmony_ci        return( 0 );
2132a8e1175bSopenharmony_ci    }
2133a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CLI_C */
2134a8e1175bSopenharmony_ci
2135a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SRV_C)
2136a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_SRV_C", config ) == 0 )
2137a8e1175bSopenharmony_ci    {
2138a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_SRV_C );
2139a8e1175bSopenharmony_ci        return( 0 );
2140a8e1175bSopenharmony_ci    }
2141a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SRV_C */
2142a8e1175bSopenharmony_ci
2143a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS_C)
2144a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS_C", config ) == 0 )
2145a8e1175bSopenharmony_ci    {
2146a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS_C );
2147a8e1175bSopenharmony_ci        return( 0 );
2148a8e1175bSopenharmony_ci    }
2149a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS_C */
2150a8e1175bSopenharmony_ci
2151a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_C)
2152a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_THREADING_C", config ) == 0 )
2153a8e1175bSopenharmony_ci    {
2154a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_THREADING_C );
2155a8e1175bSopenharmony_ci        return( 0 );
2156a8e1175bSopenharmony_ci    }
2157a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_C */
2158a8e1175bSopenharmony_ci
2159a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_C)
2160a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_TIMING_C", config ) == 0 )
2161a8e1175bSopenharmony_ci    {
2162a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_TIMING_C );
2163a8e1175bSopenharmony_ci        return( 0 );
2164a8e1175bSopenharmony_ci    }
2165a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_C */
2166a8e1175bSopenharmony_ci
2167a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_C)
2168a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_VERSION_C", config ) == 0 )
2169a8e1175bSopenharmony_ci    {
2170a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_VERSION_C );
2171a8e1175bSopenharmony_ci        return( 0 );
2172a8e1175bSopenharmony_ci    }
2173a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_C */
2174a8e1175bSopenharmony_ci
2175a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_USE_C)
2176a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_USE_C", config ) == 0 )
2177a8e1175bSopenharmony_ci    {
2178a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_USE_C );
2179a8e1175bSopenharmony_ci        return( 0 );
2180a8e1175bSopenharmony_ci    }
2181a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_USE_C */
2182a8e1175bSopenharmony_ci
2183a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_PARSE_C)
2184a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CRT_PARSE_C", config ) == 0 )
2185a8e1175bSopenharmony_ci    {
2186a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CRT_PARSE_C );
2187a8e1175bSopenharmony_ci        return( 0 );
2188a8e1175bSopenharmony_ci    }
2189a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_PARSE_C */
2190a8e1175bSopenharmony_ci
2191a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRL_PARSE_C)
2192a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CRL_PARSE_C", config ) == 0 )
2193a8e1175bSopenharmony_ci    {
2194a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CRL_PARSE_C );
2195a8e1175bSopenharmony_ci        return( 0 );
2196a8e1175bSopenharmony_ci    }
2197a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRL_PARSE_C */
2198a8e1175bSopenharmony_ci
2199a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_PARSE_C)
2200a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CSR_PARSE_C", config ) == 0 )
2201a8e1175bSopenharmony_ci    {
2202a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CSR_PARSE_C );
2203a8e1175bSopenharmony_ci        return( 0 );
2204a8e1175bSopenharmony_ci    }
2205a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_PARSE_C */
2206a8e1175bSopenharmony_ci
2207a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CREATE_C)
2208a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CREATE_C", config ) == 0 )
2209a8e1175bSopenharmony_ci    {
2210a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CREATE_C );
2211a8e1175bSopenharmony_ci        return( 0 );
2212a8e1175bSopenharmony_ci    }
2213a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CREATE_C */
2214a8e1175bSopenharmony_ci
2215a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_WRITE_C)
2216a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CRT_WRITE_C", config ) == 0 )
2217a8e1175bSopenharmony_ci    {
2218a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CRT_WRITE_C );
2219a8e1175bSopenharmony_ci        return( 0 );
2220a8e1175bSopenharmony_ci    }
2221a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_WRITE_C */
2222a8e1175bSopenharmony_ci
2223a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_WRITE_C)
2224a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_CSR_WRITE_C", config ) == 0 )
2225a8e1175bSopenharmony_ci    {
2226a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CSR_WRITE_C );
2227a8e1175bSopenharmony_ci        return( 0 );
2228a8e1175bSopenharmony_ci    }
2229a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_WRITE_C */
2230a8e1175bSopenharmony_ci
2231a8e1175bSopenharmony_ci#if defined(MBEDTLS_CONFIG_FILE)
2232a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CONFIG_FILE", config ) == 0 )
2233a8e1175bSopenharmony_ci    {
2234a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CONFIG_FILE );
2235a8e1175bSopenharmony_ci        return( 0 );
2236a8e1175bSopenharmony_ci    }
2237a8e1175bSopenharmony_ci#endif /* MBEDTLS_CONFIG_FILE */
2238a8e1175bSopenharmony_ci
2239a8e1175bSopenharmony_ci#if defined(MBEDTLS_USER_CONFIG_FILE)
2240a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_USER_CONFIG_FILE", config ) == 0 )
2241a8e1175bSopenharmony_ci    {
2242a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_USER_CONFIG_FILE );
2243a8e1175bSopenharmony_ci        return( 0 );
2244a8e1175bSopenharmony_ci    }
2245a8e1175bSopenharmony_ci#endif /* MBEDTLS_USER_CONFIG_FILE */
2246a8e1175bSopenharmony_ci
2247a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CONFIG_FILE)
2248a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_CONFIG_FILE", config ) == 0 )
2249a8e1175bSopenharmony_ci    {
2250a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_CONFIG_FILE );
2251a8e1175bSopenharmony_ci        return( 0 );
2252a8e1175bSopenharmony_ci    }
2253a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CONFIG_FILE */
2254a8e1175bSopenharmony_ci
2255a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE)
2256a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE", config ) == 0 )
2257a8e1175bSopenharmony_ci    {
2258a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE );
2259a8e1175bSopenharmony_ci        return( 0 );
2260a8e1175bSopenharmony_ci    }
2261a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE */
2262a8e1175bSopenharmony_ci
2263a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_PLATFORM_FILE)
2264a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_PLATFORM_FILE", config ) == 0 )
2265a8e1175bSopenharmony_ci    {
2266a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_PLATFORM_FILE );
2267a8e1175bSopenharmony_ci        return( 0 );
2268a8e1175bSopenharmony_ci    }
2269a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_PLATFORM_FILE */
2270a8e1175bSopenharmony_ci
2271a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_STRUCT_FILE)
2272a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_CRYPTO_STRUCT_FILE", config ) == 0 )
2273a8e1175bSopenharmony_ci    {
2274a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_STRUCT_FILE );
2275a8e1175bSopenharmony_ci        return( 0 );
2276a8e1175bSopenharmony_ci    }
2277a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_STRUCT_FILE */
2278a8e1175bSopenharmony_ci
2279a8e1175bSopenharmony_ci#if defined(MBEDTLS_MPI_WINDOW_SIZE)
2280a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MPI_WINDOW_SIZE", config ) == 0 )
2281a8e1175bSopenharmony_ci    {
2282a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MPI_WINDOW_SIZE );
2283a8e1175bSopenharmony_ci        return( 0 );
2284a8e1175bSopenharmony_ci    }
2285a8e1175bSopenharmony_ci#endif /* MBEDTLS_MPI_WINDOW_SIZE */
2286a8e1175bSopenharmony_ci
2287a8e1175bSopenharmony_ci#if defined(MBEDTLS_MPI_MAX_SIZE)
2288a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MPI_MAX_SIZE", config ) == 0 )
2289a8e1175bSopenharmony_ci    {
2290a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MPI_MAX_SIZE );
2291a8e1175bSopenharmony_ci        return( 0 );
2292a8e1175bSopenharmony_ci    }
2293a8e1175bSopenharmony_ci#endif /* MBEDTLS_MPI_MAX_SIZE */
2294a8e1175bSopenharmony_ci
2295a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_ENTROPY_LEN)
2296a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_ENTROPY_LEN", config ) == 0 )
2297a8e1175bSopenharmony_ci    {
2298a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_ENTROPY_LEN );
2299a8e1175bSopenharmony_ci        return( 0 );
2300a8e1175bSopenharmony_ci    }
2301a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_ENTROPY_LEN */
2302a8e1175bSopenharmony_ci
2303a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_RESEED_INTERVAL)
2304a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_RESEED_INTERVAL", config ) == 0 )
2305a8e1175bSopenharmony_ci    {
2306a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_RESEED_INTERVAL );
2307a8e1175bSopenharmony_ci        return( 0 );
2308a8e1175bSopenharmony_ci    }
2309a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_RESEED_INTERVAL */
2310a8e1175bSopenharmony_ci
2311a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_INPUT)
2312a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_MAX_INPUT", config ) == 0 )
2313a8e1175bSopenharmony_ci    {
2314a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_MAX_INPUT );
2315a8e1175bSopenharmony_ci        return( 0 );
2316a8e1175bSopenharmony_ci    }
2317a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_INPUT */
2318a8e1175bSopenharmony_ci
2319a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_REQUEST)
2320a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_MAX_REQUEST", config ) == 0 )
2321a8e1175bSopenharmony_ci    {
2322a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_MAX_REQUEST );
2323a8e1175bSopenharmony_ci        return( 0 );
2324a8e1175bSopenharmony_ci    }
2325a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_REQUEST */
2326a8e1175bSopenharmony_ci
2327a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_SEED_INPUT)
2328a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CTR_DRBG_MAX_SEED_INPUT", config ) == 0 )
2329a8e1175bSopenharmony_ci    {
2330a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_MAX_SEED_INPUT );
2331a8e1175bSopenharmony_ci        return( 0 );
2332a8e1175bSopenharmony_ci    }
2333a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_SEED_INPUT */
2334a8e1175bSopenharmony_ci
2335a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_RESEED_INTERVAL)
2336a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HMAC_DRBG_RESEED_INTERVAL", config ) == 0 )
2337a8e1175bSopenharmony_ci    {
2338a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HMAC_DRBG_RESEED_INTERVAL );
2339a8e1175bSopenharmony_ci        return( 0 );
2340a8e1175bSopenharmony_ci    }
2341a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_RESEED_INTERVAL */
2342a8e1175bSopenharmony_ci
2343a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_INPUT)
2344a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HMAC_DRBG_MAX_INPUT", config ) == 0 )
2345a8e1175bSopenharmony_ci    {
2346a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HMAC_DRBG_MAX_INPUT );
2347a8e1175bSopenharmony_ci        return( 0 );
2348a8e1175bSopenharmony_ci    }
2349a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_INPUT */
2350a8e1175bSopenharmony_ci
2351a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_REQUEST)
2352a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HMAC_DRBG_MAX_REQUEST", config ) == 0 )
2353a8e1175bSopenharmony_ci    {
2354a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HMAC_DRBG_MAX_REQUEST );
2355a8e1175bSopenharmony_ci        return( 0 );
2356a8e1175bSopenharmony_ci    }
2357a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_REQUEST */
2358a8e1175bSopenharmony_ci
2359a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT)
2360a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT", config ) == 0 )
2361a8e1175bSopenharmony_ci    {
2362a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT );
2363a8e1175bSopenharmony_ci        return( 0 );
2364a8e1175bSopenharmony_ci    }
2365a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT */
2366a8e1175bSopenharmony_ci
2367a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_WINDOW_SIZE)
2368a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_WINDOW_SIZE", config ) == 0 )
2369a8e1175bSopenharmony_ci    {
2370a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_WINDOW_SIZE );
2371a8e1175bSopenharmony_ci        return( 0 );
2372a8e1175bSopenharmony_ci    }
2373a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_WINDOW_SIZE */
2374a8e1175bSopenharmony_ci
2375a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_FIXED_POINT_OPTIM)
2376a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ECP_FIXED_POINT_OPTIM", config ) == 0 )
2377a8e1175bSopenharmony_ci    {
2378a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_FIXED_POINT_OPTIM );
2379a8e1175bSopenharmony_ci        return( 0 );
2380a8e1175bSopenharmony_ci    }
2381a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_FIXED_POINT_OPTIM */
2382a8e1175bSopenharmony_ci
2383a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MAX_SOURCES)
2384a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_MAX_SOURCES", config ) == 0 )
2385a8e1175bSopenharmony_ci    {
2386a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_MAX_SOURCES );
2387a8e1175bSopenharmony_ci        return( 0 );
2388a8e1175bSopenharmony_ci    }
2389a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MAX_SOURCES */
2390a8e1175bSopenharmony_ci
2391a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MAX_GATHER)
2392a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_MAX_GATHER", config ) == 0 )
2393a8e1175bSopenharmony_ci    {
2394a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_MAX_GATHER );
2395a8e1175bSopenharmony_ci        return( 0 );
2396a8e1175bSopenharmony_ci    }
2397a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MAX_GATHER */
2398a8e1175bSopenharmony_ci
2399a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MIN_HARDWARE)
2400a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_ENTROPY_MIN_HARDWARE", config ) == 0 )
2401a8e1175bSopenharmony_ci    {
2402a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_ENTROPY_MIN_HARDWARE );
2403a8e1175bSopenharmony_ci        return( 0 );
2404a8e1175bSopenharmony_ci    }
2405a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MIN_HARDWARE */
2406a8e1175bSopenharmony_ci
2407a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE)
2408a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_MEMORY_ALIGN_MULTIPLE", config ) == 0 )
2409a8e1175bSopenharmony_ci    {
2410a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_MEMORY_ALIGN_MULTIPLE );
2411a8e1175bSopenharmony_ci        return( 0 );
2412a8e1175bSopenharmony_ci    }
2413a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_ALIGN_MULTIPLE */
2414a8e1175bSopenharmony_ci
2415a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_MEM_HDR)
2416a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_MEM_HDR", config ) == 0 )
2417a8e1175bSopenharmony_ci    {
2418a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_MEM_HDR );
2419a8e1175bSopenharmony_ci        return( 0 );
2420a8e1175bSopenharmony_ci    }
2421a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_MEM_HDR */
2422a8e1175bSopenharmony_ci
2423a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_CALLOC)
2424a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_CALLOC", config ) == 0 )
2425a8e1175bSopenharmony_ci    {
2426a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_CALLOC );
2427a8e1175bSopenharmony_ci        return( 0 );
2428a8e1175bSopenharmony_ci    }
2429a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_CALLOC */
2430a8e1175bSopenharmony_ci
2431a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_FREE)
2432a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_FREE", config ) == 0 )
2433a8e1175bSopenharmony_ci    {
2434a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_FREE );
2435a8e1175bSopenharmony_ci        return( 0 );
2436a8e1175bSopenharmony_ci    }
2437a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_FREE */
2438a8e1175bSopenharmony_ci
2439a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_SETBUF)
2440a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_SETBUF", config ) == 0 )
2441a8e1175bSopenharmony_ci    {
2442a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_SETBUF );
2443a8e1175bSopenharmony_ci        return( 0 );
2444a8e1175bSopenharmony_ci    }
2445a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_SETBUF */
2446a8e1175bSopenharmony_ci
2447a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT)
2448a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_EXIT", config ) == 0 )
2449a8e1175bSopenharmony_ci    {
2450a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_EXIT );
2451a8e1175bSopenharmony_ci        return( 0 );
2452a8e1175bSopenharmony_ci    }
2453a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT */
2454a8e1175bSopenharmony_ci
2455a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_TIME)
2456a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_TIME", config ) == 0 )
2457a8e1175bSopenharmony_ci    {
2458a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_TIME );
2459a8e1175bSopenharmony_ci        return( 0 );
2460a8e1175bSopenharmony_ci    }
2461a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_TIME */
2462a8e1175bSopenharmony_ci
2463a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_FPRINTF)
2464a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_FPRINTF", config ) == 0 )
2465a8e1175bSopenharmony_ci    {
2466a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_FPRINTF );
2467a8e1175bSopenharmony_ci        return( 0 );
2468a8e1175bSopenharmony_ci    }
2469a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_FPRINTF */
2470a8e1175bSopenharmony_ci
2471a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_PRINTF)
2472a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_PRINTF", config ) == 0 )
2473a8e1175bSopenharmony_ci    {
2474a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_PRINTF );
2475a8e1175bSopenharmony_ci        return( 0 );
2476a8e1175bSopenharmony_ci    }
2477a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_PRINTF */
2478a8e1175bSopenharmony_ci
2479a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_SNPRINTF)
2480a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_SNPRINTF", config ) == 0 )
2481a8e1175bSopenharmony_ci    {
2482a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_SNPRINTF );
2483a8e1175bSopenharmony_ci        return( 0 );
2484a8e1175bSopenharmony_ci    }
2485a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_SNPRINTF */
2486a8e1175bSopenharmony_ci
2487a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT_SUCCESS)
2488a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_EXIT_SUCCESS", config ) == 0 )
2489a8e1175bSopenharmony_ci    {
2490a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_EXIT_SUCCESS );
2491a8e1175bSopenharmony_ci        return( 0 );
2492a8e1175bSopenharmony_ci    }
2493a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT_SUCCESS */
2494a8e1175bSopenharmony_ci
2495a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT_FAILURE)
2496a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_EXIT_FAILURE", config ) == 0 )
2497a8e1175bSopenharmony_ci    {
2498a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_EXIT_FAILURE );
2499a8e1175bSopenharmony_ci        return( 0 );
2500a8e1175bSopenharmony_ci    }
2501a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT_FAILURE */
2502a8e1175bSopenharmony_ci
2503a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_READ)
2504a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_NV_SEED_READ", config ) == 0 )
2505a8e1175bSopenharmony_ci    {
2506a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_NV_SEED_READ );
2507a8e1175bSopenharmony_ci        return( 0 );
2508a8e1175bSopenharmony_ci    }
2509a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_READ */
2510a8e1175bSopenharmony_ci
2511a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_WRITE)
2512a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_NV_SEED_WRITE", config ) == 0 )
2513a8e1175bSopenharmony_ci    {
2514a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_NV_SEED_WRITE );
2515a8e1175bSopenharmony_ci        return( 0 );
2516a8e1175bSopenharmony_ci    }
2517a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_WRITE */
2518a8e1175bSopenharmony_ci
2519a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_FILE)
2520a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_STD_NV_SEED_FILE", config ) == 0 )
2521a8e1175bSopenharmony_ci    {
2522a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_STD_NV_SEED_FILE );
2523a8e1175bSopenharmony_ci        return( 0 );
2524a8e1175bSopenharmony_ci    }
2525a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_FILE */
2526a8e1175bSopenharmony_ci
2527a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_CALLOC_MACRO)
2528a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_CALLOC_MACRO", config ) == 0 )
2529a8e1175bSopenharmony_ci    {
2530a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_CALLOC_MACRO );
2531a8e1175bSopenharmony_ci        return( 0 );
2532a8e1175bSopenharmony_ci    }
2533a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_CALLOC_MACRO */
2534a8e1175bSopenharmony_ci
2535a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FREE_MACRO)
2536a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_FREE_MACRO", config ) == 0 )
2537a8e1175bSopenharmony_ci    {
2538a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_FREE_MACRO );
2539a8e1175bSopenharmony_ci        return( 0 );
2540a8e1175bSopenharmony_ci    }
2541a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FREE_MACRO */
2542a8e1175bSopenharmony_ci
2543a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_EXIT_MACRO)
2544a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_EXIT_MACRO", config ) == 0 )
2545a8e1175bSopenharmony_ci    {
2546a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_EXIT_MACRO );
2547a8e1175bSopenharmony_ci        return( 0 );
2548a8e1175bSopenharmony_ci    }
2549a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_EXIT_MACRO */
2550a8e1175bSopenharmony_ci
2551a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETBUF_MACRO)
2552a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_SETBUF_MACRO", config ) == 0 )
2553a8e1175bSopenharmony_ci    {
2554a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_SETBUF_MACRO );
2555a8e1175bSopenharmony_ci        return( 0 );
2556a8e1175bSopenharmony_ci    }
2557a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETBUF_MACRO */
2558a8e1175bSopenharmony_ci
2559a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_MACRO)
2560a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_TIME_MACRO", config ) == 0 )
2561a8e1175bSopenharmony_ci    {
2562a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_TIME_MACRO );
2563a8e1175bSopenharmony_ci        return( 0 );
2564a8e1175bSopenharmony_ci    }
2565a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_MACRO */
2566a8e1175bSopenharmony_ci
2567a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_TYPE_MACRO)
2568a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_TIME_TYPE_MACRO", config ) == 0 )
2569a8e1175bSopenharmony_ci    {
2570a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_TIME_TYPE_MACRO );
2571a8e1175bSopenharmony_ci        return( 0 );
2572a8e1175bSopenharmony_ci    }
2573a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_TYPE_MACRO */
2574a8e1175bSopenharmony_ci
2575a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FPRINTF_MACRO)
2576a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_FPRINTF_MACRO", config ) == 0 )
2577a8e1175bSopenharmony_ci    {
2578a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_FPRINTF_MACRO );
2579a8e1175bSopenharmony_ci        return( 0 );
2580a8e1175bSopenharmony_ci    }
2581a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FPRINTF_MACRO */
2582a8e1175bSopenharmony_ci
2583a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_PRINTF_MACRO)
2584a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_PRINTF_MACRO", config ) == 0 )
2585a8e1175bSopenharmony_ci    {
2586a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_PRINTF_MACRO );
2587a8e1175bSopenharmony_ci        return( 0 );
2588a8e1175bSopenharmony_ci    }
2589a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_PRINTF_MACRO */
2590a8e1175bSopenharmony_ci
2591a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SNPRINTF_MACRO)
2592a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_SNPRINTF_MACRO", config ) == 0 )
2593a8e1175bSopenharmony_ci    {
2594a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_SNPRINTF_MACRO );
2595a8e1175bSopenharmony_ci        return( 0 );
2596a8e1175bSopenharmony_ci    }
2597a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SNPRINTF_MACRO */
2598a8e1175bSopenharmony_ci
2599a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_VSNPRINTF_MACRO)
2600a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_VSNPRINTF_MACRO", config ) == 0 )
2601a8e1175bSopenharmony_ci    {
2602a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_VSNPRINTF_MACRO );
2603a8e1175bSopenharmony_ci        return( 0 );
2604a8e1175bSopenharmony_ci    }
2605a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_VSNPRINTF_MACRO */
2606a8e1175bSopenharmony_ci
2607a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO)
2608a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_READ_MACRO", config ) == 0 )
2609a8e1175bSopenharmony_ci    {
2610a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_NV_SEED_READ_MACRO );
2611a8e1175bSopenharmony_ci        return( 0 );
2612a8e1175bSopenharmony_ci    }
2613a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_READ_MACRO */
2614a8e1175bSopenharmony_ci
2615a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO)
2616a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO", config ) == 0 )
2617a8e1175bSopenharmony_ci    {
2618a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO );
2619a8e1175bSopenharmony_ci        return( 0 );
2620a8e1175bSopenharmony_ci    }
2621a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO */
2622a8e1175bSopenharmony_ci
2623a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO)
2624a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO", config ) == 0 )
2625a8e1175bSopenharmony_ci    {
2626a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO );
2627a8e1175bSopenharmony_ci        return( 0 );
2628a8e1175bSopenharmony_ci    }
2629a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO */
2630a8e1175bSopenharmony_ci
2631a8e1175bSopenharmony_ci#if defined(MBEDTLS_PRINTF_MS_TIME)
2632a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PRINTF_MS_TIME", config ) == 0 )
2633a8e1175bSopenharmony_ci    {
2634a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PRINTF_MS_TIME );
2635a8e1175bSopenharmony_ci        return( 0 );
2636a8e1175bSopenharmony_ci    }
2637a8e1175bSopenharmony_ci#endif /* MBEDTLS_PRINTF_MS_TIME */
2638a8e1175bSopenharmony_ci
2639a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHECK_RETURN)
2640a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_CHECK_RETURN", config ) == 0 )
2641a8e1175bSopenharmony_ci    {
2642a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_CHECK_RETURN );
2643a8e1175bSopenharmony_ci        return( 0 );
2644a8e1175bSopenharmony_ci    }
2645a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHECK_RETURN */
2646a8e1175bSopenharmony_ci
2647a8e1175bSopenharmony_ci#if defined(MBEDTLS_IGNORE_RETURN)
2648a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_IGNORE_RETURN", config ) == 0 )
2649a8e1175bSopenharmony_ci    {
2650a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_IGNORE_RETURN );
2651a8e1175bSopenharmony_ci        return( 0 );
2652a8e1175bSopenharmony_ci    }
2653a8e1175bSopenharmony_ci#endif /* MBEDTLS_IGNORE_RETURN */
2654a8e1175bSopenharmony_ci
2655a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_HMAC_DRBG_MD_TYPE)
2656a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_HMAC_DRBG_MD_TYPE", config ) == 0 )
2657a8e1175bSopenharmony_ci    {
2658a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_HMAC_DRBG_MD_TYPE );
2659a8e1175bSopenharmony_ci        return( 0 );
2660a8e1175bSopenharmony_ci    }
2661a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_HMAC_DRBG_MD_TYPE */
2662a8e1175bSopenharmony_ci
2663a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_KEY_SLOT_COUNT)
2664a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSA_KEY_SLOT_COUNT", config ) == 0 )
2665a8e1175bSopenharmony_ci    {
2666a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_KEY_SLOT_COUNT );
2667a8e1175bSopenharmony_ci        return( 0 );
2668a8e1175bSopenharmony_ci    }
2669a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_KEY_SLOT_COUNT */
2670a8e1175bSopenharmony_ci
2671a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_GEN_KEY_MIN_BITS)
2672a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_RSA_GEN_KEY_MIN_BITS", config ) == 0 )
2673a8e1175bSopenharmony_ci    {
2674a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_RSA_GEN_KEY_MIN_BITS );
2675a8e1175bSopenharmony_ci        return( 0 );
2676a8e1175bSopenharmony_ci    }
2677a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_GEN_KEY_MIN_BITS */
2678a8e1175bSopenharmony_ci
2679a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT)
2680a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT", config ) == 0 )
2681a8e1175bSopenharmony_ci    {
2682a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT );
2683a8e1175bSopenharmony_ci        return( 0 );
2684a8e1175bSopenharmony_ci    }
2685a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT */
2686a8e1175bSopenharmony_ci
2687a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES)
2688a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES", config ) == 0 )
2689a8e1175bSopenharmony_ci    {
2690a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES );
2691a8e1175bSopenharmony_ci        return( 0 );
2692a8e1175bSopenharmony_ci    }
2693a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES */
2694a8e1175bSopenharmony_ci
2695a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_IN_CONTENT_LEN)
2696a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_IN_CONTENT_LEN", config ) == 0 )
2697a8e1175bSopenharmony_ci    {
2698a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_IN_CONTENT_LEN );
2699a8e1175bSopenharmony_ci        return( 0 );
2700a8e1175bSopenharmony_ci    }
2701a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_IN_CONTENT_LEN */
2702a8e1175bSopenharmony_ci
2703a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_IN_LEN_MAX)
2704a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CID_IN_LEN_MAX", config ) == 0 )
2705a8e1175bSopenharmony_ci    {
2706a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CID_IN_LEN_MAX );
2707a8e1175bSopenharmony_ci        return( 0 );
2708a8e1175bSopenharmony_ci    }
2709a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_IN_LEN_MAX */
2710a8e1175bSopenharmony_ci
2711a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_OUT_LEN_MAX)
2712a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CID_OUT_LEN_MAX", config ) == 0 )
2713a8e1175bSopenharmony_ci    {
2714a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CID_OUT_LEN_MAX );
2715a8e1175bSopenharmony_ci        return( 0 );
2716a8e1175bSopenharmony_ci    }
2717a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_OUT_LEN_MAX */
2718a8e1175bSopenharmony_ci
2719a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY)
2720a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY", config ) == 0 )
2721a8e1175bSopenharmony_ci    {
2722a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY );
2723a8e1175bSopenharmony_ci        return( 0 );
2724a8e1175bSopenharmony_ci    }
2725a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY */
2726a8e1175bSopenharmony_ci
2727a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_OUT_CONTENT_LEN)
2728a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_OUT_CONTENT_LEN", config ) == 0 )
2729a8e1175bSopenharmony_ci    {
2730a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_OUT_CONTENT_LEN );
2731a8e1175bSopenharmony_ci        return( 0 );
2732a8e1175bSopenharmony_ci    }
2733a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_OUT_CONTENT_LEN */
2734a8e1175bSopenharmony_ci
2735a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_MAX_BUFFERING)
2736a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_DTLS_MAX_BUFFERING", config ) == 0 )
2737a8e1175bSopenharmony_ci    {
2738a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_MAX_BUFFERING );
2739a8e1175bSopenharmony_ci        return( 0 );
2740a8e1175bSopenharmony_ci    }
2741a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_MAX_BUFFERING */
2742a8e1175bSopenharmony_ci
2743a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSK_MAX_LEN)
2744a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_PSK_MAX_LEN", config ) == 0 )
2745a8e1175bSopenharmony_ci    {
2746a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_PSK_MAX_LEN );
2747a8e1175bSopenharmony_ci        return( 0 );
2748a8e1175bSopenharmony_ci    }
2749a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSK_MAX_LEN */
2750a8e1175bSopenharmony_ci
2751a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_COOKIE_TIMEOUT)
2752a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_COOKIE_TIMEOUT", config ) == 0 )
2753a8e1175bSopenharmony_ci    {
2754a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_COOKIE_TIMEOUT );
2755a8e1175bSopenharmony_ci        return( 0 );
2756a8e1175bSopenharmony_ci    }
2757a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_COOKIE_TIMEOUT */
2758a8e1175bSopenharmony_ci
2759a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_MAX_EARLY_DATA_SIZE)
2760a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_MAX_EARLY_DATA_SIZE", config ) == 0 )
2761a8e1175bSopenharmony_ci    {
2762a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_MAX_EARLY_DATA_SIZE );
2763a8e1175bSopenharmony_ci        return( 0 );
2764a8e1175bSopenharmony_ci    }
2765a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_MAX_EARLY_DATA_SIZE */
2766a8e1175bSopenharmony_ci
2767a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE)
2768a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE", config ) == 0 )
2769a8e1175bSopenharmony_ci    {
2770a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE );
2771a8e1175bSopenharmony_ci        return( 0 );
2772a8e1175bSopenharmony_ci    }
2773a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE */
2774a8e1175bSopenharmony_ci
2775a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH)
2776a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH", config ) == 0 )
2777a8e1175bSopenharmony_ci    {
2778a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH );
2779a8e1175bSopenharmony_ci        return( 0 );
2780a8e1175bSopenharmony_ci    }
2781a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH */
2782a8e1175bSopenharmony_ci
2783a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS)
2784a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS", config ) == 0 )
2785a8e1175bSopenharmony_ci    {
2786a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS );
2787a8e1175bSopenharmony_ci        return( 0 );
2788a8e1175bSopenharmony_ci    }
2789a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS */
2790a8e1175bSopenharmony_ci
2791a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_MAX_INTERMEDIATE_CA)
2792a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_MAX_INTERMEDIATE_CA", config ) == 0 )
2793a8e1175bSopenharmony_ci    {
2794a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_MAX_INTERMEDIATE_CA );
2795a8e1175bSopenharmony_ci        return( 0 );
2796a8e1175bSopenharmony_ci    }
2797a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_MAX_INTERMEDIATE_CA */
2798a8e1175bSopenharmony_ci
2799a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_MAX_FILE_PATH_LEN)
2800a8e1175bSopenharmony_ci    if( strcmp( "MBEDTLS_X509_MAX_FILE_PATH_LEN", config ) == 0 )
2801a8e1175bSopenharmony_ci    {
2802a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( MBEDTLS_X509_MAX_FILE_PATH_LEN );
2803a8e1175bSopenharmony_ci        return( 0 );
2804a8e1175bSopenharmony_ci    }
2805a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_MAX_FILE_PATH_LEN */
2806a8e1175bSopenharmony_ci
2807a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_MAC)
2808a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CBC_MAC", config ) == 0 )
2809a8e1175bSopenharmony_ci    {
2810a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CBC_MAC );
2811a8e1175bSopenharmony_ci        return( 0 );
2812a8e1175bSopenharmony_ci    }
2813a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_MAC */
2814a8e1175bSopenharmony_ci
2815a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
2816a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CBC_NO_PADDING", config ) == 0 )
2817a8e1175bSopenharmony_ci    {
2818a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CBC_NO_PADDING );
2819a8e1175bSopenharmony_ci        return( 0 );
2820a8e1175bSopenharmony_ci    }
2821a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_NO_PADDING */
2822a8e1175bSopenharmony_ci
2823a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_PKCS7)
2824a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CBC_PKCS7", config ) == 0 )
2825a8e1175bSopenharmony_ci    {
2826a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CBC_PKCS7 );
2827a8e1175bSopenharmony_ci        return( 0 );
2828a8e1175bSopenharmony_ci    }
2829a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_PKCS7 */
2830a8e1175bSopenharmony_ci
2831a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CCM)
2832a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CCM", config ) == 0 )
2833a8e1175bSopenharmony_ci    {
2834a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CCM );
2835a8e1175bSopenharmony_ci        return( 0 );
2836a8e1175bSopenharmony_ci    }
2837a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CCM */
2838a8e1175bSopenharmony_ci
2839a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CCM_STAR_NO_TAG)
2840a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CCM_STAR_NO_TAG", config ) == 0 )
2841a8e1175bSopenharmony_ci    {
2842a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CCM_STAR_NO_TAG );
2843a8e1175bSopenharmony_ci        return( 0 );
2844a8e1175bSopenharmony_ci    }
2845a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CCM_STAR_NO_TAG */
2846a8e1175bSopenharmony_ci
2847a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CMAC)
2848a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CMAC", config ) == 0 )
2849a8e1175bSopenharmony_ci    {
2850a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CMAC );
2851a8e1175bSopenharmony_ci        return( 0 );
2852a8e1175bSopenharmony_ci    }
2853a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CMAC */
2854a8e1175bSopenharmony_ci
2855a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CFB)
2856a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CFB", config ) == 0 )
2857a8e1175bSopenharmony_ci    {
2858a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CFB );
2859a8e1175bSopenharmony_ci        return( 0 );
2860a8e1175bSopenharmony_ci    }
2861a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CFB */
2862a8e1175bSopenharmony_ci
2863a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CHACHA20_POLY1305)
2864a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CHACHA20_POLY1305", config ) == 0 )
2865a8e1175bSopenharmony_ci    {
2866a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CHACHA20_POLY1305 );
2867a8e1175bSopenharmony_ci        return( 0 );
2868a8e1175bSopenharmony_ci    }
2869a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CHACHA20_POLY1305 */
2870a8e1175bSopenharmony_ci
2871a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CTR)
2872a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_CTR", config ) == 0 )
2873a8e1175bSopenharmony_ci    {
2874a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_CTR );
2875a8e1175bSopenharmony_ci        return( 0 );
2876a8e1175bSopenharmony_ci    }
2877a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CTR */
2878a8e1175bSopenharmony_ci
2879a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA)
2880a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_DETERMINISTIC_ECDSA", config ) == 0 )
2881a8e1175bSopenharmony_ci    {
2882a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_DETERMINISTIC_ECDSA );
2883a8e1175bSopenharmony_ci        return( 0 );
2884a8e1175bSopenharmony_ci    }
2885a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_DETERMINISTIC_ECDSA */
2886a8e1175bSopenharmony_ci
2887a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECB_NO_PADDING)
2888a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_ECB_NO_PADDING", config ) == 0 )
2889a8e1175bSopenharmony_ci    {
2890a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_ECB_NO_PADDING );
2891a8e1175bSopenharmony_ci        return( 0 );
2892a8e1175bSopenharmony_ci    }
2893a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECB_NO_PADDING */
2894a8e1175bSopenharmony_ci
2895a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECDH)
2896a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_ECDH", config ) == 0 )
2897a8e1175bSopenharmony_ci    {
2898a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_ECDH );
2899a8e1175bSopenharmony_ci        return( 0 );
2900a8e1175bSopenharmony_ci    }
2901a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECDH */
2902a8e1175bSopenharmony_ci
2903a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_FFDH)
2904a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_FFDH", config ) == 0 )
2905a8e1175bSopenharmony_ci    {
2906a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_FFDH );
2907a8e1175bSopenharmony_ci        return( 0 );
2908a8e1175bSopenharmony_ci    }
2909a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_FFDH */
2910a8e1175bSopenharmony_ci
2911a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECDSA)
2912a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_ECDSA", config ) == 0 )
2913a8e1175bSopenharmony_ci    {
2914a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_ECDSA );
2915a8e1175bSopenharmony_ci        return( 0 );
2916a8e1175bSopenharmony_ci    }
2917a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECDSA */
2918a8e1175bSopenharmony_ci
2919a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_JPAKE)
2920a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_JPAKE", config ) == 0 )
2921a8e1175bSopenharmony_ci    {
2922a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_JPAKE );
2923a8e1175bSopenharmony_ci        return( 0 );
2924a8e1175bSopenharmony_ci    }
2925a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_JPAKE */
2926a8e1175bSopenharmony_ci
2927a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_GCM)
2928a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_GCM", config ) == 0 )
2929a8e1175bSopenharmony_ci    {
2930a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_GCM );
2931a8e1175bSopenharmony_ci        return( 0 );
2932a8e1175bSopenharmony_ci    }
2933a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_GCM */
2934a8e1175bSopenharmony_ci
2935a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF)
2936a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_HKDF", config ) == 0 )
2937a8e1175bSopenharmony_ci    {
2938a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_HKDF );
2939a8e1175bSopenharmony_ci        return( 0 );
2940a8e1175bSopenharmony_ci    }
2941a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF */
2942a8e1175bSopenharmony_ci
2943a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF_EXTRACT)
2944a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_HKDF_EXTRACT", config ) == 0 )
2945a8e1175bSopenharmony_ci    {
2946a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_HKDF_EXTRACT );
2947a8e1175bSopenharmony_ci        return( 0 );
2948a8e1175bSopenharmony_ci    }
2949a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF_EXTRACT */
2950a8e1175bSopenharmony_ci
2951a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF_EXPAND)
2952a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_HKDF_EXPAND", config ) == 0 )
2953a8e1175bSopenharmony_ci    {
2954a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_HKDF_EXPAND );
2955a8e1175bSopenharmony_ci        return( 0 );
2956a8e1175bSopenharmony_ci    }
2957a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF_EXPAND */
2958a8e1175bSopenharmony_ci
2959a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HMAC)
2960a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_HMAC", config ) == 0 )
2961a8e1175bSopenharmony_ci    {
2962a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_HMAC );
2963a8e1175bSopenharmony_ci        return( 0 );
2964a8e1175bSopenharmony_ci    }
2965a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HMAC */
2966a8e1175bSopenharmony_ci
2967a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_MD5)
2968a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_MD5", config ) == 0 )
2969a8e1175bSopenharmony_ci    {
2970a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_MD5 );
2971a8e1175bSopenharmony_ci        return( 0 );
2972a8e1175bSopenharmony_ci    }
2973a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_MD5 */
2974a8e1175bSopenharmony_ci
2975a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_OFB)
2976a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_OFB", config ) == 0 )
2977a8e1175bSopenharmony_ci    {
2978a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_OFB );
2979a8e1175bSopenharmony_ci        return( 0 );
2980a8e1175bSopenharmony_ci    }
2981a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_OFB */
2982a8e1175bSopenharmony_ci
2983a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_PBKDF2_HMAC)
2984a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_PBKDF2_HMAC", config ) == 0 )
2985a8e1175bSopenharmony_ci    {
2986a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_PBKDF2_HMAC );
2987a8e1175bSopenharmony_ci        return( 0 );
2988a8e1175bSopenharmony_ci    }
2989a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_PBKDF2_HMAC */
2990a8e1175bSopenharmony_ci
2991a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128)
2992a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128", config ) == 0 )
2993a8e1175bSopenharmony_ci    {
2994a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 );
2995a8e1175bSopenharmony_ci        return( 0 );
2996a8e1175bSopenharmony_ci    }
2997a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 */
2998a8e1175bSopenharmony_ci
2999a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RIPEMD160)
3000a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_RIPEMD160", config ) == 0 )
3001a8e1175bSopenharmony_ci    {
3002a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_RIPEMD160 );
3003a8e1175bSopenharmony_ci        return( 0 );
3004a8e1175bSopenharmony_ci    }
3005a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RIPEMD160 */
3006a8e1175bSopenharmony_ci
3007a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_OAEP)
3008a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_RSA_OAEP", config ) == 0 )
3009a8e1175bSopenharmony_ci    {
3010a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_RSA_OAEP );
3011a8e1175bSopenharmony_ci        return( 0 );
3012a8e1175bSopenharmony_ci    }
3013a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_OAEP */
3014a8e1175bSopenharmony_ci
3015a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PKCS1V15_CRYPT)
3016a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_RSA_PKCS1V15_CRYPT", config ) == 0 )
3017a8e1175bSopenharmony_ci    {
3018a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_RSA_PKCS1V15_CRYPT );
3019a8e1175bSopenharmony_ci        return( 0 );
3020a8e1175bSopenharmony_ci    }
3021a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PKCS1V15_CRYPT */
3022a8e1175bSopenharmony_ci
3023a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN)
3024a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_RSA_PKCS1V15_SIGN", config ) == 0 )
3025a8e1175bSopenharmony_ci    {
3026a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_RSA_PKCS1V15_SIGN );
3027a8e1175bSopenharmony_ci        return( 0 );
3028a8e1175bSopenharmony_ci    }
3029a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PKCS1V15_SIGN */
3030a8e1175bSopenharmony_ci
3031a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PSS)
3032a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_RSA_PSS", config ) == 0 )
3033a8e1175bSopenharmony_ci    {
3034a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_RSA_PSS );
3035a8e1175bSopenharmony_ci        return( 0 );
3036a8e1175bSopenharmony_ci    }
3037a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PSS */
3038a8e1175bSopenharmony_ci
3039a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_1)
3040a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA_1", config ) == 0 )
3041a8e1175bSopenharmony_ci    {
3042a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA_1 );
3043a8e1175bSopenharmony_ci        return( 0 );
3044a8e1175bSopenharmony_ci    }
3045a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_1 */
3046a8e1175bSopenharmony_ci
3047a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_224)
3048a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA_224", config ) == 0 )
3049a8e1175bSopenharmony_ci    {
3050a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA_224 );
3051a8e1175bSopenharmony_ci        return( 0 );
3052a8e1175bSopenharmony_ci    }
3053a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_224 */
3054a8e1175bSopenharmony_ci
3055a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_256)
3056a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA_256", config ) == 0 )
3057a8e1175bSopenharmony_ci    {
3058a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA_256 );
3059a8e1175bSopenharmony_ci        return( 0 );
3060a8e1175bSopenharmony_ci    }
3061a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_256 */
3062a8e1175bSopenharmony_ci
3063a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_384)
3064a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA_384", config ) == 0 )
3065a8e1175bSopenharmony_ci    {
3066a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA_384 );
3067a8e1175bSopenharmony_ci        return( 0 );
3068a8e1175bSopenharmony_ci    }
3069a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_384 */
3070a8e1175bSopenharmony_ci
3071a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_512)
3072a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA_512", config ) == 0 )
3073a8e1175bSopenharmony_ci    {
3074a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA_512 );
3075a8e1175bSopenharmony_ci        return( 0 );
3076a8e1175bSopenharmony_ci    }
3077a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_512 */
3078a8e1175bSopenharmony_ci
3079a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_224)
3080a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA3_224", config ) == 0 )
3081a8e1175bSopenharmony_ci    {
3082a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA3_224 );
3083a8e1175bSopenharmony_ci        return( 0 );
3084a8e1175bSopenharmony_ci    }
3085a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_224 */
3086a8e1175bSopenharmony_ci
3087a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_256)
3088a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA3_256", config ) == 0 )
3089a8e1175bSopenharmony_ci    {
3090a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA3_256 );
3091a8e1175bSopenharmony_ci        return( 0 );
3092a8e1175bSopenharmony_ci    }
3093a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_256 */
3094a8e1175bSopenharmony_ci
3095a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_384)
3096a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA3_384", config ) == 0 )
3097a8e1175bSopenharmony_ci    {
3098a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA3_384 );
3099a8e1175bSopenharmony_ci        return( 0 );
3100a8e1175bSopenharmony_ci    }
3101a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_384 */
3102a8e1175bSopenharmony_ci
3103a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_512)
3104a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_SHA3_512", config ) == 0 )
3105a8e1175bSopenharmony_ci    {
3106a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_SHA3_512 );
3107a8e1175bSopenharmony_ci        return( 0 );
3108a8e1175bSopenharmony_ci    }
3109a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_512 */
3110a8e1175bSopenharmony_ci
3111a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_STREAM_CIPHER)
3112a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_STREAM_CIPHER", config ) == 0 )
3113a8e1175bSopenharmony_ci    {
3114a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_STREAM_CIPHER );
3115a8e1175bSopenharmony_ci        return( 0 );
3116a8e1175bSopenharmony_ci    }
3117a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_STREAM_CIPHER */
3118a8e1175bSopenharmony_ci
3119a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_PRF)
3120a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_TLS12_PRF", config ) == 0 )
3121a8e1175bSopenharmony_ci    {
3122a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_TLS12_PRF );
3123a8e1175bSopenharmony_ci        return( 0 );
3124a8e1175bSopenharmony_ci    }
3125a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_PRF */
3126a8e1175bSopenharmony_ci
3127a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_PSK_TO_MS)
3128a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_TLS12_PSK_TO_MS", config ) == 0 )
3129a8e1175bSopenharmony_ci    {
3130a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_TLS12_PSK_TO_MS );
3131a8e1175bSopenharmony_ci        return( 0 );
3132a8e1175bSopenharmony_ci    }
3133a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_PSK_TO_MS */
3134a8e1175bSopenharmony_ci
3135a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS)
3136a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS", config ) == 0 )
3137a8e1175bSopenharmony_ci    {
3138a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS );
3139a8e1175bSopenharmony_ci        return( 0 );
3140a8e1175bSopenharmony_ci    }
3141a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS */
3142a8e1175bSopenharmony_ci
3143a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_XTS)
3144a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ALG_XTS", config ) == 0 )
3145a8e1175bSopenharmony_ci    {
3146a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ALG_XTS );
3147a8e1175bSopenharmony_ci        return( 0 );
3148a8e1175bSopenharmony_ci    }
3149a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_XTS */
3150a8e1175bSopenharmony_ci
3151a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_256)
3152a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_BRAINPOOL_P_R1_256", config ) == 0 )
3153a8e1175bSopenharmony_ci    {
3154a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_BRAINPOOL_P_R1_256 );
3155a8e1175bSopenharmony_ci        return( 0 );
3156a8e1175bSopenharmony_ci    }
3157a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_256 */
3158a8e1175bSopenharmony_ci
3159a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_384)
3160a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_BRAINPOOL_P_R1_384", config ) == 0 )
3161a8e1175bSopenharmony_ci    {
3162a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_BRAINPOOL_P_R1_384 );
3163a8e1175bSopenharmony_ci        return( 0 );
3164a8e1175bSopenharmony_ci    }
3165a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_384 */
3166a8e1175bSopenharmony_ci
3167a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_512)
3168a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_BRAINPOOL_P_R1_512", config ) == 0 )
3169a8e1175bSopenharmony_ci    {
3170a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_BRAINPOOL_P_R1_512 );
3171a8e1175bSopenharmony_ci        return( 0 );
3172a8e1175bSopenharmony_ci    }
3173a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_512 */
3174a8e1175bSopenharmony_ci
3175a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_MONTGOMERY_255)
3176a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_MONTGOMERY_255", config ) == 0 )
3177a8e1175bSopenharmony_ci    {
3178a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_MONTGOMERY_255 );
3179a8e1175bSopenharmony_ci        return( 0 );
3180a8e1175bSopenharmony_ci    }
3181a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_MONTGOMERY_255 */
3182a8e1175bSopenharmony_ci
3183a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_MONTGOMERY_448)
3184a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_MONTGOMERY_448", config ) == 0 )
3185a8e1175bSopenharmony_ci    {
3186a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_MONTGOMERY_448 );
3187a8e1175bSopenharmony_ci        return( 0 );
3188a8e1175bSopenharmony_ci    }
3189a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_MONTGOMERY_448 */
3190a8e1175bSopenharmony_ci
3191a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_192)
3192a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_K1_192", config ) == 0 )
3193a8e1175bSopenharmony_ci    {
3194a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_K1_192 );
3195a8e1175bSopenharmony_ci        return( 0 );
3196a8e1175bSopenharmony_ci    }
3197a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_192 */
3198a8e1175bSopenharmony_ci
3199a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_224)
3200a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_K1_224", config ) == 0 )
3201a8e1175bSopenharmony_ci    {
3202a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_K1_224 );
3203a8e1175bSopenharmony_ci        return( 0 );
3204a8e1175bSopenharmony_ci    }
3205a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_224 */
3206a8e1175bSopenharmony_ci
3207a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_256)
3208a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_K1_256", config ) == 0 )
3209a8e1175bSopenharmony_ci    {
3210a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_K1_256 );
3211a8e1175bSopenharmony_ci        return( 0 );
3212a8e1175bSopenharmony_ci    }
3213a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_256 */
3214a8e1175bSopenharmony_ci
3215a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_192)
3216a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_R1_192", config ) == 0 )
3217a8e1175bSopenharmony_ci    {
3218a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_R1_192 );
3219a8e1175bSopenharmony_ci        return( 0 );
3220a8e1175bSopenharmony_ci    }
3221a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_192 */
3222a8e1175bSopenharmony_ci
3223a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_224)
3224a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_R1_224", config ) == 0 )
3225a8e1175bSopenharmony_ci    {
3226a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_R1_224 );
3227a8e1175bSopenharmony_ci        return( 0 );
3228a8e1175bSopenharmony_ci    }
3229a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_224 */
3230a8e1175bSopenharmony_ci
3231a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_256)
3232a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_R1_256", config ) == 0 )
3233a8e1175bSopenharmony_ci    {
3234a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_R1_256 );
3235a8e1175bSopenharmony_ci        return( 0 );
3236a8e1175bSopenharmony_ci    }
3237a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_256 */
3238a8e1175bSopenharmony_ci
3239a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_384)
3240a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_R1_384", config ) == 0 )
3241a8e1175bSopenharmony_ci    {
3242a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_R1_384 );
3243a8e1175bSopenharmony_ci        return( 0 );
3244a8e1175bSopenharmony_ci    }
3245a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_384 */
3246a8e1175bSopenharmony_ci
3247a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_521)
3248a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_ECC_SECP_R1_521", config ) == 0 )
3249a8e1175bSopenharmony_ci    {
3250a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_ECC_SECP_R1_521 );
3251a8e1175bSopenharmony_ci        return( 0 );
3252a8e1175bSopenharmony_ci    }
3253a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_521 */
3254a8e1175bSopenharmony_ci
3255a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_2048)
3256a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_DH_RFC7919_2048", config ) == 0 )
3257a8e1175bSopenharmony_ci    {
3258a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_DH_RFC7919_2048 );
3259a8e1175bSopenharmony_ci        return( 0 );
3260a8e1175bSopenharmony_ci    }
3261a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_2048 */
3262a8e1175bSopenharmony_ci
3263a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_3072)
3264a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_DH_RFC7919_3072", config ) == 0 )
3265a8e1175bSopenharmony_ci    {
3266a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_DH_RFC7919_3072 );
3267a8e1175bSopenharmony_ci        return( 0 );
3268a8e1175bSopenharmony_ci    }
3269a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_3072 */
3270a8e1175bSopenharmony_ci
3271a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_4096)
3272a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_DH_RFC7919_4096", config ) == 0 )
3273a8e1175bSopenharmony_ci    {
3274a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_DH_RFC7919_4096 );
3275a8e1175bSopenharmony_ci        return( 0 );
3276a8e1175bSopenharmony_ci    }
3277a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_4096 */
3278a8e1175bSopenharmony_ci
3279a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_6144)
3280a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_DH_RFC7919_6144", config ) == 0 )
3281a8e1175bSopenharmony_ci    {
3282a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_DH_RFC7919_6144 );
3283a8e1175bSopenharmony_ci        return( 0 );
3284a8e1175bSopenharmony_ci    }
3285a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_6144 */
3286a8e1175bSopenharmony_ci
3287a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_8192)
3288a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_DH_RFC7919_8192", config ) == 0 )
3289a8e1175bSopenharmony_ci    {
3290a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_DH_RFC7919_8192 );
3291a8e1175bSopenharmony_ci        return( 0 );
3292a8e1175bSopenharmony_ci    }
3293a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_8192 */
3294a8e1175bSopenharmony_ci
3295a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DERIVE)
3296a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DERIVE", config ) == 0 )
3297a8e1175bSopenharmony_ci    {
3298a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DERIVE );
3299a8e1175bSopenharmony_ci        return( 0 );
3300a8e1175bSopenharmony_ci    }
3301a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DERIVE */
3302a8e1175bSopenharmony_ci
3303a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_PASSWORD)
3304a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_PASSWORD", config ) == 0 )
3305a8e1175bSopenharmony_ci    {
3306a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_PASSWORD );
3307a8e1175bSopenharmony_ci        return( 0 );
3308a8e1175bSopenharmony_ci    }
3309a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_PASSWORD */
3310a8e1175bSopenharmony_ci
3311a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_PASSWORD_HASH)
3312a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_PASSWORD_HASH", config ) == 0 )
3313a8e1175bSopenharmony_ci    {
3314a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_PASSWORD_HASH );
3315a8e1175bSopenharmony_ci        return( 0 );
3316a8e1175bSopenharmony_ci    }
3317a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_PASSWORD_HASH */
3318a8e1175bSopenharmony_ci
3319a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_HMAC)
3320a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_HMAC", config ) == 0 )
3321a8e1175bSopenharmony_ci    {
3322a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_HMAC );
3323a8e1175bSopenharmony_ci        return( 0 );
3324a8e1175bSopenharmony_ci    }
3325a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_HMAC */
3326a8e1175bSopenharmony_ci
3327a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_AES)
3328a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_AES", config ) == 0 )
3329a8e1175bSopenharmony_ci    {
3330a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_AES );
3331a8e1175bSopenharmony_ci        return( 0 );
3332a8e1175bSopenharmony_ci    }
3333a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_AES */
3334a8e1175bSopenharmony_ci
3335a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ARIA)
3336a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ARIA", config ) == 0 )
3337a8e1175bSopenharmony_ci    {
3338a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ARIA );
3339a8e1175bSopenharmony_ci        return( 0 );
3340a8e1175bSopenharmony_ci    }
3341a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ARIA */
3342a8e1175bSopenharmony_ci
3343a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_CAMELLIA)
3344a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_CAMELLIA", config ) == 0 )
3345a8e1175bSopenharmony_ci    {
3346a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_CAMELLIA );
3347a8e1175bSopenharmony_ci        return( 0 );
3348a8e1175bSopenharmony_ci    }
3349a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_CAMELLIA */
3350a8e1175bSopenharmony_ci
3351a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_CHACHA20)
3352a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_CHACHA20", config ) == 0 )
3353a8e1175bSopenharmony_ci    {
3354a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_CHACHA20 );
3355a8e1175bSopenharmony_ci        return( 0 );
3356a8e1175bSopenharmony_ci    }
3357a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_CHACHA20 */
3358a8e1175bSopenharmony_ci
3359a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DES)
3360a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DES", config ) == 0 )
3361a8e1175bSopenharmony_ci    {
3362a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DES );
3363a8e1175bSopenharmony_ci        return( 0 );
3364a8e1175bSopenharmony_ci    }
3365a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DES */
3366a8e1175bSopenharmony_ci
3367a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR)
3368a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR", config ) == 0 )
3369a8e1175bSopenharmony_ci    {
3370a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR );
3371a8e1175bSopenharmony_ci        return( 0 );
3372a8e1175bSopenharmony_ci    }
3373a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR */
3374a8e1175bSopenharmony_ci
3375a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY)
3376a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY", config ) == 0 )
3377a8e1175bSopenharmony_ci    {
3378a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY );
3379a8e1175bSopenharmony_ci        return( 0 );
3380a8e1175bSopenharmony_ci    }
3381a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY */
3382a8e1175bSopenharmony_ci
3383a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY)
3384a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY", config ) == 0 )
3385a8e1175bSopenharmony_ci    {
3386a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY );
3387a8e1175bSopenharmony_ci        return( 0 );
3388a8e1175bSopenharmony_ci    }
3389a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY */
3390a8e1175bSopenharmony_ci
3391a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RAW_DATA)
3392a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RAW_DATA", config ) == 0 )
3393a8e1175bSopenharmony_ci    {
3394a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RAW_DATA );
3395a8e1175bSopenharmony_ci        return( 0 );
3396a8e1175bSopenharmony_ci    }
3397a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RAW_DATA */
3398a8e1175bSopenharmony_ci
3399a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR)
3400a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR", config ) == 0 )
3401a8e1175bSopenharmony_ci    {
3402a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR );
3403a8e1175bSopenharmony_ci        return( 0 );
3404a8e1175bSopenharmony_ci    }
3405a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR */
3406a8e1175bSopenharmony_ci
3407a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY)
3408a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY", config ) == 0 )
3409a8e1175bSopenharmony_ci    {
3410a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY );
3411a8e1175bSopenharmony_ci        return( 0 );
3412a8e1175bSopenharmony_ci    }
3413a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY */
3414a8e1175bSopenharmony_ci
3415a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC)
3416a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC", config ) == 0 )
3417a8e1175bSopenharmony_ci    {
3418a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC );
3419a8e1175bSopenharmony_ci        return( 0 );
3420a8e1175bSopenharmony_ci    }
3421a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC */
3422a8e1175bSopenharmony_ci
3423a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT)
3424a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT", config ) == 0 )
3425a8e1175bSopenharmony_ci    {
3426a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT );
3427a8e1175bSopenharmony_ci        return( 0 );
3428a8e1175bSopenharmony_ci    }
3429a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT */
3430a8e1175bSopenharmony_ci
3431a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT)
3432a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT", config ) == 0 )
3433a8e1175bSopenharmony_ci    {
3434a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT );
3435a8e1175bSopenharmony_ci        return( 0 );
3436a8e1175bSopenharmony_ci    }
3437a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT */
3438a8e1175bSopenharmony_ci
3439a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE)
3440a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE", config ) == 0 )
3441a8e1175bSopenharmony_ci    {
3442a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE );
3443a8e1175bSopenharmony_ci        return( 0 );
3444a8e1175bSopenharmony_ci    }
3445a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE */
3446a8e1175bSopenharmony_ci
3447a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE)
3448a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE", config ) == 0 )
3449a8e1175bSopenharmony_ci    {
3450a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE );
3451a8e1175bSopenharmony_ci        return( 0 );
3452a8e1175bSopenharmony_ci    }
3453a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE */
3454a8e1175bSopenharmony_ci
3455a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC)
3456a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC", config ) == 0 )
3457a8e1175bSopenharmony_ci    {
3458a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC );
3459a8e1175bSopenharmony_ci        return( 0 );
3460a8e1175bSopenharmony_ci    }
3461a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC */
3462a8e1175bSopenharmony_ci
3463a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT)
3464a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT", config ) == 0 )
3465a8e1175bSopenharmony_ci    {
3466a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT );
3467a8e1175bSopenharmony_ci        return( 0 );
3468a8e1175bSopenharmony_ci    }
3469a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT */
3470a8e1175bSopenharmony_ci
3471a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT)
3472a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT", config ) == 0 )
3473a8e1175bSopenharmony_ci    {
3474a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT );
3475a8e1175bSopenharmony_ci        return( 0 );
3476a8e1175bSopenharmony_ci    }
3477a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT */
3478a8e1175bSopenharmony_ci
3479a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE)
3480a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE", config ) == 0 )
3481a8e1175bSopenharmony_ci    {
3482a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE );
3483a8e1175bSopenharmony_ci        return( 0 );
3484a8e1175bSopenharmony_ci    }
3485a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE */
3486a8e1175bSopenharmony_ci
3487a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE)
3488a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE", config ) == 0 )
3489a8e1175bSopenharmony_ci    {
3490a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE );
3491a8e1175bSopenharmony_ci        return( 0 );
3492a8e1175bSopenharmony_ci    }
3493a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE */
3494a8e1175bSopenharmony_ci
3495a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC)
3496a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC", config ) == 0 )
3497a8e1175bSopenharmony_ci    {
3498a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC );
3499a8e1175bSopenharmony_ci        return( 0 );
3500a8e1175bSopenharmony_ci    }
3501a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC */
3502a8e1175bSopenharmony_ci
3503a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT)
3504a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT", config ) == 0 )
3505a8e1175bSopenharmony_ci    {
3506a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT );
3507a8e1175bSopenharmony_ci        return( 0 );
3508a8e1175bSopenharmony_ci    }
3509a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT */
3510a8e1175bSopenharmony_ci
3511a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT)
3512a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT", config ) == 0 )
3513a8e1175bSopenharmony_ci    {
3514a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT );
3515a8e1175bSopenharmony_ci        return( 0 );
3516a8e1175bSopenharmony_ci    }
3517a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT */
3518a8e1175bSopenharmony_ci
3519a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE)
3520a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE", config ) == 0 )
3521a8e1175bSopenharmony_ci    {
3522a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE );
3523a8e1175bSopenharmony_ci        return( 0 );
3524a8e1175bSopenharmony_ci    }
3525a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE */
3526a8e1175bSopenharmony_ci
3527a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE)
3528a8e1175bSopenharmony_ci    if( strcmp( "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE", config ) == 0 )
3529a8e1175bSopenharmony_ci    {
3530a8e1175bSopenharmony_ci        MACRO_EXPANSION_TO_STR( PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE );
3531a8e1175bSopenharmony_ci        return( 0 );
3532a8e1175bSopenharmony_ci    }
3533a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE */
3534a8e1175bSopenharmony_ci
3535a8e1175bSopenharmony_ci /* If the symbol is not found, return an error */
3536a8e1175bSopenharmony_ci    return 1;
3537a8e1175bSopenharmony_ci}
3538a8e1175bSopenharmony_ci
3539a8e1175bSopenharmony_civoid list_config(void)
3540a8e1175bSopenharmony_ci{
3541a8e1175bSopenharmony_ci    #if defined(MBEDTLS_CONFIG_VERSION)
3542a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CONFIG_VERSION);
3543a8e1175bSopenharmony_ci#endif /* MBEDTLS_CONFIG_VERSION */
3544a8e1175bSopenharmony_ci
3545a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_ASM)
3546a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HAVE_ASM);
3547a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_ASM */
3548a8e1175bSopenharmony_ci
3549a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_UDBL_DIVISION)
3550a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NO_UDBL_DIVISION);
3551a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_UDBL_DIVISION */
3552a8e1175bSopenharmony_ci
3553a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION)
3554a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NO_64BIT_MULTIPLICATION);
3555a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_64BIT_MULTIPLICATION */
3556a8e1175bSopenharmony_ci
3557a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_SSE2)
3558a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HAVE_SSE2);
3559a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_SSE2 */
3560a8e1175bSopenharmony_ci
3561a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME)
3562a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HAVE_TIME);
3563a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME */
3564a8e1175bSopenharmony_ci
3565a8e1175bSopenharmony_ci#if defined(MBEDTLS_HAVE_TIME_DATE)
3566a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HAVE_TIME_DATE);
3567a8e1175bSopenharmony_ci#endif /* MBEDTLS_HAVE_TIME_DATE */
3568a8e1175bSopenharmony_ci
3569a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MEMORY)
3570a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_MEMORY);
3571a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MEMORY */
3572a8e1175bSopenharmony_ci
3573a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
3574a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS);
3575a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
3576a8e1175bSopenharmony_ci
3577a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETBUF_ALT)
3578a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_SETBUF_ALT);
3579a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETBUF_ALT */
3580a8e1175bSopenharmony_ci
3581a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_EXIT_ALT)
3582a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_EXIT_ALT);
3583a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_EXIT_ALT */
3584a8e1175bSopenharmony_ci
3585a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_ALT)
3586a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_TIME_ALT);
3587a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_ALT */
3588a8e1175bSopenharmony_ci
3589a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
3590a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_FPRINTF_ALT);
3591a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
3592a8e1175bSopenharmony_ci
3593a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
3594a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_PRINTF_ALT);
3595a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
3596a8e1175bSopenharmony_ci
3597a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
3598a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_SNPRINTF_ALT);
3599a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
3600a8e1175bSopenharmony_ci
3601a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
3602a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_VSNPRINTF_ALT);
3603a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
3604a8e1175bSopenharmony_ci
3605a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
3606a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_NV_SEED_ALT);
3607a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
3608a8e1175bSopenharmony_ci
3609a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
3610a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT);
3611a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
3612a8e1175bSopenharmony_ci
3613a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT)
3614a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_MS_TIME_ALT);
3615a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MS_TIME_ALT */
3616a8e1175bSopenharmony_ci
3617a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
3618a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_GMTIME_R_ALT);
3619a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
3620a8e1175bSopenharmony_ci
3621a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT)
3622a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_ZEROIZE_ALT);
3623a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
3624a8e1175bSopenharmony_ci
3625a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_WARNING)
3626a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DEPRECATED_WARNING);
3627a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_WARNING */
3628a8e1175bSopenharmony_ci
3629a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEPRECATED_REMOVED)
3630a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DEPRECATED_REMOVED);
3631a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEPRECATED_REMOVED */
3632a8e1175bSopenharmony_ci
3633a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_ALT)
3634a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_TIMING_ALT);
3635a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_ALT */
3636a8e1175bSopenharmony_ci
3637a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ALT)
3638a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_ALT);
3639a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ALT */
3640a8e1175bSopenharmony_ci
3641a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_ALT)
3642a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ARIA_ALT);
3643a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_ALT */
3644a8e1175bSopenharmony_ci
3645a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_ALT)
3646a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CAMELLIA_ALT);
3647a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_ALT */
3648a8e1175bSopenharmony_ci
3649a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_ALT)
3650a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CCM_ALT);
3651a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_ALT */
3652a8e1175bSopenharmony_ci
3653a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_ALT)
3654a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHACHA20_ALT);
3655a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_ALT */
3656a8e1175bSopenharmony_ci
3657a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_ALT)
3658a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHACHAPOLY_ALT);
3659a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_ALT */
3660a8e1175bSopenharmony_ci
3661a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_ALT)
3662a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CMAC_ALT);
3663a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_ALT */
3664a8e1175bSopenharmony_ci
3665a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_ALT)
3666a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DES_ALT);
3667a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_ALT */
3668a8e1175bSopenharmony_ci
3669a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_ALT)
3670a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DHM_ALT);
3671a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_ALT */
3672a8e1175bSopenharmony_ci
3673a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_ALT)
3674a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECJPAKE_ALT);
3675a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_ALT */
3676a8e1175bSopenharmony_ci
3677a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_ALT)
3678a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_GCM_ALT);
3679a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_ALT */
3680a8e1175bSopenharmony_ci
3681a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_ALT)
3682a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NIST_KW_ALT);
3683a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_ALT */
3684a8e1175bSopenharmony_ci
3685a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_ALT)
3686a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MD5_ALT);
3687a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_ALT */
3688a8e1175bSopenharmony_ci
3689a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_ALT)
3690a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_POLY1305_ALT);
3691a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_ALT */
3692a8e1175bSopenharmony_ci
3693a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_ALT)
3694a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RIPEMD160_ALT);
3695a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_ALT */
3696a8e1175bSopenharmony_ci
3697a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_ALT)
3698a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RSA_ALT);
3699a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_ALT */
3700a8e1175bSopenharmony_ci
3701a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_ALT)
3702a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA1_ALT);
3703a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_ALT */
3704a8e1175bSopenharmony_ci
3705a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_ALT)
3706a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_ALT);
3707a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_ALT */
3708a8e1175bSopenharmony_ci
3709a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_ALT)
3710a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_ALT);
3711a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_ALT */
3712a8e1175bSopenharmony_ci
3713a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ALT)
3714a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_ALT);
3715a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ALT */
3716a8e1175bSopenharmony_ci
3717a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_PROCESS_ALT)
3718a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MD5_PROCESS_ALT);
3719a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_PROCESS_ALT */
3720a8e1175bSopenharmony_ci
3721a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
3722a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RIPEMD160_PROCESS_ALT);
3723a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
3724a8e1175bSopenharmony_ci
3725a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_PROCESS_ALT)
3726a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA1_PROCESS_ALT);
3727a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_PROCESS_ALT */
3728a8e1175bSopenharmony_ci
3729a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_PROCESS_ALT)
3730a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_PROCESS_ALT);
3731a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_PROCESS_ALT */
3732a8e1175bSopenharmony_ci
3733a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_PROCESS_ALT)
3734a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_PROCESS_ALT);
3735a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_PROCESS_ALT */
3736a8e1175bSopenharmony_ci
3737a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_SETKEY_ALT)
3738a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DES_SETKEY_ALT);
3739a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_SETKEY_ALT */
3740a8e1175bSopenharmony_ci
3741a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
3742a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DES_CRYPT_ECB_ALT);
3743a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
3744a8e1175bSopenharmony_ci
3745a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
3746a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DES3_CRYPT_ECB_ALT);
3747a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
3748a8e1175bSopenharmony_ci
3749a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
3750a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_SETKEY_ENC_ALT);
3751a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
3752a8e1175bSopenharmony_ci
3753a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
3754a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_SETKEY_DEC_ALT);
3755a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
3756a8e1175bSopenharmony_ci
3757a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ENCRYPT_ALT)
3758a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_ENCRYPT_ALT);
3759a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ENCRYPT_ALT */
3760a8e1175bSopenharmony_ci
3761a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_DECRYPT_ALT)
3762a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_DECRYPT_ALT);
3763a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_DECRYPT_ALT */
3764a8e1175bSopenharmony_ci
3765a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
3766a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDH_GEN_PUBLIC_ALT);
3767a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_GEN_PUBLIC_ALT */
3768a8e1175bSopenharmony_ci
3769a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT)
3770a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDH_COMPUTE_SHARED_ALT);
3771a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_COMPUTE_SHARED_ALT */
3772a8e1175bSopenharmony_ci
3773a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_VERIFY_ALT)
3774a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDSA_VERIFY_ALT);
3775a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_VERIFY_ALT */
3776a8e1175bSopenharmony_ci
3777a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_SIGN_ALT)
3778a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDSA_SIGN_ALT);
3779a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_SIGN_ALT */
3780a8e1175bSopenharmony_ci
3781a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_GENKEY_ALT)
3782a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDSA_GENKEY_ALT);
3783a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
3784a8e1175bSopenharmony_ci
3785a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_INTERNAL_ALT)
3786a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_INTERNAL_ALT);
3787a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_INTERNAL_ALT */
3788a8e1175bSopenharmony_ci
3789a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NO_FALLBACK)
3790a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_NO_FALLBACK);
3791a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NO_FALLBACK */
3792a8e1175bSopenharmony_ci
3793a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT)
3794a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_RANDOMIZE_JAC_ALT);
3795a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_JAC_ALT */
3796a8e1175bSopenharmony_ci
3797a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_ADD_MIXED_ALT)
3798a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_ADD_MIXED_ALT);
3799a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_ADD_MIXED_ALT */
3800a8e1175bSopenharmony_ci
3801a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT)
3802a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DOUBLE_JAC_ALT);
3803a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_JAC_ALT */
3804a8e1175bSopenharmony_ci
3805a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT)
3806a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT);
3807a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT */
3808a8e1175bSopenharmony_ci
3809a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT)
3810a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_NORMALIZE_JAC_ALT);
3811a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_JAC_ALT */
3812a8e1175bSopenharmony_ci
3813a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT)
3814a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT);
3815a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT */
3816a8e1175bSopenharmony_ci
3817a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
3818a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT);
3819a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
3820a8e1175bSopenharmony_ci
3821a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT)
3822a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_NORMALIZE_MXZ_ALT);
3823a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NORMALIZE_MXZ_ALT */
3824a8e1175bSopenharmony_ci
3825a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
3826a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_HARDWARE_ALT);
3827a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
3828a8e1175bSopenharmony_ci
3829a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ROM_TABLES)
3830a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_ROM_TABLES);
3831a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ROM_TABLES */
3832a8e1175bSopenharmony_ci
3833a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_FEWER_TABLES)
3834a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_FEWER_TABLES);
3835a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_FEWER_TABLES */
3836a8e1175bSopenharmony_ci
3837a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)
3838a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH);
3839a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH */
3840a8e1175bSopenharmony_ci
3841a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
3842a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_USE_HARDWARE_ONLY);
3843a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_USE_HARDWARE_ONLY */
3844a8e1175bSopenharmony_ci
3845a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
3846a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CAMELLIA_SMALL_MEMORY);
3847a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
3848a8e1175bSopenharmony_ci
3849a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHECK_RETURN_WARNING)
3850a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHECK_RETURN_WARNING);
3851a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHECK_RETURN_WARNING */
3852a8e1175bSopenharmony_ci
3853a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CBC)
3854a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_MODE_CBC);
3855a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CBC */
3856a8e1175bSopenharmony_ci
3857a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CFB)
3858a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_MODE_CFB);
3859a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CFB */
3860a8e1175bSopenharmony_ci
3861a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_CTR)
3862a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_MODE_CTR);
3863a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_CTR */
3864a8e1175bSopenharmony_ci
3865a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_OFB)
3866a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_MODE_OFB);
3867a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_OFB */
3868a8e1175bSopenharmony_ci
3869a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_MODE_XTS)
3870a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_MODE_XTS);
3871a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_MODE_XTS */
3872a8e1175bSopenharmony_ci
3873a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_NULL_CIPHER)
3874a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_NULL_CIPHER);
3875a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_NULL_CIPHER */
3876a8e1175bSopenharmony_ci
3877a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
3878a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_PADDING_PKCS7);
3879a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
3880a8e1175bSopenharmony_ci
3881a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
3882a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS);
3883a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
3884a8e1175bSopenharmony_ci
3885a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
3886a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN);
3887a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
3888a8e1175bSopenharmony_ci
3889a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
3890a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_PADDING_ZEROS);
3891a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
3892a8e1175bSopenharmony_ci
3893a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
3894a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY);
3895a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
3896a8e1175bSopenharmony_ci
3897a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
3898a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED);
3899a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
3900a8e1175bSopenharmony_ci
3901a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
3902a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP192R1_ENABLED);
3903a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
3904a8e1175bSopenharmony_ci
3905a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
3906a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP224R1_ENABLED);
3907a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
3908a8e1175bSopenharmony_ci
3909a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
3910a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP256R1_ENABLED);
3911a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
3912a8e1175bSopenharmony_ci
3913a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
3914a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP384R1_ENABLED);
3915a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
3916a8e1175bSopenharmony_ci
3917a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
3918a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP521R1_ENABLED);
3919a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
3920a8e1175bSopenharmony_ci
3921a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
3922a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP192K1_ENABLED);
3923a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
3924a8e1175bSopenharmony_ci
3925a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
3926a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP224K1_ENABLED);
3927a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
3928a8e1175bSopenharmony_ci
3929a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
3930a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_SECP256K1_ENABLED);
3931a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
3932a8e1175bSopenharmony_ci
3933a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
3934a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_BP256R1_ENABLED);
3935a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
3936a8e1175bSopenharmony_ci
3937a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
3938a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_BP384R1_ENABLED);
3939a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
3940a8e1175bSopenharmony_ci
3941a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
3942a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_BP512R1_ENABLED);
3943a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
3944a8e1175bSopenharmony_ci
3945a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
3946a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_CURVE25519_ENABLED);
3947a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
3948a8e1175bSopenharmony_ci
3949a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
3950a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_DP_CURVE448_ENABLED);
3951a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
3952a8e1175bSopenharmony_ci
3953a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_NIST_OPTIM)
3954a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_NIST_OPTIM);
3955a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_NIST_OPTIM */
3956a8e1175bSopenharmony_ci
3957a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_RESTARTABLE)
3958a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_RESTARTABLE);
3959a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_RESTARTABLE */
3960a8e1175bSopenharmony_ci
3961a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
3962a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_WITH_MPI_UINT);
3963a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_WITH_MPI_UINT */
3964a8e1175bSopenharmony_ci
3965a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
3966a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDSA_DETERMINISTIC);
3967a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_DETERMINISTIC */
3968a8e1175bSopenharmony_ci
3969a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
3970a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED);
3971a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
3972a8e1175bSopenharmony_ci
3973a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
3974a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED);
3975a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
3976a8e1175bSopenharmony_ci
3977a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
3978a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED);
3979a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
3980a8e1175bSopenharmony_ci
3981a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
3982a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED);
3983a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
3984a8e1175bSopenharmony_ci
3985a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
3986a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED);
3987a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
3988a8e1175bSopenharmony_ci
3989a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
3990a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED);
3991a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
3992a8e1175bSopenharmony_ci
3993a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
3994a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED);
3995a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
3996a8e1175bSopenharmony_ci
3997a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
3998a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED);
3999a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
4000a8e1175bSopenharmony_ci
4001a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
4002a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED);
4003a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
4004a8e1175bSopenharmony_ci
4005a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
4006a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED);
4007a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
4008a8e1175bSopenharmony_ci
4009a8e1175bSopenharmony_ci#if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
4010a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED);
4011a8e1175bSopenharmony_ci#endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
4012a8e1175bSopenharmony_ci
4013a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
4014a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_PARSE_EC_EXTENDED);
4015a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
4016a8e1175bSopenharmony_ci
4017a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED)
4018a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_PARSE_EC_COMPRESSED);
4019a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_EC_COMPRESSED */
4020a8e1175bSopenharmony_ci
4021a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
4022a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ERROR_STRERROR_DUMMY);
4023a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
4024a8e1175bSopenharmony_ci
4025a8e1175bSopenharmony_ci#if defined(MBEDTLS_GENPRIME)
4026a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_GENPRIME);
4027a8e1175bSopenharmony_ci#endif /* MBEDTLS_GENPRIME */
4028a8e1175bSopenharmony_ci
4029a8e1175bSopenharmony_ci#if defined(MBEDTLS_FS_IO)
4030a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_FS_IO);
4031a8e1175bSopenharmony_ci#endif /* MBEDTLS_FS_IO */
4032a8e1175bSopenharmony_ci
4033a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
4034a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES);
4035a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
4036a8e1175bSopenharmony_ci
4037a8e1175bSopenharmony_ci#if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
4038a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NO_PLATFORM_ENTROPY);
4039a8e1175bSopenharmony_ci#endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
4040a8e1175bSopenharmony_ci
4041a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
4042a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_FORCE_SHA256);
4043a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
4044a8e1175bSopenharmony_ci
4045a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_NV_SEED)
4046a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_NV_SEED);
4047a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_NV_SEED */
4048a8e1175bSopenharmony_ci
4049a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
4050a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER);
4051a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
4052a8e1175bSopenharmony_ci
4053a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_DEBUG)
4054a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_DEBUG);
4055a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_DEBUG */
4056a8e1175bSopenharmony_ci
4057a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BACKTRACE)
4058a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_BACKTRACE);
4059a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BACKTRACE */
4060a8e1175bSopenharmony_ci
4061a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
4062a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_RSA_ALT_SUPPORT);
4063a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
4064a8e1175bSopenharmony_ci
4065a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V15)
4066a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PKCS1_V15);
4067a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V15 */
4068a8e1175bSopenharmony_ci
4069a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS1_V21)
4070a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PKCS1_V21);
4071a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS1_V21 */
4072a8e1175bSopenharmony_ci
4073a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
4074a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS);
4075a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
4076a8e1175bSopenharmony_ci
4077a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
4078a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_CLIENT);
4079a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
4080a8e1175bSopenharmony_ci
4081a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
4082a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG);
4083a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */
4084a8e1175bSopenharmony_ci
4085a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SPM)
4086a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_SPM);
4087a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SPM */
4088a8e1175bSopenharmony_ci
4089a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
4090a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_P256M_DRIVER_ENABLED);
4091a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_P256M_DRIVER_ENABLED */
4092a8e1175bSopenharmony_ci
4093a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_INJECT_ENTROPY)
4094a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_INJECT_ENTROPY);
4095a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_INJECT_ENTROPY */
4096a8e1175bSopenharmony_ci
4097a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)
4098a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS);
4099a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS */
4100a8e1175bSopenharmony_ci
4101a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_NO_CRT)
4102a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RSA_NO_CRT);
4103a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_NO_CRT */
4104a8e1175bSopenharmony_ci
4105a8e1175bSopenharmony_ci#if defined(MBEDTLS_SELF_TEST)
4106a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SELF_TEST);
4107a8e1175bSopenharmony_ci#endif /* MBEDTLS_SELF_TEST */
4108a8e1175bSopenharmony_ci
4109a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_SMALLER)
4110a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_SMALLER);
4111a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_SMALLER */
4112a8e1175bSopenharmony_ci
4113a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_SMALLER)
4114a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_SMALLER);
4115a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_SMALLER */
4116a8e1175bSopenharmony_ci
4117a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
4118a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_ALL_ALERT_MESSAGES);
4119a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
4120a8e1175bSopenharmony_ci
4121a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
4122a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_CONNECTION_ID);
4123a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
4124a8e1175bSopenharmony_ci
4125a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT)
4126a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT);
4127a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT */
4128a8e1175bSopenharmony_ci
4129a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
4130a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_ASYNC_PRIVATE);
4131a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
4132a8e1175bSopenharmony_ci
4133a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
4134a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CONTEXT_SERIALIZATION);
4135a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CONTEXT_SERIALIZATION */
4136a8e1175bSopenharmony_ci
4137a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DEBUG_ALL)
4138a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DEBUG_ALL);
4139a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DEBUG_ALL */
4140a8e1175bSopenharmony_ci
4141a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
4142a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_ENCRYPT_THEN_MAC);
4143a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
4144a8e1175bSopenharmony_ci
4145a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
4146a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_EXTENDED_MASTER_SECRET);
4147a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
4148a8e1175bSopenharmony_ci
4149a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
4150a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE);
4151a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
4152a8e1175bSopenharmony_ci
4153a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RENEGOTIATION)
4154a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_RENEGOTIATION);
4155a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RENEGOTIATION */
4156a8e1175bSopenharmony_ci
4157a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
4158a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH);
4159a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
4160a8e1175bSopenharmony_ci
4161a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
4162a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_RECORD_SIZE_LIMIT);
4163a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
4164a8e1175bSopenharmony_ci
4165a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_2)
4166a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_PROTO_TLS1_2);
4167a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
4168a8e1175bSopenharmony_ci
4169a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
4170a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_PROTO_TLS1_3);
4171a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
4172a8e1175bSopenharmony_ci
4173a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
4174a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE);
4175a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
4176a8e1175bSopenharmony_ci
4177a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED)
4178a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED);
4179a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED */
4180a8e1175bSopenharmony_ci
4181a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED)
4182a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED);
4183a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED */
4184a8e1175bSopenharmony_ci
4185a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED)
4186a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED);
4187a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED */
4188a8e1175bSopenharmony_ci
4189a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_EARLY_DATA)
4190a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_EARLY_DATA);
4191a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_EARLY_DATA */
4192a8e1175bSopenharmony_ci
4193a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_DTLS)
4194a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_PROTO_DTLS);
4195a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_DTLS */
4196a8e1175bSopenharmony_ci
4197a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_ALPN)
4198a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_ALPN);
4199a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_ALPN */
4200a8e1175bSopenharmony_ci
4201a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
4202a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_ANTI_REPLAY);
4203a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
4204a8e1175bSopenharmony_ci
4205a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
4206a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_HELLO_VERIFY);
4207a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
4208a8e1175bSopenharmony_ci
4209a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_SRTP)
4210a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_SRTP);
4211a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_SRTP */
4212a8e1175bSopenharmony_ci
4213a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
4214a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE);
4215a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
4216a8e1175bSopenharmony_ci
4217a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SESSION_TICKETS)
4218a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_SESSION_TICKETS);
4219a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SESSION_TICKETS */
4220a8e1175bSopenharmony_ci
4221a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
4222a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_SERVER_NAME_INDICATION);
4223a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
4224a8e1175bSopenharmony_ci
4225a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH)
4226a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH);
4227a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH */
4228a8e1175bSopenharmony_ci
4229a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN)
4230a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN);
4231a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN */
4232a8e1175bSopenharmony_ci
4233a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND)
4234a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND);
4235a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND */
4236a8e1175bSopenharmony_ci
4237a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_HOOKS)
4238a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_TEST_HOOKS);
4239a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_HOOKS */
4240a8e1175bSopenharmony_ci
4241a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_ALT)
4242a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_THREADING_ALT);
4243a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_ALT */
4244a8e1175bSopenharmony_ci
4245a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_PTHREAD)
4246a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_THREADING_PTHREAD);
4247a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_PTHREAD */
4248a8e1175bSopenharmony_ci
4249a8e1175bSopenharmony_ci#if defined(MBEDTLS_USE_PSA_CRYPTO)
4250a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_USE_PSA_CRYPTO);
4251a8e1175bSopenharmony_ci#endif /* MBEDTLS_USE_PSA_CRYPTO */
4252a8e1175bSopenharmony_ci
4253a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
4254a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_CONFIG);
4255a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
4256a8e1175bSopenharmony_ci
4257a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_FEATURES)
4258a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_VERSION_FEATURES);
4259a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_FEATURES */
4260a8e1175bSopenharmony_ci
4261a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK)
4262a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK);
4263a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK */
4264a8e1175bSopenharmony_ci
4265a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_REMOVE_INFO)
4266a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_REMOVE_INFO);
4267a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_REMOVE_INFO */
4268a8e1175bSopenharmony_ci
4269a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
4270a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_RSASSA_PSS_SUPPORT);
4271a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
4272a8e1175bSopenharmony_ci
4273a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESNI_C)
4274a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AESNI_C);
4275a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESNI_C */
4276a8e1175bSopenharmony_ci
4277a8e1175bSopenharmony_ci#if defined(MBEDTLS_AESCE_C)
4278a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AESCE_C);
4279a8e1175bSopenharmony_ci#endif /* MBEDTLS_AESCE_C */
4280a8e1175bSopenharmony_ci
4281a8e1175bSopenharmony_ci#if defined(MBEDTLS_AES_C)
4282a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_AES_C);
4283a8e1175bSopenharmony_ci#endif /* MBEDTLS_AES_C */
4284a8e1175bSopenharmony_ci
4285a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_PARSE_C)
4286a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ASN1_PARSE_C);
4287a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_PARSE_C */
4288a8e1175bSopenharmony_ci
4289a8e1175bSopenharmony_ci#if defined(MBEDTLS_ASN1_WRITE_C)
4290a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ASN1_WRITE_C);
4291a8e1175bSopenharmony_ci#endif /* MBEDTLS_ASN1_WRITE_C */
4292a8e1175bSopenharmony_ci
4293a8e1175bSopenharmony_ci#if defined(MBEDTLS_BASE64_C)
4294a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_BASE64_C);
4295a8e1175bSopenharmony_ci#endif /* MBEDTLS_BASE64_C */
4296a8e1175bSopenharmony_ci
4297a8e1175bSopenharmony_ci#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
4298a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT);
4299a8e1175bSopenharmony_ci#endif /* MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */
4300a8e1175bSopenharmony_ci
4301a8e1175bSopenharmony_ci#if defined(MBEDTLS_BIGNUM_C)
4302a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_BIGNUM_C);
4303a8e1175bSopenharmony_ci#endif /* MBEDTLS_BIGNUM_C */
4304a8e1175bSopenharmony_ci
4305a8e1175bSopenharmony_ci#if defined(MBEDTLS_CAMELLIA_C)
4306a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CAMELLIA_C);
4307a8e1175bSopenharmony_ci#endif /* MBEDTLS_CAMELLIA_C */
4308a8e1175bSopenharmony_ci
4309a8e1175bSopenharmony_ci#if defined(MBEDTLS_ARIA_C)
4310a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ARIA_C);
4311a8e1175bSopenharmony_ci#endif /* MBEDTLS_ARIA_C */
4312a8e1175bSopenharmony_ci
4313a8e1175bSopenharmony_ci#if defined(MBEDTLS_CCM_C)
4314a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CCM_C);
4315a8e1175bSopenharmony_ci#endif /* MBEDTLS_CCM_C */
4316a8e1175bSopenharmony_ci
4317a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHA20_C)
4318a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHACHA20_C);
4319a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHA20_C */
4320a8e1175bSopenharmony_ci
4321a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHACHAPOLY_C)
4322a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHACHAPOLY_C);
4323a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHACHAPOLY_C */
4324a8e1175bSopenharmony_ci
4325a8e1175bSopenharmony_ci#if defined(MBEDTLS_CIPHER_C)
4326a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CIPHER_C);
4327a8e1175bSopenharmony_ci#endif /* MBEDTLS_CIPHER_C */
4328a8e1175bSopenharmony_ci
4329a8e1175bSopenharmony_ci#if defined(MBEDTLS_CMAC_C)
4330a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CMAC_C);
4331a8e1175bSopenharmony_ci#endif /* MBEDTLS_CMAC_C */
4332a8e1175bSopenharmony_ci
4333a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_C)
4334a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_C);
4335a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_C */
4336a8e1175bSopenharmony_ci
4337a8e1175bSopenharmony_ci#if defined(MBEDTLS_DEBUG_C)
4338a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DEBUG_C);
4339a8e1175bSopenharmony_ci#endif /* MBEDTLS_DEBUG_C */
4340a8e1175bSopenharmony_ci
4341a8e1175bSopenharmony_ci#if defined(MBEDTLS_DES_C)
4342a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DES_C);
4343a8e1175bSopenharmony_ci#endif /* MBEDTLS_DES_C */
4344a8e1175bSopenharmony_ci
4345a8e1175bSopenharmony_ci#if defined(MBEDTLS_DHM_C)
4346a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_DHM_C);
4347a8e1175bSopenharmony_ci#endif /* MBEDTLS_DHM_C */
4348a8e1175bSopenharmony_ci
4349a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDH_C)
4350a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDH_C);
4351a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDH_C */
4352a8e1175bSopenharmony_ci
4353a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECDSA_C)
4354a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECDSA_C);
4355a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECDSA_C */
4356a8e1175bSopenharmony_ci
4357a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECJPAKE_C)
4358a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECJPAKE_C);
4359a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECJPAKE_C */
4360a8e1175bSopenharmony_ci
4361a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_C)
4362a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_C);
4363a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_C */
4364a8e1175bSopenharmony_ci
4365a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_C)
4366a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_C);
4367a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_C */
4368a8e1175bSopenharmony_ci
4369a8e1175bSopenharmony_ci#if defined(MBEDTLS_ERROR_C)
4370a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ERROR_C);
4371a8e1175bSopenharmony_ci#endif /* MBEDTLS_ERROR_C */
4372a8e1175bSopenharmony_ci
4373a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_C)
4374a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_GCM_C);
4375a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_C */
4376a8e1175bSopenharmony_ci
4377a8e1175bSopenharmony_ci#if defined(MBEDTLS_GCM_LARGE_TABLE)
4378a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_GCM_LARGE_TABLE);
4379a8e1175bSopenharmony_ci#endif /* MBEDTLS_GCM_LARGE_TABLE */
4380a8e1175bSopenharmony_ci
4381a8e1175bSopenharmony_ci#if defined(MBEDTLS_HKDF_C)
4382a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HKDF_C);
4383a8e1175bSopenharmony_ci#endif /* MBEDTLS_HKDF_C */
4384a8e1175bSopenharmony_ci
4385a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_C)
4386a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HMAC_DRBG_C);
4387a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_C */
4388a8e1175bSopenharmony_ci
4389a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_C)
4390a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_LMS_C);
4391a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_C */
4392a8e1175bSopenharmony_ci
4393a8e1175bSopenharmony_ci#if defined(MBEDTLS_LMS_PRIVATE)
4394a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_LMS_PRIVATE);
4395a8e1175bSopenharmony_ci#endif /* MBEDTLS_LMS_PRIVATE */
4396a8e1175bSopenharmony_ci
4397a8e1175bSopenharmony_ci#if defined(MBEDTLS_NIST_KW_C)
4398a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NIST_KW_C);
4399a8e1175bSopenharmony_ci#endif /* MBEDTLS_NIST_KW_C */
4400a8e1175bSopenharmony_ci
4401a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD_C)
4402a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MD_C);
4403a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD_C */
4404a8e1175bSopenharmony_ci
4405a8e1175bSopenharmony_ci#if defined(MBEDTLS_MD5_C)
4406a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MD5_C);
4407a8e1175bSopenharmony_ci#endif /* MBEDTLS_MD5_C */
4408a8e1175bSopenharmony_ci
4409a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
4410a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_BUFFER_ALLOC_C);
4411a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
4412a8e1175bSopenharmony_ci
4413a8e1175bSopenharmony_ci#if defined(MBEDTLS_NET_C)
4414a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_NET_C);
4415a8e1175bSopenharmony_ci#endif /* MBEDTLS_NET_C */
4416a8e1175bSopenharmony_ci
4417a8e1175bSopenharmony_ci#if defined(MBEDTLS_OID_C)
4418a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_OID_C);
4419a8e1175bSopenharmony_ci#endif /* MBEDTLS_OID_C */
4420a8e1175bSopenharmony_ci
4421a8e1175bSopenharmony_ci#if defined(MBEDTLS_PADLOCK_C)
4422a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PADLOCK_C);
4423a8e1175bSopenharmony_ci#endif /* MBEDTLS_PADLOCK_C */
4424a8e1175bSopenharmony_ci
4425a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_PARSE_C)
4426a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PEM_PARSE_C);
4427a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_PARSE_C */
4428a8e1175bSopenharmony_ci
4429a8e1175bSopenharmony_ci#if defined(MBEDTLS_PEM_WRITE_C)
4430a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PEM_WRITE_C);
4431a8e1175bSopenharmony_ci#endif /* MBEDTLS_PEM_WRITE_C */
4432a8e1175bSopenharmony_ci
4433a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_C)
4434a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_C);
4435a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_C */
4436a8e1175bSopenharmony_ci
4437a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_PARSE_C)
4438a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_PARSE_C);
4439a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_PARSE_C */
4440a8e1175bSopenharmony_ci
4441a8e1175bSopenharmony_ci#if defined(MBEDTLS_PK_WRITE_C)
4442a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PK_WRITE_C);
4443a8e1175bSopenharmony_ci#endif /* MBEDTLS_PK_WRITE_C */
4444a8e1175bSopenharmony_ci
4445a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS5_C)
4446a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PKCS5_C);
4447a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS5_C */
4448a8e1175bSopenharmony_ci
4449a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS7_C)
4450a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PKCS7_C);
4451a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS7_C */
4452a8e1175bSopenharmony_ci
4453a8e1175bSopenharmony_ci#if defined(MBEDTLS_PKCS12_C)
4454a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PKCS12_C);
4455a8e1175bSopenharmony_ci#endif /* MBEDTLS_PKCS12_C */
4456a8e1175bSopenharmony_ci
4457a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_C)
4458a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_C);
4459a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_C */
4460a8e1175bSopenharmony_ci
4461a8e1175bSopenharmony_ci#if defined(MBEDTLS_POLY1305_C)
4462a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_POLY1305_C);
4463a8e1175bSopenharmony_ci#endif /* MBEDTLS_POLY1305_C */
4464a8e1175bSopenharmony_ci
4465a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_C)
4466a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_C);
4467a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_C */
4468a8e1175bSopenharmony_ci
4469a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
4470a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_SE_C);
4471a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
4472a8e1175bSopenharmony_ci
4473a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
4474a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_STORAGE_C);
4475a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_STORAGE_C */
4476a8e1175bSopenharmony_ci
4477a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_ITS_FILE_C)
4478a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_ITS_FILE_C);
4479a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_ITS_FILE_C */
4480a8e1175bSopenharmony_ci
4481a8e1175bSopenharmony_ci#if defined(MBEDTLS_RIPEMD160_C)
4482a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RIPEMD160_C);
4483a8e1175bSopenharmony_ci#endif /* MBEDTLS_RIPEMD160_C */
4484a8e1175bSopenharmony_ci
4485a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_C)
4486a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RSA_C);
4487a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_C */
4488a8e1175bSopenharmony_ci
4489a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA1_C)
4490a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA1_C);
4491a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA1_C */
4492a8e1175bSopenharmony_ci
4493a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA224_C)
4494a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA224_C);
4495a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA224_C */
4496a8e1175bSopenharmony_ci
4497a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_C)
4498a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_C);
4499a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_C */
4500a8e1175bSopenharmony_ci
4501a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT)
4502a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT);
4503a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT */
4504a8e1175bSopenharmony_ci
4505a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT)
4506a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT);
4507a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT */
4508a8e1175bSopenharmony_ci
4509a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
4510a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY);
4511a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
4512a8e1175bSopenharmony_ci
4513a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
4514a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY);
4515a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY */
4516a8e1175bSopenharmony_ci
4517a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA384_C)
4518a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA384_C);
4519a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA384_C */
4520a8e1175bSopenharmony_ci
4521a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_C)
4522a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_C);
4523a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_C */
4524a8e1175bSopenharmony_ci
4525a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA3_C)
4526a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA3_C);
4527a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA3_C */
4528a8e1175bSopenharmony_ci
4529a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT)
4530a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT);
4531a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT */
4532a8e1175bSopenharmony_ci
4533a8e1175bSopenharmony_ci#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
4534a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY);
4535a8e1175bSopenharmony_ci#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
4536a8e1175bSopenharmony_ci
4537a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_C)
4538a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CACHE_C);
4539a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_C */
4540a8e1175bSopenharmony_ci
4541a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_COOKIE_C)
4542a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_COOKIE_C);
4543a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_COOKIE_C */
4544a8e1175bSopenharmony_ci
4545a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TICKET_C)
4546a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TICKET_C);
4547a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TICKET_C */
4548a8e1175bSopenharmony_ci
4549a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CLI_C)
4550a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CLI_C);
4551a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CLI_C */
4552a8e1175bSopenharmony_ci
4553a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_SRV_C)
4554a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_SRV_C);
4555a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_SRV_C */
4556a8e1175bSopenharmony_ci
4557a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS_C)
4558a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS_C);
4559a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS_C */
4560a8e1175bSopenharmony_ci
4561a8e1175bSopenharmony_ci#if defined(MBEDTLS_THREADING_C)
4562a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_THREADING_C);
4563a8e1175bSopenharmony_ci#endif /* MBEDTLS_THREADING_C */
4564a8e1175bSopenharmony_ci
4565a8e1175bSopenharmony_ci#if defined(MBEDTLS_TIMING_C)
4566a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_TIMING_C);
4567a8e1175bSopenharmony_ci#endif /* MBEDTLS_TIMING_C */
4568a8e1175bSopenharmony_ci
4569a8e1175bSopenharmony_ci#if defined(MBEDTLS_VERSION_C)
4570a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_VERSION_C);
4571a8e1175bSopenharmony_ci#endif /* MBEDTLS_VERSION_C */
4572a8e1175bSopenharmony_ci
4573a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_USE_C)
4574a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_USE_C);
4575a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_USE_C */
4576a8e1175bSopenharmony_ci
4577a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_PARSE_C)
4578a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CRT_PARSE_C);
4579a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_PARSE_C */
4580a8e1175bSopenharmony_ci
4581a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRL_PARSE_C)
4582a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CRL_PARSE_C);
4583a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRL_PARSE_C */
4584a8e1175bSopenharmony_ci
4585a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_PARSE_C)
4586a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CSR_PARSE_C);
4587a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_PARSE_C */
4588a8e1175bSopenharmony_ci
4589a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CREATE_C)
4590a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CREATE_C);
4591a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CREATE_C */
4592a8e1175bSopenharmony_ci
4593a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CRT_WRITE_C)
4594a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CRT_WRITE_C);
4595a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CRT_WRITE_C */
4596a8e1175bSopenharmony_ci
4597a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_CSR_WRITE_C)
4598a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_CSR_WRITE_C);
4599a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_CSR_WRITE_C */
4600a8e1175bSopenharmony_ci
4601a8e1175bSopenharmony_ci#if defined(MBEDTLS_CONFIG_FILE)
4602a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CONFIG_FILE);
4603a8e1175bSopenharmony_ci#endif /* MBEDTLS_CONFIG_FILE */
4604a8e1175bSopenharmony_ci
4605a8e1175bSopenharmony_ci#if defined(MBEDTLS_USER_CONFIG_FILE)
4606a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_USER_CONFIG_FILE);
4607a8e1175bSopenharmony_ci#endif /* MBEDTLS_USER_CONFIG_FILE */
4608a8e1175bSopenharmony_ci
4609a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CONFIG_FILE)
4610a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_CONFIG_FILE);
4611a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CONFIG_FILE */
4612a8e1175bSopenharmony_ci
4613a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE)
4614a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE);
4615a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE */
4616a8e1175bSopenharmony_ci
4617a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_PLATFORM_FILE)
4618a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_PLATFORM_FILE);
4619a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_PLATFORM_FILE */
4620a8e1175bSopenharmony_ci
4621a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_STRUCT_FILE)
4622a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_CRYPTO_STRUCT_FILE);
4623a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_STRUCT_FILE */
4624a8e1175bSopenharmony_ci
4625a8e1175bSopenharmony_ci#if defined(MBEDTLS_MPI_WINDOW_SIZE)
4626a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MPI_WINDOW_SIZE);
4627a8e1175bSopenharmony_ci#endif /* MBEDTLS_MPI_WINDOW_SIZE */
4628a8e1175bSopenharmony_ci
4629a8e1175bSopenharmony_ci#if defined(MBEDTLS_MPI_MAX_SIZE)
4630a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MPI_MAX_SIZE);
4631a8e1175bSopenharmony_ci#endif /* MBEDTLS_MPI_MAX_SIZE */
4632a8e1175bSopenharmony_ci
4633a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_ENTROPY_LEN)
4634a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_ENTROPY_LEN);
4635a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_ENTROPY_LEN */
4636a8e1175bSopenharmony_ci
4637a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_RESEED_INTERVAL)
4638a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_RESEED_INTERVAL);
4639a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_RESEED_INTERVAL */
4640a8e1175bSopenharmony_ci
4641a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_INPUT)
4642a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_MAX_INPUT);
4643a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_INPUT */
4644a8e1175bSopenharmony_ci
4645a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_REQUEST)
4646a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_MAX_REQUEST);
4647a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_REQUEST */
4648a8e1175bSopenharmony_ci
4649a8e1175bSopenharmony_ci#if defined(MBEDTLS_CTR_DRBG_MAX_SEED_INPUT)
4650a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CTR_DRBG_MAX_SEED_INPUT);
4651a8e1175bSopenharmony_ci#endif /* MBEDTLS_CTR_DRBG_MAX_SEED_INPUT */
4652a8e1175bSopenharmony_ci
4653a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_RESEED_INTERVAL)
4654a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HMAC_DRBG_RESEED_INTERVAL);
4655a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_RESEED_INTERVAL */
4656a8e1175bSopenharmony_ci
4657a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_INPUT)
4658a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HMAC_DRBG_MAX_INPUT);
4659a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_INPUT */
4660a8e1175bSopenharmony_ci
4661a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_REQUEST)
4662a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HMAC_DRBG_MAX_REQUEST);
4663a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_REQUEST */
4664a8e1175bSopenharmony_ci
4665a8e1175bSopenharmony_ci#if defined(MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT)
4666a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT);
4667a8e1175bSopenharmony_ci#endif /* MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT */
4668a8e1175bSopenharmony_ci
4669a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_WINDOW_SIZE)
4670a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_WINDOW_SIZE);
4671a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_WINDOW_SIZE */
4672a8e1175bSopenharmony_ci
4673a8e1175bSopenharmony_ci#if defined(MBEDTLS_ECP_FIXED_POINT_OPTIM)
4674a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ECP_FIXED_POINT_OPTIM);
4675a8e1175bSopenharmony_ci#endif /* MBEDTLS_ECP_FIXED_POINT_OPTIM */
4676a8e1175bSopenharmony_ci
4677a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MAX_SOURCES)
4678a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_MAX_SOURCES);
4679a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MAX_SOURCES */
4680a8e1175bSopenharmony_ci
4681a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MAX_GATHER)
4682a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_MAX_GATHER);
4683a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MAX_GATHER */
4684a8e1175bSopenharmony_ci
4685a8e1175bSopenharmony_ci#if defined(MBEDTLS_ENTROPY_MIN_HARDWARE)
4686a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_ENTROPY_MIN_HARDWARE);
4687a8e1175bSopenharmony_ci#endif /* MBEDTLS_ENTROPY_MIN_HARDWARE */
4688a8e1175bSopenharmony_ci
4689a8e1175bSopenharmony_ci#if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE)
4690a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_MEMORY_ALIGN_MULTIPLE);
4691a8e1175bSopenharmony_ci#endif /* MBEDTLS_MEMORY_ALIGN_MULTIPLE */
4692a8e1175bSopenharmony_ci
4693a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_MEM_HDR)
4694a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_MEM_HDR);
4695a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_MEM_HDR */
4696a8e1175bSopenharmony_ci
4697a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_CALLOC)
4698a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_CALLOC);
4699a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_CALLOC */
4700a8e1175bSopenharmony_ci
4701a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_FREE)
4702a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_FREE);
4703a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_FREE */
4704a8e1175bSopenharmony_ci
4705a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_SETBUF)
4706a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_SETBUF);
4707a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_SETBUF */
4708a8e1175bSopenharmony_ci
4709a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT)
4710a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_EXIT);
4711a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT */
4712a8e1175bSopenharmony_ci
4713a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_TIME)
4714a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_TIME);
4715a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_TIME */
4716a8e1175bSopenharmony_ci
4717a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_FPRINTF)
4718a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_FPRINTF);
4719a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_FPRINTF */
4720a8e1175bSopenharmony_ci
4721a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_PRINTF)
4722a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_PRINTF);
4723a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_PRINTF */
4724a8e1175bSopenharmony_ci
4725a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_SNPRINTF)
4726a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_SNPRINTF);
4727a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_SNPRINTF */
4728a8e1175bSopenharmony_ci
4729a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT_SUCCESS)
4730a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_EXIT_SUCCESS);
4731a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT_SUCCESS */
4732a8e1175bSopenharmony_ci
4733a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_EXIT_FAILURE)
4734a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_EXIT_FAILURE);
4735a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_EXIT_FAILURE */
4736a8e1175bSopenharmony_ci
4737a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_READ)
4738a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_NV_SEED_READ);
4739a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_READ */
4740a8e1175bSopenharmony_ci
4741a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_WRITE)
4742a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_NV_SEED_WRITE);
4743a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_WRITE */
4744a8e1175bSopenharmony_ci
4745a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_FILE)
4746a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_STD_NV_SEED_FILE);
4747a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_STD_NV_SEED_FILE */
4748a8e1175bSopenharmony_ci
4749a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_CALLOC_MACRO)
4750a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_CALLOC_MACRO);
4751a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_CALLOC_MACRO */
4752a8e1175bSopenharmony_ci
4753a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FREE_MACRO)
4754a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_FREE_MACRO);
4755a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FREE_MACRO */
4756a8e1175bSopenharmony_ci
4757a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_EXIT_MACRO)
4758a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_EXIT_MACRO);
4759a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_EXIT_MACRO */
4760a8e1175bSopenharmony_ci
4761a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SETBUF_MACRO)
4762a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_SETBUF_MACRO);
4763a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SETBUF_MACRO */
4764a8e1175bSopenharmony_ci
4765a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_MACRO)
4766a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_TIME_MACRO);
4767a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_MACRO */
4768a8e1175bSopenharmony_ci
4769a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_TIME_TYPE_MACRO)
4770a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_TIME_TYPE_MACRO);
4771a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_TIME_TYPE_MACRO */
4772a8e1175bSopenharmony_ci
4773a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_FPRINTF_MACRO)
4774a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_FPRINTF_MACRO);
4775a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_FPRINTF_MACRO */
4776a8e1175bSopenharmony_ci
4777a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_PRINTF_MACRO)
4778a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_PRINTF_MACRO);
4779a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_PRINTF_MACRO */
4780a8e1175bSopenharmony_ci
4781a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_SNPRINTF_MACRO)
4782a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_SNPRINTF_MACRO);
4783a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_SNPRINTF_MACRO */
4784a8e1175bSopenharmony_ci
4785a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_VSNPRINTF_MACRO)
4786a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_VSNPRINTF_MACRO);
4787a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_VSNPRINTF_MACRO */
4788a8e1175bSopenharmony_ci
4789a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO)
4790a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO);
4791a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_READ_MACRO */
4792a8e1175bSopenharmony_ci
4793a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO)
4794a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO);
4795a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO */
4796a8e1175bSopenharmony_ci
4797a8e1175bSopenharmony_ci#if defined(MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO)
4798a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO);
4799a8e1175bSopenharmony_ci#endif /* MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO */
4800a8e1175bSopenharmony_ci
4801a8e1175bSopenharmony_ci#if defined(MBEDTLS_PRINTF_MS_TIME)
4802a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PRINTF_MS_TIME);
4803a8e1175bSopenharmony_ci#endif /* MBEDTLS_PRINTF_MS_TIME */
4804a8e1175bSopenharmony_ci
4805a8e1175bSopenharmony_ci#if defined(MBEDTLS_CHECK_RETURN)
4806a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_CHECK_RETURN);
4807a8e1175bSopenharmony_ci#endif /* MBEDTLS_CHECK_RETURN */
4808a8e1175bSopenharmony_ci
4809a8e1175bSopenharmony_ci#if defined(MBEDTLS_IGNORE_RETURN)
4810a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_IGNORE_RETURN);
4811a8e1175bSopenharmony_ci#endif /* MBEDTLS_IGNORE_RETURN */
4812a8e1175bSopenharmony_ci
4813a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_HMAC_DRBG_MD_TYPE)
4814a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_HMAC_DRBG_MD_TYPE);
4815a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_HMAC_DRBG_MD_TYPE */
4816a8e1175bSopenharmony_ci
4817a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_KEY_SLOT_COUNT)
4818a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSA_KEY_SLOT_COUNT);
4819a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_KEY_SLOT_COUNT */
4820a8e1175bSopenharmony_ci
4821a8e1175bSopenharmony_ci#if defined(MBEDTLS_RSA_GEN_KEY_MIN_BITS)
4822a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_RSA_GEN_KEY_MIN_BITS);
4823a8e1175bSopenharmony_ci#endif /* MBEDTLS_RSA_GEN_KEY_MIN_BITS */
4824a8e1175bSopenharmony_ci
4825a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT)
4826a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT);
4827a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT */
4828a8e1175bSopenharmony_ci
4829a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES)
4830a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES);
4831a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES */
4832a8e1175bSopenharmony_ci
4833a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_IN_CONTENT_LEN)
4834a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_IN_CONTENT_LEN);
4835a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_IN_CONTENT_LEN */
4836a8e1175bSopenharmony_ci
4837a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_IN_LEN_MAX)
4838a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CID_IN_LEN_MAX);
4839a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_IN_LEN_MAX */
4840a8e1175bSopenharmony_ci
4841a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_OUT_LEN_MAX)
4842a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CID_OUT_LEN_MAX);
4843a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_OUT_LEN_MAX */
4844a8e1175bSopenharmony_ci
4845a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY)
4846a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY);
4847a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY */
4848a8e1175bSopenharmony_ci
4849a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_OUT_CONTENT_LEN)
4850a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_OUT_CONTENT_LEN);
4851a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_OUT_CONTENT_LEN */
4852a8e1175bSopenharmony_ci
4853a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_DTLS_MAX_BUFFERING)
4854a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_DTLS_MAX_BUFFERING);
4855a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_DTLS_MAX_BUFFERING */
4856a8e1175bSopenharmony_ci
4857a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSK_MAX_LEN)
4858a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSK_MAX_LEN);
4859a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSK_MAX_LEN */
4860a8e1175bSopenharmony_ci
4861a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_COOKIE_TIMEOUT)
4862a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_COOKIE_TIMEOUT);
4863a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_COOKIE_TIMEOUT */
4864a8e1175bSopenharmony_ci
4865a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_MAX_EARLY_DATA_SIZE)
4866a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_MAX_EARLY_DATA_SIZE);
4867a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_MAX_EARLY_DATA_SIZE */
4868a8e1175bSopenharmony_ci
4869a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE)
4870a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE);
4871a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE */
4872a8e1175bSopenharmony_ci
4873a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH)
4874a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH);
4875a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH */
4876a8e1175bSopenharmony_ci
4877a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS)
4878a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS);
4879a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS */
4880a8e1175bSopenharmony_ci
4881a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_MAX_INTERMEDIATE_CA)
4882a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_MAX_INTERMEDIATE_CA);
4883a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_MAX_INTERMEDIATE_CA */
4884a8e1175bSopenharmony_ci
4885a8e1175bSopenharmony_ci#if defined(MBEDTLS_X509_MAX_FILE_PATH_LEN)
4886a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(MBEDTLS_X509_MAX_FILE_PATH_LEN);
4887a8e1175bSopenharmony_ci#endif /* MBEDTLS_X509_MAX_FILE_PATH_LEN */
4888a8e1175bSopenharmony_ci
4889a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_MAC)
4890a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CBC_MAC);
4891a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_MAC */
4892a8e1175bSopenharmony_ci
4893a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
4894a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CBC_NO_PADDING);
4895a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_NO_PADDING */
4896a8e1175bSopenharmony_ci
4897a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CBC_PKCS7)
4898a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CBC_PKCS7);
4899a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CBC_PKCS7 */
4900a8e1175bSopenharmony_ci
4901a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CCM)
4902a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CCM);
4903a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CCM */
4904a8e1175bSopenharmony_ci
4905a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CCM_STAR_NO_TAG)
4906a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CCM_STAR_NO_TAG);
4907a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CCM_STAR_NO_TAG */
4908a8e1175bSopenharmony_ci
4909a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CMAC)
4910a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CMAC);
4911a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CMAC */
4912a8e1175bSopenharmony_ci
4913a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CFB)
4914a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CFB);
4915a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CFB */
4916a8e1175bSopenharmony_ci
4917a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CHACHA20_POLY1305)
4918a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CHACHA20_POLY1305);
4919a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CHACHA20_POLY1305 */
4920a8e1175bSopenharmony_ci
4921a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_CTR)
4922a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_CTR);
4923a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_CTR */
4924a8e1175bSopenharmony_ci
4925a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA)
4926a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_DETERMINISTIC_ECDSA);
4927a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_DETERMINISTIC_ECDSA */
4928a8e1175bSopenharmony_ci
4929a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECB_NO_PADDING)
4930a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_ECB_NO_PADDING);
4931a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECB_NO_PADDING */
4932a8e1175bSopenharmony_ci
4933a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECDH)
4934a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_ECDH);
4935a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECDH */
4936a8e1175bSopenharmony_ci
4937a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_FFDH)
4938a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_FFDH);
4939a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_FFDH */
4940a8e1175bSopenharmony_ci
4941a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_ECDSA)
4942a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_ECDSA);
4943a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_ECDSA */
4944a8e1175bSopenharmony_ci
4945a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_JPAKE)
4946a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_JPAKE);
4947a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_JPAKE */
4948a8e1175bSopenharmony_ci
4949a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_GCM)
4950a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_GCM);
4951a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_GCM */
4952a8e1175bSopenharmony_ci
4953a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF)
4954a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_HKDF);
4955a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF */
4956a8e1175bSopenharmony_ci
4957a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF_EXTRACT)
4958a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_HKDF_EXTRACT);
4959a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF_EXTRACT */
4960a8e1175bSopenharmony_ci
4961a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HKDF_EXPAND)
4962a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_HKDF_EXPAND);
4963a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HKDF_EXPAND */
4964a8e1175bSopenharmony_ci
4965a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_HMAC)
4966a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_HMAC);
4967a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_HMAC */
4968a8e1175bSopenharmony_ci
4969a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_MD5)
4970a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_MD5);
4971a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_MD5 */
4972a8e1175bSopenharmony_ci
4973a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_OFB)
4974a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_OFB);
4975a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_OFB */
4976a8e1175bSopenharmony_ci
4977a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_PBKDF2_HMAC)
4978a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_PBKDF2_HMAC);
4979a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_PBKDF2_HMAC */
4980a8e1175bSopenharmony_ci
4981a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128)
4982a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128);
4983a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 */
4984a8e1175bSopenharmony_ci
4985a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RIPEMD160)
4986a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_RIPEMD160);
4987a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RIPEMD160 */
4988a8e1175bSopenharmony_ci
4989a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_OAEP)
4990a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_RSA_OAEP);
4991a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_OAEP */
4992a8e1175bSopenharmony_ci
4993a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PKCS1V15_CRYPT)
4994a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_RSA_PKCS1V15_CRYPT);
4995a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PKCS1V15_CRYPT */
4996a8e1175bSopenharmony_ci
4997a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN)
4998a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_RSA_PKCS1V15_SIGN);
4999a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PKCS1V15_SIGN */
5000a8e1175bSopenharmony_ci
5001a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_RSA_PSS)
5002a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_RSA_PSS);
5003a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_RSA_PSS */
5004a8e1175bSopenharmony_ci
5005a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_1)
5006a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA_1);
5007a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_1 */
5008a8e1175bSopenharmony_ci
5009a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_224)
5010a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA_224);
5011a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_224 */
5012a8e1175bSopenharmony_ci
5013a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_256)
5014a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA_256);
5015a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_256 */
5016a8e1175bSopenharmony_ci
5017a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_384)
5018a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA_384);
5019a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_384 */
5020a8e1175bSopenharmony_ci
5021a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA_512)
5022a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA_512);
5023a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA_512 */
5024a8e1175bSopenharmony_ci
5025a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_224)
5026a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA3_224);
5027a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_224 */
5028a8e1175bSopenharmony_ci
5029a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_256)
5030a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA3_256);
5031a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_256 */
5032a8e1175bSopenharmony_ci
5033a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_384)
5034a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA3_384);
5035a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_384 */
5036a8e1175bSopenharmony_ci
5037a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_SHA3_512)
5038a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_SHA3_512);
5039a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_SHA3_512 */
5040a8e1175bSopenharmony_ci
5041a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_STREAM_CIPHER)
5042a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_STREAM_CIPHER);
5043a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_STREAM_CIPHER */
5044a8e1175bSopenharmony_ci
5045a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_PRF)
5046a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_TLS12_PRF);
5047a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_PRF */
5048a8e1175bSopenharmony_ci
5049a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_PSK_TO_MS)
5050a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_TLS12_PSK_TO_MS);
5051a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_PSK_TO_MS */
5052a8e1175bSopenharmony_ci
5053a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS)
5054a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS);
5055a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS */
5056a8e1175bSopenharmony_ci
5057a8e1175bSopenharmony_ci#if defined(PSA_WANT_ALG_XTS)
5058a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ALG_XTS);
5059a8e1175bSopenharmony_ci#endif /* PSA_WANT_ALG_XTS */
5060a8e1175bSopenharmony_ci
5061a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_256)
5062a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_BRAINPOOL_P_R1_256);
5063a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_256 */
5064a8e1175bSopenharmony_ci
5065a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_384)
5066a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_BRAINPOOL_P_R1_384);
5067a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_384 */
5068a8e1175bSopenharmony_ci
5069a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_512)
5070a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_BRAINPOOL_P_R1_512);
5071a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_BRAINPOOL_P_R1_512 */
5072a8e1175bSopenharmony_ci
5073a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_MONTGOMERY_255)
5074a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_MONTGOMERY_255);
5075a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_MONTGOMERY_255 */
5076a8e1175bSopenharmony_ci
5077a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_MONTGOMERY_448)
5078a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_MONTGOMERY_448);
5079a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_MONTGOMERY_448 */
5080a8e1175bSopenharmony_ci
5081a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_192)
5082a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_K1_192);
5083a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_192 */
5084a8e1175bSopenharmony_ci
5085a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_224)
5086a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_K1_224);
5087a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_224 */
5088a8e1175bSopenharmony_ci
5089a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_K1_256)
5090a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_K1_256);
5091a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_K1_256 */
5092a8e1175bSopenharmony_ci
5093a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_192)
5094a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_R1_192);
5095a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_192 */
5096a8e1175bSopenharmony_ci
5097a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_224)
5098a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_R1_224);
5099a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_224 */
5100a8e1175bSopenharmony_ci
5101a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_256)
5102a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_R1_256);
5103a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_256 */
5104a8e1175bSopenharmony_ci
5105a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_384)
5106a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_R1_384);
5107a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_384 */
5108a8e1175bSopenharmony_ci
5109a8e1175bSopenharmony_ci#if defined(PSA_WANT_ECC_SECP_R1_521)
5110a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_ECC_SECP_R1_521);
5111a8e1175bSopenharmony_ci#endif /* PSA_WANT_ECC_SECP_R1_521 */
5112a8e1175bSopenharmony_ci
5113a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_2048)
5114a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_DH_RFC7919_2048);
5115a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_2048 */
5116a8e1175bSopenharmony_ci
5117a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_3072)
5118a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_DH_RFC7919_3072);
5119a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_3072 */
5120a8e1175bSopenharmony_ci
5121a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_4096)
5122a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_DH_RFC7919_4096);
5123a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_4096 */
5124a8e1175bSopenharmony_ci
5125a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_6144)
5126a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_DH_RFC7919_6144);
5127a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_6144 */
5128a8e1175bSopenharmony_ci
5129a8e1175bSopenharmony_ci#if defined(PSA_WANT_DH_RFC7919_8192)
5130a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_DH_RFC7919_8192);
5131a8e1175bSopenharmony_ci#endif /* PSA_WANT_DH_RFC7919_8192 */
5132a8e1175bSopenharmony_ci
5133a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DERIVE)
5134a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DERIVE);
5135a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DERIVE */
5136a8e1175bSopenharmony_ci
5137a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_PASSWORD)
5138a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_PASSWORD);
5139a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_PASSWORD */
5140a8e1175bSopenharmony_ci
5141a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_PASSWORD_HASH)
5142a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_PASSWORD_HASH);
5143a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_PASSWORD_HASH */
5144a8e1175bSopenharmony_ci
5145a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_HMAC)
5146a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_HMAC);
5147a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_HMAC */
5148a8e1175bSopenharmony_ci
5149a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_AES)
5150a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_AES);
5151a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_AES */
5152a8e1175bSopenharmony_ci
5153a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ARIA)
5154a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ARIA);
5155a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ARIA */
5156a8e1175bSopenharmony_ci
5157a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_CAMELLIA)
5158a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_CAMELLIA);
5159a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_CAMELLIA */
5160a8e1175bSopenharmony_ci
5161a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_CHACHA20)
5162a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_CHACHA20);
5163a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_CHACHA20 */
5164a8e1175bSopenharmony_ci
5165a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DES)
5166a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DES);
5167a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DES */
5168a8e1175bSopenharmony_ci
5169a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR)
5170a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR);
5171a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR */
5172a8e1175bSopenharmony_ci
5173a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY)
5174a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY);
5175a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY */
5176a8e1175bSopenharmony_ci
5177a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY)
5178a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY);
5179a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY */
5180a8e1175bSopenharmony_ci
5181a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RAW_DATA)
5182a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RAW_DATA);
5183a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RAW_DATA */
5184a8e1175bSopenharmony_ci
5185a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR)
5186a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR);
5187a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR */
5188a8e1175bSopenharmony_ci
5189a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY)
5190a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY);
5191a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY */
5192a8e1175bSopenharmony_ci
5193a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC)
5194a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC);
5195a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC */
5196a8e1175bSopenharmony_ci
5197a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT)
5198a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT);
5199a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT */
5200a8e1175bSopenharmony_ci
5201a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT)
5202a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT);
5203a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT */
5204a8e1175bSopenharmony_ci
5205a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE)
5206a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE);
5207a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE */
5208a8e1175bSopenharmony_ci
5209a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE)
5210a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE);
5211a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE */
5212a8e1175bSopenharmony_ci
5213a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC)
5214a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC);
5215a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC */
5216a8e1175bSopenharmony_ci
5217a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT)
5218a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT);
5219a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT */
5220a8e1175bSopenharmony_ci
5221a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT)
5222a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT);
5223a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT */
5224a8e1175bSopenharmony_ci
5225a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE)
5226a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE);
5227a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE */
5228a8e1175bSopenharmony_ci
5229a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE)
5230a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE);
5231a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE */
5232a8e1175bSopenharmony_ci
5233a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC)
5234a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC);
5235a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC */
5236a8e1175bSopenharmony_ci
5237a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT)
5238a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT);
5239a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT */
5240a8e1175bSopenharmony_ci
5241a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT)
5242a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT);
5243a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT */
5244a8e1175bSopenharmony_ci
5245a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE)
5246a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE);
5247a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE */
5248a8e1175bSopenharmony_ci
5249a8e1175bSopenharmony_ci#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE)
5250a8e1175bSopenharmony_ci    OUTPUT_MACRO_NAME_VALUE(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE);
5251a8e1175bSopenharmony_ci#endif /* PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE */
5252a8e1175bSopenharmony_ci
5253a8e1175bSopenharmony_ci
5254a8e1175bSopenharmony_ci}
5255a8e1175bSopenharmony_ci#if defined(_MSC_VER)
5256a8e1175bSopenharmony_ci#pragma warning(pop)
5257a8e1175bSopenharmony_ci#endif /* _MSC_VER */
5258