Andres Amaya Garcia | 88121a9 | 2018-10-16 22:00:13 +0100 | [diff] [blame] | 1 | /* |
| 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 |
Andres Amaya Garcia | 2fdc2c2 | 2018-10-29 18:38:36 +0000 | [diff] [blame] | 31 | #include <stdio.h> |
Andres Amaya Garcia | 88121a9 | 2018-10-16 22:00:13 +0100 | [diff] [blame] | 32 | #define mbedtls_printf printf |
| 33 | #endif /* MBEDTLS_PLATFORM_C */ |
| 34 | |
| 35 | /* Include all the headers with public APIs in case they modify any configs */ |
| 36 | #include "mbedtls/aes.h" |
| 37 | #include "mbedtls/aesni.h" |
| 38 | #include "mbedtls/arc4.h" |
| 39 | #include "mbedtls/aria.h" |
| 40 | #include "mbedtls/asn1.h" |
| 41 | #include "mbedtls/asn1write.h" |
| 42 | #include "mbedtls/base64.h" |
| 43 | #include "mbedtls/bignum.h" |
| 44 | #include "mbedtls/blowfish.h" |
| 45 | #include "mbedtls/camellia.h" |
| 46 | #include "mbedtls/ccm.h" |
| 47 | #include "mbedtls/certs.h" |
| 48 | #include "mbedtls/chacha20.h" |
| 49 | #include "mbedtls/chachapoly.h" |
| 50 | #include "mbedtls/cipher.h" |
| 51 | #include "mbedtls/cmac.h" |
| 52 | #include "mbedtls/ctr_drbg.h" |
| 53 | #include "mbedtls/debug.h" |
| 54 | #include "mbedtls/des.h" |
| 55 | #include "mbedtls/dhm.h" |
| 56 | #include "mbedtls/ecdh.h" |
| 57 | #include "mbedtls/ecdsa.h" |
| 58 | #include "mbedtls/ecjpake.h" |
| 59 | #include "mbedtls/ecp.h" |
| 60 | #include "mbedtls/entropy.h" |
| 61 | #include "mbedtls/entropy_poll.h" |
| 62 | #include "mbedtls/error.h" |
| 63 | #include "mbedtls/gcm.h" |
| 64 | #include "mbedtls/havege.h" |
| 65 | #include "mbedtls/hkdf.h" |
| 66 | #include "mbedtls/hmac_drbg.h" |
| 67 | #include "mbedtls/md.h" |
| 68 | #include "mbedtls/md2.h" |
| 69 | #include "mbedtls/md4.h" |
| 70 | #include "mbedtls/md5.h" |
| 71 | #include "mbedtls/memory_buffer_alloc.h" |
| 72 | #include "mbedtls/net_sockets.h" |
| 73 | #include "mbedtls/nist_kw.h" |
| 74 | #include "mbedtls/oid.h" |
| 75 | #include "mbedtls/padlock.h" |
| 76 | #include "mbedtls/pem.h" |
| 77 | #include "mbedtls/pk.h" |
| 78 | #include "mbedtls/pkcs11.h" |
| 79 | #include "mbedtls/pkcs12.h" |
| 80 | #include "mbedtls/pkcs5.h" |
| 81 | #include "mbedtls/platform_time.h" |
| 82 | #include "mbedtls/platform_util.h" |
| 83 | #include "mbedtls/poly1305.h" |
| 84 | #include "mbedtls/ripemd160.h" |
| 85 | #include "mbedtls/rsa.h" |
| 86 | #include "mbedtls/sha1.h" |
| 87 | #include "mbedtls/sha256.h" |
| 88 | #include "mbedtls/sha512.h" |
| 89 | #include "mbedtls/ssl.h" |
| 90 | #include "mbedtls/ssl_cache.h" |
| 91 | #include "mbedtls/ssl_ciphersuites.h" |
| 92 | #include "mbedtls/ssl_cookie.h" |
| 93 | #include "mbedtls/ssl_internal.h" |
| 94 | #include "mbedtls/ssl_ticket.h" |
| 95 | #include "mbedtls/threading.h" |
| 96 | #include "mbedtls/timing.h" |
| 97 | #include "mbedtls/version.h" |
| 98 | #include "mbedtls/x509.h" |
| 99 | #include "mbedtls/x509_crl.h" |
| 100 | #include "mbedtls/x509_crt.h" |
| 101 | #include "mbedtls/x509_csr.h" |
| 102 | #include "mbedtls/xtea.h" |
| 103 | |
Andres Amaya Garcia | 88121a9 | 2018-10-16 22:00:13 +0100 | [diff] [blame] | 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 | |
| 110 | int query_config( const char *config ) |
| 111 | { |
| 112 | CHECK_CONFIG return( 1 ); |
| 113 | } |