mbedtls/build_info.h
mbedtls/mbedtls_config.h
mbedtls/config_psa.h
mbedtls/config_adjust_legacy_crypto.h
mbedtls/config_adjust_x509.h
mbedtls/config_adjust_ssl.h
mbedtls/check_config.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
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
mbedtls/check_config.h
mbedtls/config_adjust_legacy_crypto.h
mbedtls/config_adjust_psa_from_legacy.h
mbedtls/config_adjust_psa_superset_legacy.h
mbedtls/config_adjust_ssl.h
mbedtls/config_adjust_x509.h
mbedtls/config_psa.h
mbedtls/mbedtls_config.h
psa/crypto_adjust_auto_enabled.h
psa/crypto_adjust_config_dependencies.h
psa/crypto_adjust_config_key_pair_types.h
psa/crypto_adjust_config_synonyms.h
psa/crypto_legacy.h
limits.h
stdint.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
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_platform.h
crypto_se_driver.h
crypto_sizes.h
crypto_struct.h
crypto_types.h
chachapoly_alt.h
MBEDTLS_VERSION_MAJOR
3

The version number x.y.z is split into three parts. Major, Minor, Patchlevel

MBEDTLS_VERSION_MINOR
6
MBEDTLS_VERSION_PATCH
2
MBEDTLS_VERSION_NUMBER
0x03060200

The single version number has the following structure: MMNNPP00 Major version | Minor version | Patch version

MBEDTLS_VERSION_STRING
"3.6.2"
MBEDTLS_VERSION_STRING_FULL
"Mbed TLS 3.6.2"
MBEDTLS_CONFIG_FILES_READ
MBEDTLS_MD_C
MBEDTLS_CONFIG_IS_FINALIZED

Build-time configuration info.

