mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-29 10:26:39 +08:00
config_adjust_test_accelerators.h: Error out if wrong usage
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
e8a9258ff0
commit
1520875247
@ -38,6 +38,14 @@
|
|||||||
#ifndef MBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS_H
|
#ifndef MBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS_H
|
||||||
#define MBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS_H
|
#define MBEDTLS_CONFIG_ADJUST_TEST_ACCELERATORS_H
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_CONFIG_FILES_READ)
|
||||||
|
#error "Do not include mbedtls/config_adjust_*.h manually! This can lead to problems, " \
|
||||||
|
"up to and including runtime errors such as buffer overflows. " \
|
||||||
|
"If you're trying to fix a complaint from check_config.h, just remove " \
|
||||||
|
"it from your configuration file: since Mbed TLS 3.0, it is included " \
|
||||||
|
"automatically at the right point."
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PSA_CRYPTO_DRIVER_TEST_ALL)
|
#if defined(PSA_CRYPTO_DRIVER_TEST_ALL)
|
||||||
/* PSA_CRYPTO_DRIVER_TEST_ALL activates test drivers while keeping the
|
/* PSA_CRYPTO_DRIVER_TEST_ALL activates test drivers while keeping the
|
||||||
* built-in implementations active. Normally setting MBEDTLS_PSA_ACCEL_xxx
|
* built-in implementations active. Normally setting MBEDTLS_PSA_ACCEL_xxx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user