Path: blob/master/thirdparty/mbedtls/include/psa/crypto_adjust_auto_enabled.h
9904 views
/**1* \file psa/crypto_adjust_auto_enabled.h2* \brief Adjust PSA configuration: enable always-on features3*4* This is an internal header. Do not include it directly.5*6* Always enable certain features which require a negligible amount of code7* to implement, to avoid some edge cases in the configuration combinatorics.8*/9/*10* Copyright The Mbed TLS Contributors11* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later12*/1314#ifndef PSA_CRYPTO_ADJUST_AUTO_ENABLED_H15#define PSA_CRYPTO_ADJUST_AUTO_ENABLED_H1617#if !defined(MBEDTLS_CONFIG_FILES_READ)18#error "Do not include psa/crypto_adjust_*.h manually! This can lead to problems, " \19"up to and including runtime errors such as buffer overflows. " \20"If you're trying to fix a complaint from check_config.h, just remove " \21"it from your configuration file: since Mbed TLS 3.0, it is included " \22"automatically at the right point."23#endif /* */2425#define PSA_WANT_KEY_TYPE_DERIVE 126#define PSA_WANT_KEY_TYPE_PASSWORD 127#define PSA_WANT_KEY_TYPE_PASSWORD_HASH 128#define PSA_WANT_KEY_TYPE_RAW_DATA 12930#endif /* PSA_CRYPTO_ADJUST_AUTO_ENABLED_H */313233