crypto_driver_contexts_primitives.h
psa/crypto_driver_common.h
psa/crypto_builtin_primitives.h
crypto_struct.h
mbedtls/check_config.h
mbedtls/cipher.h
mbedtls/config.h
mbedtls/config_psa.h
mbedtls/md2.h
mbedtls/md4.h
mbedtls/md5.h
mbedtls/platform_time.h
mbedtls/platform_util.h
mbedtls/ripemd160.h
mbedtls/sha1.h
mbedtls/sha256.h
mbedtls/sha512.h
psa/crypto_builtin_primitives.h
psa/crypto_driver_common.h
crypto_driver_contexts_primitives.h
crypto_platform.h
psa/crypto_sizes.h
crypto_types.h
crypto_values.h
limits.h
stddef.h
stdint.h
time.h
crypto.h
crypto_driver_contexts_primitives.h
crypto_struct.h
psa_driver_hash_context_t
psa_driver_cipher_context_t

    /*
    *DeclarationofcontextstructuresforusewiththePSAdriverwrapper
    *interface.Thisfilecontainsthecontextstructuresfor'primitive'
    *operations,i.e.thoseoperationswhichdonotrelyonothercontexts.
    *
    *Warning:Thisfilewillbeauto-generatedinthefuture.
    *
    *\noteThisfilemaynotbeincludeddirectly.Applicationsmust
    *includepsa/crypto.h.
    *
    *\noteThisheaderanditscontentisnotpartoftheMbedTLSAPIand
    *applicationsmustnotdependonit.Itsmainpurposeistodefinethe
    *multi-partstateobjectsofthePSAdriversincludedinthecryptographic
    *library.Thedefinitionoftheseobjectsarethenusedbycrypto_struct.h
    *todefinetheimplementation-definedtypesofPSAmulti-partstateobjects.
    */
    /*CopyrightTheMbedTLSContributors
    *SPDX-License-Identifier:Apache-2.0ORGPL-2.0-or-later
    */

    #ifndefPSA_CRYPTO_DRIVER_CONTEXTS_PRIMITIVES_H
    #definePSA_CRYPTO_DRIVER_CONTEXTS_PRIMITIVES_H

    #include"psa/crypto_driver_common.h"

    /*IncludethecontextstructuredefinitionsfortheMbedTLSsoftwaredrivers*/
    #include"psa/crypto_builtin_primitives.h"

    /*Includethecontextstructuredefinitionsforthosedriversthatwere
    *declaredduringtheautogenerationprocess.*/

    #ifdefined(MBEDTLS_TEST_LIBTESTDRIVER1)
    #include<libtestdriver1/include/psa/crypto.h>
    #endif

    #ifdefined(PSA_CRYPTO_DRIVER_TEST)

    #ifdefined(MBEDTLS_TEST_LIBTESTDRIVER1)&&\
    defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_CIPHER)
    typedeflibtestdriver1_mbedtls_psa_cipher_operation_t
    mbedtls_transparent_test_driver_cipher_operation_t;

    #defineMBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT\
    LIBTESTDRIVER1_MBEDTLS_PSA_CIPHER_OPERATION_INIT
    #else
    typedefmbedtls_psa_cipher_operation_t
    mbedtls_transparent_test_driver_cipher_operation_t;

    #defineMBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT\
    MBEDTLS_PSA_CIPHER_OPERATION_INIT
    #endif/*MBEDTLS_TEST_LIBTESTDRIVER1&&
    LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_CIPHER*/

    #ifdefined(MBEDTLS_TEST_LIBTESTDRIVER1)&&\
    defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_HASH)
    typedeflibtestdriver1_mbedtls_psa_hash_operation_t
    mbedtls_transparent_test_driver_hash_operation_t;

    #defineMBEDTLS_TRANSPARENT_TEST_DRIVER_HASH_OPERATION_INIT\
    LIBTESTDRIVER1_MBEDTLS_PSA_HASH_OPERATION_INIT
    #else
    typedefmbedtls_psa_hash_operation_t
    mbedtls_transparent_test_driver_hash_operation_t;

    #defineMBEDTLS_TRANSPARENT_TEST_DRIVER_HASH_OPERATION_INIT\
    MBEDTLS_PSA_HASH_OPERATION_INIT
    #endif/*MBEDTLS_TEST_LIBTESTDRIVER1&&
    LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_HASH*/

    typedefstruct{
    unsignedintinitialised:1;
    mbedtls_transparent_test_driver_cipher_operation_tctx;
    }mbedtls_opaque_test_driver_cipher_operation_t;

    #defineMBEDTLS_OPAQUE_TEST_DRIVER_CIPHER_OPERATION_INIT\
    {0,MBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT}

    #endif/*PSA_CRYPTO_DRIVER_TEST*/

    /*Definethecontexttobeusedforanoperationthatisexecutedthroughthe
    *PSADriverwrapperlayerastheunionofallpossibledriver'scontexts.
    *
    *Theunionmembersarethedriver'scontextstructures,andthemembernames
    *areformattedas`'drivername'_ctx`.Thisallowsforproceduralgeneration
    *ofboththisfileandthecontentofpsa_crypto_driver_wrappers.c*/

    typedefunion{
    unsigneddummy;/*Makesurethisunionisalwaysnon-empty*/
    mbedtls_psa_hash_operation_tmbedtls_ctx;
    #ifdefined(PSA_CRYPTO_DRIVER_TEST)
    mbedtls_transparent_test_driver_hash_operation_ttest_driver_ctx;
    #endif
    }psa_driver_hash_context_t;

    typedefunion{
    unsigneddummy;/*Makesurethisunionisalwaysnon-empty*/
    mbedtls_psa_cipher_operation_tmbedtls_ctx;
    #ifdefined(PSA_CRYPTO_DRIVER_TEST)
    mbedtls_transparent_test_driver_cipher_operation_ttransparent_test_driver_ctx;
    mbedtls_opaque_test_driver_cipher_operation_topaque_test_driver_ctx;
    #endif
    }psa_driver_cipher_context_t;

    #endif/*PSA_CRYPTO_DRIVER_CONTEXTS_PRIMITIVES_H*/
    /*Endofautomaticallygeneratedfile.*/