blob: d8e3c7b38d318c6599ebbe10cae2385bcf1bffe5 [file] [log] [blame]
Andres Amaya Garcia88121a92018-10-16 22:00:13 +01001/*
2 * Query configuration information
3 *
4 * Copyright (C) 2018, Arm Limited, All Rights Reserved
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 * This file is part of Mbed TLS (https://tls.mbed.org)
20 */
21
22#if !defined(MBEDTLS_CONFIG_FILE)
23#include "mbedtls/config.h"
24#else
25#include MBEDTLS_CONFIG_FILE
26#endif
27
28#if defined(MBEDTLS_PLATFORM_C)
29#include "mbedtls/platform.h"
30#else
31#define mbedtls_printf printf
32#endif /* MBEDTLS_PLATFORM_C */
33
34/* Include all the headers with public APIs in case they modify any configs */
35#include "mbedtls/aes.h"
36#include "mbedtls/aesni.h"
37#include "mbedtls/arc4.h"
38#include "mbedtls/aria.h"
39#include "mbedtls/asn1.h"
40#include "mbedtls/asn1write.h"
41#include "mbedtls/base64.h"
42#include "mbedtls/bignum.h"
43#include "mbedtls/blowfish.h"
44#include "mbedtls/camellia.h"
45#include "mbedtls/ccm.h"
46#include "mbedtls/certs.h"
47#include "mbedtls/chacha20.h"
48#include "mbedtls/chachapoly.h"
49#include "mbedtls/cipher.h"
50#include "mbedtls/cmac.h"
51#include "mbedtls/ctr_drbg.h"
52#include "mbedtls/debug.h"
53#include "mbedtls/des.h"
54#include "mbedtls/dhm.h"
55#include "mbedtls/ecdh.h"
56#include "mbedtls/ecdsa.h"
57#include "mbedtls/ecjpake.h"
58#include "mbedtls/ecp.h"
59#include "mbedtls/entropy.h"
60#include "mbedtls/entropy_poll.h"
61#include "mbedtls/error.h"
62#include "mbedtls/gcm.h"
63#include "mbedtls/havege.h"
64#include "mbedtls/hkdf.h"
65#include "mbedtls/hmac_drbg.h"
66#include "mbedtls/md.h"
67#include "mbedtls/md2.h"
68#include "mbedtls/md4.h"
69#include "mbedtls/md5.h"
70#include "mbedtls/memory_buffer_alloc.h"
71#include "mbedtls/net_sockets.h"
72#include "mbedtls/nist_kw.h"
73#include "mbedtls/oid.h"
74#include "mbedtls/padlock.h"
75#include "mbedtls/pem.h"
76#include "mbedtls/pk.h"
77#include "mbedtls/pkcs11.h"
78#include "mbedtls/pkcs12.h"
79#include "mbedtls/pkcs5.h"
80#include "mbedtls/platform_time.h"
81#include "mbedtls/platform_util.h"
82#include "mbedtls/poly1305.h"
83#include "mbedtls/ripemd160.h"
84#include "mbedtls/rsa.h"
85#include "mbedtls/sha1.h"
86#include "mbedtls/sha256.h"
87#include "mbedtls/sha512.h"
88#include "mbedtls/ssl.h"
89#include "mbedtls/ssl_cache.h"
90#include "mbedtls/ssl_ciphersuites.h"
91#include "mbedtls/ssl_cookie.h"
92#include "mbedtls/ssl_internal.h"
93#include "mbedtls/ssl_ticket.h"
94#include "mbedtls/threading.h"
95#include "mbedtls/timing.h"
96#include "mbedtls/version.h"
97#include "mbedtls/x509.h"
98#include "mbedtls/x509_crl.h"
99#include "mbedtls/x509_crt.h"
100#include "mbedtls/x509_csr.h"
101#include "mbedtls/xtea.h"
102
103#include <stdio.h>
104#include <string.h>
105
106/* Helper macros to convert a macro or its expansion into a string */
107#define MACRO_EXPANSION_TO_STR(macro) MACRO_NAME_TO_STR(macro)
108#define MACRO_NAME_TO_STR(macro) strlen( #macro ) > 0 ? #macro "\n" : ""
109
110int query_config( const char *config )
111{
112CHECK_CONFIG return( 1 );
113}