mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 11:09:00 -04:00
Introduce crypto_adjust_config_derived.h
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
This commit is contained in:
parent
f938f4ff06
commit
665eda7031
@ -52,9 +52,7 @@
|
|||||||
|
|
||||||
#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
|
#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_JPAKE)
|
#include "psa/crypto_adjust_config_derived.h"
|
||||||
#define PSA_WANT_ALG_SOME_PAKE 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "psa/crypto_adjust_auto_enabled.h"
|
#include "psa/crypto_adjust_auto_enabled.h"
|
||||||
|
|
||||||
|
31
tf-psa-crypto/include/psa/crypto_adjust_config_derived.h
Normal file
31
tf-psa-crypto/include/psa/crypto_adjust_config_derived.h
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/**
|
||||||
|
* \file psa/crypto_adjust_config_derived.h
|
||||||
|
* \brief Adjust PSA configuration by defining internal symbols
|
||||||
|
*
|
||||||
|
* This is an internal header. Do not include it directly.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Copyright The Mbed TLS Contributors
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PSA_CRYPTO_ADJUST_CONFIG_DERIVED_H
|
||||||
|
#define PSA_CRYPTO_ADJUST_CONFIG_DERIVED_H
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_CONFIG_FILES_READ)
|
||||||
|
#error "Do not include psa/crypto_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_WANT_ALG_ECDSA) || defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA)
|
||||||
|
#define PSA_HAVE_ALG_SOME_ECDSA
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PSA_WANT_ALG_JPAKE)
|
||||||
|
#define PSA_WANT_ALG_SOME_PAKE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* PSA_CRYPTO_ADJUST_CONFIG_DERIVED_H */
|
Loading…
x
Reference in New Issue
Block a user