crypto_adjust_config_dependencies.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_adjust_config_dependencies.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_platform.h
crypto_se_driver.h
crypto_sizes.h
crypto_struct.h
crypto_types.h
chachapoly_alt.h

Adjust PSA configuration by resolving some dependencies.

This is an internal header. Do not include it directly.

See docs/proposed/psa-conditional-inclusion-c.md. If the Mbed TLS implementation of a cryptographic mechanism A depends on a cryptographic mechanism B then if the cryptographic mechanism A is enabled and not accelerated enable B. Note that if A is enabled and accelerated, it is not necessary to enable B for A support.

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

    #ifndefPSA_CRYPTO_ADJUST_CONFIG_DEPENDENCIES_H
    #definePSA_CRYPTO_ADJUST_CONFIG_DEPENDENCIES_H

    #if!defined(MBEDTLS_CONFIG_FILES_READ)
    #error"Donotincludepsa/crypto_adjust_*.hmanually!Thiscanleadtoproblems,"\
    "uptoandincludingruntimeerrorssuchasbufferoverflows."\
    "Ifyou'retryingtofixacomplaintfromcheck_config.h,justremove"\
    "itfromyourconfigurationfile:sinceMbedTLS3.0,itisincluded"\
    "automaticallyattherightpoint."
    #endif/**/

    #if(defined(PSA_WANT_ALG_TLS12_PRF)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_TLS12_PRF))||\
    (defined(PSA_WANT_ALG_TLS12_PSK_TO_MS)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_TLS12_PSK_TO_MS))||\
    (defined(PSA_WANT_ALG_HKDF)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_HKDF))||\
    (defined(PSA_WANT_ALG_HKDF_EXTRACT)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_HKDF_EXTRACT))||\
    (defined(PSA_WANT_ALG_HKDF_EXPAND)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_HKDF_EXPAND))||\
    (defined(PSA_WANT_ALG_PBKDF2_HMAC)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_PBKDF2_HMAC))
    #definePSA_WANT_ALG_HMAC1
    #definePSA_WANT_KEY_TYPE_HMAC1
    #endif

    #if(defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128)&&\
    !defined(MBEDTLS_PSA_ACCEL_ALG_PBKDF2_AES_CMAC_PRF_128))
    #definePSA_WANT_KEY_TYPE_AES1
    #definePSA_WANT_ALG_CMAC1
    #endif

    #endif/*PSA_CRYPTO_ADJUST_CONFIG_DEPENDENCIES_H*/