Go to the documentation of this file.
16 #ifndef PSA_CRYPTO_ADJUST_CONFIG_SYNONYMS_H
17 #define PSA_CRYPTO_ADJUST_CONFIG_SYNONYMS_H
19 #if !defined(MBEDTLS_CONFIG_FILES_READ)
20 #error "Do not include psa/crypto_adjust_*.h manually! This can lead to problems, " \
21 "up to and including runtime errors such as buffer overflows. " \
22 "If you're trying to fix a complaint from check_config.h, just remove " \
23 "it from your configuration file: since Mbed TLS 3.0, it is included " \
24 "automatically at the right point."
31 #if defined(PSA_WANT_ALG_ECDSA_ANY) && !defined(PSA_WANT_ALG_ECDSA)
32 #define PSA_WANT_ALG_ECDSA PSA_WANT_ALG_ECDSA_ANY
33 #elif !defined(PSA_WANT_ALG_ECDSA_ANY) && defined(PSA_WANT_ALG_ECDSA)
34 #define PSA_WANT_ALG_ECDSA_ANY PSA_WANT_ALG_ECDSA
37 #if defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN_RAW) && !defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN)
38 #define PSA_WANT_ALG_RSA_PKCS1V15_SIGN PSA_WANT_ALG_RSA_PKCS1V15_SIGN_RAW
39 #elif !defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN_RAW) && defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN)
40 #define PSA_WANT_ALG_RSA_PKCS1V15_SIGN_RAW PSA_WANT_ALG_RSA_PKCS1V15_SIGN
43 #if defined(PSA_WANT_ALG_RSA_PSS_ANY_SALT) && !defined(PSA_WANT_ALG_RSA_PSS)
44 #define PSA_WANT_ALG_RSA_PSS PSA_WANT_ALG_RSA_PSS_ANY_SALT
45 #elif !defined(PSA_WANT_ALG_RSA_PSS_ANY_SALT) && defined(PSA_WANT_ALG_RSA_PSS)
46 #define PSA_WANT_ALG_RSA_PSS_ANY_SALT PSA_WANT_ALG_RSA_PSS