Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-08-27 09:43:22

0001 /**
0002  * \file psa/crypto_adjust_auto_enabled.h
0003  * \brief Adjust PSA configuration: enable always-on features
0004  *
0005  * This is an internal header. Do not include it directly.
0006  *
0007  * Always enable certain features which require a negligible amount of code
0008  * to implement, to avoid some edge cases in the configuration combinatorics.
0009  */
0010 /*
0011  *  Copyright The Mbed TLS Contributors
0012  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
0013  */
0014 
0015 #ifndef PSA_CRYPTO_ADJUST_AUTO_ENABLED_H
0016 #define PSA_CRYPTO_ADJUST_AUTO_ENABLED_H
0017 
0018 #if !defined(MBEDTLS_CONFIG_FILES_READ)
0019 #error "Do not include psa/crypto_adjust_*.h manually! This can lead to problems, " \
0020     "up to and including runtime errors such as buffer overflows. " \
0021     "If you're trying to fix a complaint from check_config.h, just remove " \
0022     "it from your configuration file: since Mbed TLS 3.0, it is included " \
0023     "automatically at the right point."
0024 #endif /* */
0025 
0026 #define PSA_WANT_KEY_TYPE_DERIVE 1
0027 #define PSA_WANT_KEY_TYPE_PASSWORD 1
0028 #define PSA_WANT_KEY_TYPE_PASSWORD_HASH 1
0029 #define PSA_WANT_KEY_TYPE_RAW_DATA 1
0030 
0031 #endif /* PSA_CRYPTO_ADJUST_AUTO_ENABLED_H */