Include this file if you need to depend on the configuration options defined in mbedtls_config.h or MBEDTLS_CONFIG_FILE

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

    #ifndefMBEDTLS_BUILD_INFO_H
    #defineMBEDTLS_BUILD_INFO_H

    /*
    *Thissetofcompile-timedefinescanbeusedtodeterminetheversionnumber
    *oftheMbedTLSlibraryused.Run-timevariablesforthesamecanbefoundin
    *version.h
    */

    #defineMBEDTLS_VERSION_MAJOR3
    #defineMBEDTLS_VERSION_MINOR6
    #defineMBEDTLS_VERSION_PATCH2

    #defineMBEDTLS_VERSION_NUMBER0x03060200
    #defineMBEDTLS_VERSION_STRING"3.6.2"
    #defineMBEDTLS_VERSION_STRING_FULL"MbedTLS3.6.2"

    /*Macrosforbuild-timeplatformdetection*/

    #if!defined(MBEDTLS_ARCH_IS_ARM64)&&\
    (defined(__aarch64__)||defined(_M_ARM64)||defined(_M_ARM64EC))
    #defineMBEDTLS_ARCH_IS_ARM64
    #endif

    #if!defined(MBEDTLS_ARCH_IS_ARM32)&&\
    (defined(__arm__)||defined(_M_ARM)||\
    defined(_M_ARMT)||defined(__thumb__)||defined(__thumb2__))
    #defineMBEDTLS_ARCH_IS_ARM32
    #endif

    #if!defined(MBEDTLS_ARCH_IS_X64)&&\
    (defined(__amd64__)||defined(__x86_64__)||\
    ((defined(_M_X64)||defined(_M_AMD64))&&!defined(_M_ARM64EC)))
    #defineMBEDTLS_ARCH_IS_X64
    #endif

    #if!defined(MBEDTLS_ARCH_IS_X86)&&\
    (defined(__i386__)||defined(_X86_)||\
    (defined(_M_IX86)&&!defined(_M_I86)))
    #defineMBEDTLS_ARCH_IS_X86
    #endif

    #if!defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)&&\
    (defined(_M_ARM64)||defined(_M_ARM64EC))
    #defineMBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64
    #endif

    /*ThisisdefinedifthearchitectureisArmv8-A,orhigher*/
    #if!defined(MBEDTLS_ARCH_IS_ARMV8_A)
    #ifdefined(__ARM_ARCH)&&defined(__ARM_ARCH_PROFILE)
    #if(__ARM_ARCH>=8)&&(__ARM_ARCH_PROFILE=='A')
    /*GCC,clang,armclangandIAR*/
    #defineMBEDTLS_ARCH_IS_ARMV8_A
    #endif
    #elifdefined(__ARM_ARCH_8A)
    /*Alternativedefinedbyclang*/
    #defineMBEDTLS_ARCH_IS_ARMV8_A
    #elifdefined(_M_ARM64)||defined(_M_ARM64EC)
    /*MSVCARM64isatleastArmv8.0-A*/
    #defineMBEDTLS_ARCH_IS_ARMV8_A
    #endif
    #endif

    #ifdefined(__GNUC__)&&!defined(__ARMCC_VERSION)&&!defined(__clang__)\
    &&!defined(__llvm__)&&!defined(__INTEL_COMPILER)
    /*Definedifthecompilerreallyisgccandnotclang,etc*/
    #defineMBEDTLS_COMPILER_IS_GCC
    #defineMBEDTLS_GCC_VERSION\
    (__GNUC__*10000+__GNUC_MINOR__*100+__GNUC_PATCHLEVEL__)
    #endif

    #ifdefined(_MSC_VER)&&!defined(_CRT_SECURE_NO_DEPRECATE)
    #define_CRT_SECURE_NO_DEPRECATE1
    #endif

    /*Define`inline`onsomenon-C99-compliantcompilers.*/
    #if(defined(__ARMCC_VERSION)||defined(_MSC_VER))&&\
    !defined(inline)&&!defined(__cplusplus)
    #defineinline__inline
    #endif

    #ifdefined(MBEDTLS_CONFIG_FILES_READ)
    #error"Somethingwentwrong:MBEDTLS_CONFIG_FILES_READdefinedbeforereadingtheconfigfiles!"
    #endif
    #ifdefined(MBEDTLS_CONFIG_IS_FINALIZED)
    #error"Somethingwentwrong:MBEDTLS_CONFIG_IS_FINALIZEDdefinedbeforereadingtheconfigfiles!"
    #endif

    /*X.509,TLSandnon-PSAcryptoconfiguration*/
    #if!defined(MBEDTLS_CONFIG_FILE)
    #include"mbedtls/mbedtls_config.h"
    #else
    #includeMBEDTLS_CONFIG_FILE
    #endif

    #ifdefined(MBEDTLS_CONFIG_VERSION)&&(\
    MBEDTLS_CONFIG_VERSION<0x03000000||\
    MBEDTLS_CONFIG_VERSION>MBEDTLS_VERSION_NUMBER)
    #error"Invalidconfigversion,definedvalueofMBEDTLS_CONFIG_VERSIONisunsupported"
    #endif

    /*Targetandapplicationspecificconfigurations
    *
    *Allowusertooverrideanypreviousdefault.
    *
    */
    #ifdefined(MBEDTLS_USER_CONFIG_FILE)
    #includeMBEDTLS_USER_CONFIG_FILE
    #endif

    /*PSAcryptoconfiguration*/
    #ifdefined(MBEDTLS_PSA_CRYPTO_CONFIG)
    #ifdefined(MBEDTLS_PSA_CRYPTO_CONFIG_FILE)
    #includeMBEDTLS_PSA_CRYPTO_CONFIG_FILE
    #else
    #include"psa/crypto_config.h"
    #endif
    #ifdefined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE)
    #includeMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
    #endif
    #endif/*defined(MBEDTLS_PSA_CRYPTO_CONFIG)*/

    /*Indicatethatallconfigurationfileshavebeenread.
    *Itisnowtimetoadjusttheconfiguration(followthroughondependencies,
    *makePSAandlegacycryptoconsistent,etc.).
    */
    #defineMBEDTLS_CONFIG_FILES_READ

    /*Auto-enableMBEDTLS_CTR_DRBG_USE_128_BIT_KEYif
    *MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTHandMBEDTLS_CTR_DRBG_Cdefined
    *toensurea128-bitkeysizeinCTR_DRBG.
    */
    #ifdefined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)&&defined(MBEDTLS_CTR_DRBG_C)
    #defineMBEDTLS_CTR_DRBG_USE_128_BIT_KEY
    #endif

    /*Auto-enableMBEDTLS_MD_Cifneededbyamodulethatdidn'trequireit
    *inapreviousrelease,toensurebackwardscompatibility.
    */
    #ifdefined(MBEDTLS_PKCS5_C)
    #defineMBEDTLS_MD_C
    #endif

    /*PSAcryptospecificconfigurationoptions
    *-Ifconfig_psa.hreadsaconfigurationoptioninpreprocessordirective,
    *thissymbolshouldbesetbeforeitsinclusion.(e.g.MBEDTLS_MD_C)
    *-Ifconfig_psa.hwritesaconfigurationoptioninconditionaldirective,
    *thissymbolshouldbeconsultedafteritsinclusion.
    *(e.g.MBEDTLS_MD_LIGHT)
    */
    #ifdefined(MBEDTLS_PSA_CRYPTO_CONFIG)/*PSA_WANT_xxxinfluencesMBEDTLS_xxx*/||\
    defined(MBEDTLS_PSA_CRYPTO_C)/*MBEDTLS_xxxinfluencesPSA_WANT_xxx*/||\
    defined(MBEDTLS_PSA_CRYPTO_CLIENT)/*Thesameastheprevious,butwithseparationonly*/
    #include"mbedtls/config_psa.h"
    #endif

    #include"mbedtls/config_adjust_legacy_crypto.h"

    #include"mbedtls/config_adjust_x509.h"

    #include"mbedtls/config_adjust_ssl.h"

    /*Indicatethatallconfigurationsymbolsareset,
    *eventheonesthatarecalculatedprogrammatically.
    *Itisnowsafetoquerytheconfiguration(tocheckit,tosizebuffers,
    *etc.).
    */
    #defineMBEDTLS_CONFIG_IS_FINALIZED

    #include"mbedtls/check_config.h"

    #endif/*MBEDTLS_BUILD_INFO_H*/