1 /* 2 * Mbed TLS configuration for PSA test driver libraries. It includes: 3 * . the minimum set of modules needed by the PSA core. 4 * . the Mbed TLS configuration options that may need to be additionally 5 * enabled for the purpose of a specific test. 6 * . the PSA configuration file for the Mbed TLS library and its test drivers. 7 */ 8 /* 9 * Copyright The Mbed TLS Contributors 10 * SPDX-License-Identifier: Apache-2.0 11 * 12 * Licensed under the Apache License, Version 2.0 (the "License"); you may 13 * not use this file except in compliance with the License. 14 * You may obtain a copy of the License at 15 * 16 * http://www.apache.org/licenses/LICENSE-2.0 17 * 18 * Unless required by applicable law or agreed to in writing, software 19 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 20 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 * See the License for the specific language governing permissions and 22 * limitations under the License. 23 */ 24 25 #ifndef MBEDTLS_CONFIG_H 26 #define MBEDTLS_CONFIG_H 27 28 #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) 29 #define _CRT_SECURE_NO_DEPRECATE 1 30 #endif 31 32 #define MBEDTLS_PSA_CRYPTO_C 33 #define MBEDTLS_PSA_CRYPTO_CONFIG 34 35 /* PSA core mandatory configuration options */ 36 #define MBEDTLS_CIPHER_C 37 #define MBEDTLS_AES_C 38 #define MBEDTLS_SHA256_C 39 #define MBEDTLS_PSA_BUILTIN_ALG_SHA_256 1 40 #define MBEDTLS_CTR_DRBG_C 41 #define MBEDTLS_ENTROPY_C 42 43 /* 44 * Configuration options that may need to be additionally enabled for the 45 * purpose of a specific set of tests. 46 */ 47 //#define MBEDTLS_SHA1_C 48 //#define MBEDTLS_SHA224_C 49 //#define MBEDTLS_SHA384_C 50 //#define MBEDTLS_SHA512_C 51 //#define MBEDTLS_MD_C 52 //#define MBEDTLS_PEM_PARSE_C 53 //#define MBEDTLS_BASE64_C 54 55 #include "mbedtls/config_psa.h" 56 #include "mbedtls/check_config.h" 57 58 #endif /* MBEDTLS_CONFIG_H */ 59