crypto_legacy.h
config_psa.h
aes.h
aria.h
asn1.h
asn1write.h
base64.h
bignum.h
block_cipher.h
build_info.h
camellia.h
ccm.h
chacha20.h
chachapoly.h
cipher.h
cmac.h
config_psa.h
ctr_drbg.h
debug.h
des.h
dhm.h
ecdh.h
ecdsa.h
ecjpake.h
ecp.h
entropy.h
error.h
gcm.h
hkdf.h
hmac_drbg.h
lms.h
md.h
md5.h
memory_buffer_alloc.h
net_sockets.h
nist_kw.h
oid.h
pem.h
pk.h
pkcs12.h
pkcs5.h
pkcs7.h
platform.h
platform_time.h
platform_util.h
poly1305.h
psa_util.h
ripemd160.h
rsa.h
sha1.h
sha256.h
sha3.h
sha512.h
ssl.h
ssl_cache.h
ssl_ciphersuites.h
ssl_cookie.h
ssl_ticket.h
threading.h
timing.h
version.h
x509.h
x509_crl.h
x509_crt.h
x509_csr.h
build_info.h
crypto.h
crypto_builtin_composites.h
crypto_builtin_key_derivation.h
crypto_builtin_primitives.h
crypto_driver_common.h
crypto_driver_contexts_composites.h
crypto_driver_contexts_key_derivation.h
crypto_driver_contexts_primitives.h
crypto_extra.h
crypto_legacy.h
crypto_platform.h
crypto_se_driver.h
crypto_sizes.h
crypto_struct.h
crypto_types.h
chachapoly_alt.h

Add temporary suppport for deprecated symbols before they are removed from the library.

PSA_WANT_KEY_TYPE_xxx_KEY_PAIR and MBEDTLS_PSA_ACCEL_KEY_TYPE_xxx_KEY_PAIR symbols are deprecated. New symols add a suffix to that base name in order to clearly state what is the expected use for the key (use, import, export, generate, derive). Here we define some backward compatibility support for uses stil using the legacy symbols.

    /*
    *CopyrightTheMbedTLSContributors
    *SPDX-License-Identifier:Apache-2.0ORGPL-2.0-or-later
    */

    #ifndefMBEDTLS_PSA_CRYPTO_LEGACY_H
    #defineMBEDTLS_PSA_CRYPTO_LEGACY_H

    #ifdefined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR)//no-check-names
    #if!defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC)
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT)
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT)
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE)
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE)
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE1
    #endif
    #endif

    #ifdefined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR)//no-check-names
    #if!defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC)
    #definePSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT)
    #definePSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT)
    #definePSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT1
    #endif
    #if!defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE)
    #definePSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE1
    #endif
    #endif

    #ifdefined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR)//no-check-names
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_BASIC)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_BASIC
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_IMPORT)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_IMPORT
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_EXPORT)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_EXPORT
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_GENERATE)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_GENERATE
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_DERIVE)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_DERIVE
    #endif
    #endif

    #ifdefined(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR)//no-check-names
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_BASIC)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_BASIC
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_IMPORT)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_IMPORT
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_EXPORT)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_EXPORT
    #endif
    #if!defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_GENERATE)
    #defineMBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR_GENERATE
    #endif
    #endif

    #endif/*MBEDTLS_PSA_CRYPTO_LEGACY_H*/