/********************************************************************************/ /* */ /* Include Headers for Internal Routines */ /* Written by Ken Goldman */ /* IBM Thomas J. Watson Research Center */ /* $Id: InternalRoutines.h 1594 2020-03-26 22:15:48Z kgoldman $ */ /* */ /* Licenses and Notices */ /* */ /* 1. Copyright Licenses: */ /* */ /* - Trusted Computing Group (TCG) grants to the user of the source code in */ /* this specification (the "Source Code") a worldwide, irrevocable, */ /* nonexclusive, royalty free, copyright license to reproduce, create */ /* derivative works, distribute, display and perform the Source Code and */ /* derivative works thereof, and to grant others the rights granted herein. */ /* */ /* - The TCG grants to the user of the other parts of the specification */ /* (other than the Source Code) the rights to reproduce, distribute, */ /* display, and perform the specification solely for the purpose of */ /* developing products based on such documents. */ /* */ /* 2. Source Code Distribution Conditions: */ /* */ /* - Redistributions of Source Code must retain the above copyright licenses, */ /* this list of conditions and the following disclaimers. */ /* */ /* - Redistributions in binary form must reproduce the above copyright */ /* licenses, this list of conditions and the following disclaimers in the */ /* documentation and/or other materials provided with the distribution. */ /* */ /* 3. Disclaimers: */ /* */ /* - THE COPYRIGHT LICENSES SET FORTH ABOVE DO NOT REPRESENT ANY FORM OF */ /* LICENSE OR WAIVER, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, WITH */ /* RESPECT TO PATENT RIGHTS HELD BY TCG MEMBERS (OR OTHER THIRD PARTIES) */ /* THAT MAY BE NECESSARY TO IMPLEMENT THIS SPECIFICATION OR OTHERWISE. */ /* Contact TCG Administration (admin@trustedcomputinggroup.org) for */ /* information on specification licensing rights available through TCG */ /* membership agreements. */ /* */ /* - THIS SPECIFICATION IS PROVIDED "AS IS" WITH NO EXPRESS OR IMPLIED */ /* WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR */ /* FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, COMPLETENESS, OR */ /* NONINFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS, OR ANY WARRANTY */ /* OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. */ /* */ /* - Without limitation, TCG and its members and licensors disclaim all */ /* liability, including liability for infringement of any proprietary */ /* rights, relating to use of information in this specification and to the */ /* implementation of this specification, and TCG disclaims all liability for */ /* cost of procurement of substitute goods or services, lost profits, loss */ /* of use, loss of data or any incidental, consequential, direct, indirect, */ /* or special damages, whether under contract, tort, warranty or otherwise, */ /* arising in any way out of use or reliance upon this specification or any */ /* information herein. */ /* */ /* (c) Copyright IBM Corp. and others, 2016 - 2020 */ /* */ /********************************************************************************/ #ifndef INTERNALROUTINES_H #define INTERNALROUTINES_H #if !defined _LIB_SUPPORT_H_ && !defined _TPM_H_ #error "Should not be called" #endif /* DRTM functions */ #include "_TPM_Hash_Start_fp.h" #include "_TPM_Hash_Data_fp.h" #include "_TPM_Hash_End_fp.h" /* Internal subsystem functions */ #include "Object_fp.h" #include "Context_spt_fp.h" #include "Object_spt_fp.h" #include "Entity_fp.h" #include "Session_fp.h" #include "Hierarchy_fp.h" #include "NVReserved_fp.h" #include "NVDynamic_fp.h" #include "NV_spt_fp.h" #include "ACT_spt_fp.h" #include "PCR_fp.h" #include "DA_fp.h" #include "TpmFail_fp.h" #include "SessionProcess_fp.h" /* Internal support functions */ #include "CommandCodeAttributes_fp.h" #include "Marshal_fp.h" #include "Unmarshal_fp.h" /* kgold */ #include "Time_fp.h" #include "Locality_fp.h" #include "PP_fp.h" #include "CommandAudit_fp.h" #include "Manufacture_fp.h" #include "Handle_fp.h" #include "Power_fp.h" #include "Response_fp.h" #include "CommandDispatcher_fp.h" #if CC_AC_Send # include "AC_spt_fp.h" #endif // CC_AC_Send /* Miscellaneous */ #include "Bits_fp.h" #include "AlgorithmCap_fp.h" #include "PropertyCap_fp.h" #include "IoBuffers_fp.h" #include "Memory_fp.h" #include "ResponseCodeProcessing_fp.h" /* Internal cryptographic functions */ #include "BnConvert_fp.h" #include "BnMath_fp.h" #include "BnMemory_fp.h" #include "Ticket_fp.h" #include "CryptUtil_fp.h" #include "CryptHash_fp.h" #include "CryptSym_fp.h" #include "CryptDes_fp.h" #include "CryptPrime_fp.h" #include "CryptRand_fp.h" #include "CryptSelfTest_fp.h" #include "MathOnByteBuffers_fp.h" #include "CryptSym_fp.h" #include "AlgorithmTests_fp.h" #if ALG_RSA #include "CryptRsa_fp.h" #include "CryptPrimeSieve_fp.h" #endif #if ALG_ECC #include "CryptEccMain_fp.h" #include "CryptEccSignature_fp.h" #include "CryptEccKeyExchange_fp.h" #include "CryptEccCrypt_fp.h" #endif #if CC_MAC || CC_MAC_Start # include "CryptSmac_fp.h" # if ALG_CMAC # include "CryptCmac_fp.h" # endif #endif /* Support library */ #include "SupportLibraryFunctionPrototypes_fp.h" /* Linkage to platform functions */ #include "Platform_fp.h" #endif