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