1b0563631STom Van Eyck /** 2b0563631STom Van Eyck * \file psa/crypto_adjust_auto_enabled.h 3b0563631STom Van Eyck * \brief Adjust PSA configuration: enable always-on features 4b0563631STom Van Eyck * 5*cb034002SJerome Forissier * This is an internal header. Do not include it directly. 6*cb034002SJerome Forissier * 7b0563631STom Van Eyck * Always enable certain features which require a negligible amount of code 8b0563631STom Van Eyck * to implement, to avoid some edge cases in the configuration combinatorics. 9b0563631STom Van Eyck */ 10b0563631STom Van Eyck /* 11b0563631STom Van Eyck * Copyright The Mbed TLS Contributors 12b0563631STom Van Eyck * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 13b0563631STom Van Eyck */ 14b0563631STom Van Eyck 15b0563631STom Van Eyck #ifndef PSA_CRYPTO_ADJUST_AUTO_ENABLED_H 16b0563631STom Van Eyck #define PSA_CRYPTO_ADJUST_AUTO_ENABLED_H 17b0563631STom Van Eyck 18*cb034002SJerome Forissier #if !defined(MBEDTLS_CONFIG_FILES_READ) 19*cb034002SJerome Forissier #error "Do not include psa/crypto_adjust_*.h manually! This can lead to problems, " \ 20*cb034002SJerome Forissier "up to and including runtime errors such as buffer overflows. " \ 21*cb034002SJerome Forissier "If you're trying to fix a complaint from check_config.h, just remove " \ 22*cb034002SJerome Forissier "it from your configuration file: since Mbed TLS 3.0, it is included " \ 23*cb034002SJerome Forissier "automatically at the right point." 24*cb034002SJerome Forissier #endif /* */ 25*cb034002SJerome Forissier 26b0563631STom Van Eyck #define PSA_WANT_KEY_TYPE_DERIVE 1 27b0563631STom Van Eyck #define PSA_WANT_KEY_TYPE_PASSWORD 1 28b0563631STom Van Eyck #define PSA_WANT_KEY_TYPE_PASSWORD_HASH 1 29b0563631STom Van Eyck #define PSA_WANT_KEY_TYPE_RAW_DATA 1 30b0563631STom Van Eyck 31b0563631STom Van Eyck #endif /* PSA_CRYPTO_ADJUST_AUTO_ENABLED_H */ 32