blob: 97c64252e04c947e40f2d1b0eca16907adf7a0e1 [file] [log] [blame]
Hanno Beckerabc22b72019-03-18 12:39:49 +00001/**
2 * \file baremetal_test.h
3 *
4 * \brief This file contains minimal modifications to the
5 * baremetal configuration `baremetal.h` which allows
6 * example programs to compile and run.
7 *
8 * It should be used as the `MBEDTLS_USER_CONFIG_FILE`
9 * in builds using `baremetal.h`.
10 */
11/*
12 * Copyright (C) 2006-2018, ARM Limited, All Rights Reserved
13 * SPDX-License-Identifier: Apache-2.0
14 *
15 * Licensed under the Apache License, Version 2.0 (the "License"); you may
16 * not use this file except in compliance with the License.
17 * You may obtain a copy of the License at
18 *
19 * http://www.apache.org/licenses/LICENSE-2.0
20 *
21 * Unless required by applicable law or agreed to in writing, software
22 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
23 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 * See the License for the specific language governing permissions and
25 * limitations under the License.
26 *
27 * This file is part of mbed TLS (https://tls.mbed.org)
28 */
29
30#ifndef MBEDTLS_BAREMETAL_USER_CONFIG_H
31#define MBEDTLS_BAREMETAL_USER_CONFIG_H
32
33/* We need test CRTs to be able to run ssl_client2 and ssl_server2. */
34#define MBEDTLS_CERTS_C
35/* For the network context used by ssl_client2 and ssl_server2. */
36#define MBEDTLS_NET_C
37/* Debug output */
38#define MBEDTLS_DEBUG_C
39
Hanno Beckerabc22b72019-03-18 12:39:49 +000040/* The ticket implementation hardcodes AES-GCM */
41#define MBEDTLS_GCM_C
42
43/* Use Mbed TLS' timer implementation for Linux. */
44#define MBEDTLS_TIMING_C
45
Jarno Lamsa5b944b52019-10-28 10:30:10 +020046/* Needed for certificates in ssl_opt.sh */
47#define MBEDTLS_FS_IO
48
Hanno Beckerabc22b72019-03-18 12:39:49 +000049#undef MBEDTLS_NO_PLATFORM_ENTROPY
50
Hanno Beckerabc22b72019-03-18 12:39:49 +000051#endif /* MBEDTLS_BAREMETAL_USER_CONFIG_H */