Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:50

0001 /**
0002  * \file mbedtls/config_psa.h
0003  * \brief PSA crypto configuration options (set of defines)
0004  *
0005  *  This set of compile-time options takes settings defined in
0006  *  include/mbedtls/mbedtls_config.h and include/psa/crypto_config.h and uses
0007  *  those definitions to define symbols used in the library code.
0008  *
0009  *  Users and integrators should not edit this file, please edit
0010  *  include/mbedtls/mbedtls_config.h for MBEDTLS_XXX settings or
0011  *  include/psa/crypto_config.h for PSA_WANT_XXX settings.
0012  */
0013 /*
0014  *  Copyright The Mbed TLS Contributors
0015  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
0016  */
0017 
0018 #ifndef MBEDTLS_CONFIG_PSA_H
0019 #define MBEDTLS_CONFIG_PSA_H
0020 
0021 #include "psa/crypto_adjust_config_synonyms.h"
0022 
0023 #include "psa/crypto_adjust_config_dependencies.h"
0024 
0025 /* Require built-in implementations based on PSA requirements */
0026 
0027 /* We need this to have a complete list of requirements
0028  * before we deduce what built-ins are required. */
0029 #include "psa/crypto_adjust_config_key_pair_types.h"
0030 
0031 #if defined(MBEDTLS_PSA_CRYPTO_C)
0032 /* If we are implementing PSA crypto ourselves, then we want to enable the
0033  * required built-ins. Otherwise, PSA features will be provided by the server. */
0034 #include "mbedtls/private/config_adjust_legacy_from_psa.h"
0035 #if defined(MBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS) //no-check-names
0036 #include "mbedtls/private/config_adjust_test_accelerators.h"
0037 #endif
0038 #endif /* MBEDTLS_PSA_CRYPTO_C */
0039 
0040 #include "psa/crypto_adjust_config_derived.h"
0041 
0042 #include "psa/crypto_adjust_auto_enabled.h"
0043 
0044 #endif /* MBEDTLS_CONFIG_PSA_H */