Debian Codegraph @

simulator/internal/include.c

raw
1 // Go's CGO build system is very primitive (to put it politely). It can include
2 // headers from any location, but can only compile sources in the same directory
3 // as the Go code. Thus to allow us to use the Mircosoft code as a submodule, we
4 // have to textually include all of the sources into this file.
5
6 #define _CRYPT_HASH_C_
7 #define _X509_SPT_
8
9 // Google sources
10 #include "Clock.c"
11 #include "Entropy.c"
12 #include "NVMem.c"
13 #include "Run.c"
14
15 // Most of the sources can be included in any order. However, this file has to
16 // be included first as it instantiates all of the libraries global variables.
17 #include "support/Global.c"
18
19 #include "X509/TpmASN1.c"
20 #include "X509/X509_ECC.c"
21 #include "X509/X509_RSA.c"
22 #include "X509/X509_spt.c"
23 #include "command/Asymmetric/ECC_Parameters.c"
24 #include "command/Asymmetric/ECDH_KeyGen.c"
25 #include "command/Asymmetric/ECDH_ZGen.c"
26 #include "command/Asymmetric/EC_Ephemeral.c"
27 #include "command/Asymmetric/RSA_Decrypt.c"
28 #include "command/Asymmetric/RSA_Encrypt.c"
29 #include "command/Asymmetric/ZGen_2Phase.c"
30 #include "command/AttachedComponent/AC_GetCapability.c"
31 #include "command/AttachedComponent/AC_Send.c"
32 #include "command/AttachedComponent/AC_spt.c"
33 #include "command/AttachedComponent/Policy_AC_SendSelect.c"
34 #include "command/Attestation/Attest_spt.c"
35 #include "command/Attestation/Certify.c"
36 #include "command/Attestation/CertifyCreation.c"
37 #include "command/Attestation/CertifyX509.c"
38 #include "command/Attestation/GetCommandAuditDigest.c"
39 #include "command/Attestation/GetSessionAuditDigest.c"
40 #include "command/Attestation/GetTime.c"
41 #include "command/Attestation/Quote.c"
42 #include "command/Capability/GetCapability.c"
43 #include "command/Capability/TestParms.c"
44 #include "command/ClockTimer/ClockRateAdjust.c"
45 #include "command/ClockTimer/ClockSet.c"
46 #include "command/ClockTimer/ReadClock.c"
47 #include "command/CommandAudit/SetCommandCodeAuditStatus.c"
48 #include "command/Context/ContextLoad.c"
49 #include "command/Context/ContextSave.c"
50 #include "command/Context/Context_spt.c"
51 #include "command/Context/EvictControl.c"
52 #include "command/Context/FlushContext.c"
53 #include "command/DA/DictionaryAttackLockReset.c"
54 #include "command/DA/DictionaryAttackParameters.c"
55 #include "command/Duplication/Duplicate.c"
56 #include "command/Duplication/Import.c"
57 #include "command/Duplication/Rewrap.c"
58 #include "command/EA/PolicyAuthValue.c"
59 #include "command/EA/PolicyAuthorize.c"
60 #include "command/EA/PolicyAuthorizeNV.c"
61 #include "command/EA/PolicyCommandCode.c"
62 #include "command/EA/PolicyCounterTimer.c"
63 #include "command/EA/PolicyCpHash.c"
64 #include "command/EA/PolicyDuplicationSelect.c"
65 #include "command/EA/PolicyGetDigest.c"
66 #include "command/EA/PolicyLocality.c"
67 #include "command/EA/PolicyNV.c"
68 #include "command/EA/PolicyNameHash.c"
69 #include "command/EA/PolicyNvWritten.c"
70 #include "command/EA/PolicyOR.c"
71 #include "command/EA/PolicyPCR.c"
72 #include "command/EA/PolicyPassword.c"
73 #include "command/EA/PolicyPhysicalPresence.c"
74 #include "command/EA/PolicySecret.c"
75 #include "command/EA/PolicySigned.c"
76 #include "command/EA/PolicyTemplate.c"
77 #include "command/EA/PolicyTicket.c"
78 #include "command/EA/Policy_spt.c"
79 #include "command/Ecdaa/Commit.c"
80 #include "command/FieldUpgrade/FieldUpgradeData.c"
81 #include "command/FieldUpgrade/FieldUpgradeStart.c"
82 #include "command/FieldUpgrade/FirmwareRead.c"
83 #include "command/HashHMAC/EventSequenceComplete.c"
84 #include "command/HashHMAC/HMAC_Start.c"
85 #include "command/HashHMAC/HashSequenceStart.c"
86 #include "command/HashHMAC/MAC_Start.c"
87 #include "command/HashHMAC/SequenceComplete.c"
88 #include "command/HashHMAC/SequenceUpdate.c"
89 #include "command/Hierarchy/ChangeEPS.c"
90 #include "command/Hierarchy/ChangePPS.c"
91 #include "command/Hierarchy/Clear.c"
92 #include "command/Hierarchy/ClearControl.c"
93 #include "command/Hierarchy/CreatePrimary.c"
94 #include "command/Hierarchy/HierarchyChangeAuth.c"
95 #include "command/Hierarchy/HierarchyControl.c"
96 #include "command/Hierarchy/SetPrimaryPolicy.c"
97 #include "command/Misc/PP_Commands.c"
98 #include "command/Misc/SetAlgorithmSet.c"
99 #include "command/NVStorage/NV_Certify.c"
100 #include "command/NVStorage/NV_ChangeAuth.c"
101 #include "command/NVStorage/NV_DefineSpace.c"
102 #include "command/NVStorage/NV_Extend.c"
103 #include "command/NVStorage/NV_GlobalWriteLock.c"
104 #include "command/NVStorage/NV_Increment.c"
105 #include "command/NVStorage/NV_Read.c"
106 #include "command/NVStorage/NV_ReadLock.c"
107 #include "command/NVStorage/NV_ReadPublic.c"
108 #include "command/NVStorage/NV_SetBits.c"
109 #include "command/NVStorage/NV_UndefineSpace.c"
110 #include "command/NVStorage/NV_UndefineSpaceSpecial.c"
111 #include "command/NVStorage/NV_Write.c"
112 #include "command/NVStorage/NV_WriteLock.c"
113 #include "command/NVStorage/NV_spt.c"
114 #include "command/Object/ActivateCredential.c"
115 #include "command/Object/Create.c"
116 #include "command/Object/CreateLoaded.c"
117 #include "command/Object/Load.c"
118 #include "command/Object/LoadExternal.c"
119 #include "command/Object/MakeCredential.c"
120 #include "command/Object/ObjectChangeAuth.c"
121 #include "command/Object/Object_spt.c"
122 #include "command/Object/ReadPublic.c"
123 #include "command/Object/Unseal.c"
124 #include "command/PCR/PCR_Allocate.c"
125 #include "command/PCR/PCR_Event.c"
126 #include "command/PCR/PCR_Extend.c"
127 #include "command/PCR/PCR_Read.c"
128 #include "command/PCR/PCR_Reset.c"
129 #include "command/PCR/PCR_SetAuthPolicy.c"
130 #include "command/PCR/PCR_SetAuthValue.c"
131 #include "command/Random/GetRandom.c"
132 #include "command/Random/StirRandom.c"
133 #include "command/Session/PolicyRestart.c"
134 #include "command/Session/StartAuthSession.c"
135 #include "command/Signature/Sign.c"
136 #include "command/Signature/VerifySignature.c"
137 #include "command/Startup/Shutdown.c"
138 #include "command/Startup/Startup.c"
139 #include "command/Symmetric/EncryptDecrypt.c"
140 #include "command/Symmetric/EncryptDecrypt2.c"
141 #include "command/Symmetric/EncryptDecrypt_spt.c"
142 #include "command/Symmetric/HMAC.c"
143 #include "command/Symmetric/Hash.c"
144 #include "command/Symmetric/MAC.c"
145 #include "command/Testing/GetTestResult.c"
146 #include "command/Testing/IncrementalSelfTest.c"
147 #include "command/Testing/SelfTest.c"
148 #include "command/Vendor/Vendor_TCG_Test.c"
149 #include "crypt/AlgorithmTests.c"
150 #include "crypt/BnConvert.c"
151 #include "crypt/BnMath.c"
152 #include "crypt/BnMemory.c"
153 #include "crypt/CryptCmac.c"
154 #include "crypt/CryptDes.c"
155 #include "crypt/CryptEccData.c"
156 #include "crypt/CryptEccKeyExchange.c"
157 #include "crypt/CryptEccMain.c"
158 #include "crypt/CryptEccSignature.c"
159 #include "crypt/CryptHash.c"
160 #include "crypt/CryptPrime.c"
161 #include "crypt/CryptPrimeSieve.c"
162 #include "crypt/CryptRand.c"
163 #include "crypt/CryptRsa.c"
164 #include "crypt/CryptSelfTest.c"
165 #include "crypt/CryptSmac.c"
166 #include "crypt/CryptSym.c"
167 #include "crypt/CryptUtil.c"
168 #include "crypt/PrimeData.c"
169 #include "crypt/RsaKeyCache.c"
170 #include "crypt/Ticket.c"
171 #include "crypt/ossl/TpmToOsslDesSupport.c"
172 #include "crypt/ossl/TpmToOsslMath.c"
173 #include "crypt/ossl/TpmToOsslSupport.c"
174 #include "events/_TPM_Hash_Data.c"
175 #include "events/_TPM_Hash_End.c"
176 #include "events/_TPM_Hash_Start.c"
177 #include "events/_TPM_Init.c"
178 #include "main/CommandDispatcher.c"
179 #include "main/ExecCommand.c"
180 #include "main/SessionProcess.c"
181 #include "subsystem/CommandAudit.c"
182 #include "subsystem/DA.c"
183 #include "subsystem/Hierarchy.c"
184 #include "subsystem/NvDynamic.c"
185 #include "subsystem/NvReserved.c"
186 #include "subsystem/Object.c"
187 #include "subsystem/PCR.c"
188 #include "subsystem/PP.c"
189 #include "subsystem/Session.c"
190 #include "subsystem/Time.c"
191 #include "support/AlgorithmCap.c"
192 #include "support/Bits.c"
193 #include "support/CommandCodeAttributes.c"
194 #include "support/Entity.c"
195 #include "support/Handle.c"
196 #include "support/IoBuffers.c"
197 #include "support/Locality.c"
198 #include "support/Manufacture.c"
199 #include "support/Marshal.c"
200 #include "support/MathOnByteBuffers.c"
201 #include "support/Memory.c"
202 #include "support/Power.c"
203 #include "support/PropertyCap.c"
204 #include "support/Response.c"
205 #include "support/ResponseCodeProcessing.c"
206 #include "support/TpmFail.c"
207 #include "support/TpmSizeChecks.c"