Changes to allow compilation of GetCommandAuditDigest.c

BUG=none
TEST=compilation succeeds:
   cc -Wall -Werror -c -o /dev/null GetCommandAuditDigest.c

Change-Id: Ifef6ff89e480429d9f493d7316e7821130e709d9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274186
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
3 files changed
tree: cb5827b30e4eafef9d2c29b1663478c0fa9d8162
  1. .gitignore
  2. _TPM_Hash_Data.c
  3. _TPM_Hash_Data_fp.h
  4. _TPM_Hash_End.c
  5. _TPM_Hash_End_fp.h
  6. _TPM_Hash_Start.c
  7. _TPM_Hash_Start_fp.h
  8. _TPM_Init.c
  9. ActivateCredential.c
  10. ActivateCredential_fp.h
  11. AlgorithmCap.c
  12. AlgorithmCap_fp.h
  13. Attest_spt.c
  14. Attest_spt_fp.h
  15. BaseTypes.h
  16. Bits.c
  17. bits.h
  18. Bits_fp.h
  19. bool.h
  20. Cancel.c
  21. Capabilities.h
  22. Certify.c
  23. Certify_fp.h
  24. CertifyCreation.c
  25. CertifyCreation_fp.h
  26. ChangeEPS.c
  27. ChangeEPS_fp.h
  28. ChangePPS.c
  29. ChangePPS_fp.h
  30. Clear.c
  31. Clear_fp.h
  32. ClearControl.c
  33. ClearControl_fp.h
  34. Clock.c
  35. ClockRateAdjust.c
  36. ClockRateAdjust_fp.h
  37. ClockSet.c
  38. ClockSet_fp.h
  39. CommandAttributeData.c
  40. CommandAudit.c
  41. CommandAudit_fp.h
  42. CommandCodeAttributes.c
  43. CommandCodeAttributes_fp.h
  44. CommandDispatcher_fp.h
  45. Commands_fp.h
  46. COMMIT-QUEUE.ini
  47. Commit.c
  48. Commit_fp.h
  49. Context_spt.c
  50. Context_spt_fp.h
  51. ContextLoad.c
  52. ContextLoad_fp.h
  53. ContextSave.c
  54. ContextSave_fp.h
  55. CpriCryptPri.c
  56. CpriCryptPri_fp.h
  57. CpriDataEcc.c
  58. CpriDataEcc.h
  59. CpriECC.c
  60. CpriECC_fp.h
  61. CpriHash.c
  62. CpriHash_fp.h
  63. CpriHashData.c
  64. CpriMisc.c
  65. CpriMisc_fp.h
  66. CpriRNG.c
  67. CpriRNG_fp.h
  68. CpriRSA.c
  69. CpriRSA_fp.h
  70. CpriSym.c
  71. CpriSym_fp.h
  72. Create.c
  73. Create_fp.h
  74. CreatePrimary.c
  75. CreatePrimary_fp.h
  76. CryptoEngine.h
  77. CryptSelfTest.c
  78. CryptSelfTest_fp.h
  79. CryptUtil.c
  80. CryptUtil_fp.h
  81. DA.c
  82. DA_fp.h
  83. DictionaryAttackLockReset.c
  84. DictionaryAttackLockReset_fp.h
  85. DictionaryAttackParameters.c
  86. DictionaryAttackParameters_fp.h
  87. DRTM.c
  88. Duplicate.c
  89. Duplicate_fp.h
  90. EC_Ephemeral.c
  91. EC_Ephemeral_fp.h
  92. ECC_Parameters.c
  93. ECC_Parameters_fp.h
  94. ECDH_KeyGen.c
  95. ECDH_KeyGen_fp.h
  96. ECDH_ZGen.c
  97. ECDH_ZGen_fp.h
  98. EncryptDecrypt.c
  99. EncryptDecrypt_fp.h
  100. Entity.c
  101. Entity_fp.h
  102. Entropy.c
  103. EventSequenceComplete.c
  104. EventSequenceComplete_fp.h
  105. EvictControl.c
  106. EvictControl_fp.h
  107. ExecCommand.c
  108. FieldUpgradeData.c
  109. FieldUpgradeData_fp.h
  110. FieldUpgradeStart.c
  111. FieldUpgradeStart_fp.h
  112. FirmwareRead.c
  113. FirmwareRead_fp.h
  114. FlushContext.c
  115. FlushContext_fp.h
  116. GetCapability.c
  117. GetCapability_fp.h
  118. GetCommandAuditDigest.c
  119. GetCommandAuditDigest_fp.h
  120. GetRandom.c
  121. GetSessionAuditDigest.c
  122. GetTestResult.c
  123. GetTime.c
  124. Global.c
  125. Global.h
  126. Handle.c
  127. Handle_fp.h
  128. HandleProcess_fp.h
  129. Hash.c
  130. HashSequenceStart.c
  131. Hierarchy.c
  132. Hierarchy_fp.h
  133. HierarchyChangeAuth.c
  134. HierarchyControl.c
  135. HMAC.c
  136. HMAC_Start.c
  137. Implementation.h
  138. Import.c
  139. IncrementalSelfTest.c
  140. InternalRoutines.h
  141. LICENSE
  142. Load.c
  143. LoadExternal.c
  144. Locality.c
  145. Locality_fp.h
  146. LocalityPlat.c
  147. MakeCredential.c
  148. Makefile
  149. Manufacture.c
  150. Manufacture_fp.h
  151. Marshal.c
  152. marshal_fp.h
  153. MathFunctions.c
  154. MathFunctions_fp.h
  155. MemoryLib.c
  156. MemoryLib_fp.h
  157. NV.c
  158. NV_Certify.c
  159. NV_ChangeAuth.c
  160. NV_DefineSpace.c
  161. NV_Extend.c
  162. NV_fp.h
  163. NV_GlobalWriteLock.c
  164. NV_Increment.c
  165. NV_Read.c
  166. NV_ReadLock.c
  167. NV_ReadPublic.c
  168. NV_SetBits.c
  169. NV_spt.c
  170. NV_UndefineSpace.c
  171. NV_UndefineSpaceSpecial.c
  172. NV_Write.c
  173. NV_WriteLock.c
  174. NVMem.c
  175. Object.c
  176. Object_fp.h
  177. Object_spt.c
  178. Object_spt_fp.h
  179. ObjectChangeAuth.c
  180. OsslCryptoEngine.h
  181. parsep3
  182. parsep4
  183. part3.txt
  184. part4.txt
  185. PCR.c
  186. PCR_Allocate.c
  187. PCR_Event.c
  188. PCR_Extend.c
  189. PCR_fp.h
  190. PCR_Read.c
  191. PCR_Reset.c
  192. PCR_SetAuthPolicy.c
  193. PCR_SetAuthValue.c
  194. Platform.h
  195. PlatformData.c
  196. PlatformData.h
  197. Policy_spt.c
  198. PolicyAuthorize.c
  199. PolicyAuthValue.c
  200. PolicyCommandCode.c
  201. PolicyCounterTimer.c
  202. PolicyCpHash.c
  203. PolicyDuplicationSelect.c
  204. PolicyGetDigest.c
  205. PolicyLocality.c
  206. PolicyNameHash.c
  207. PolicyNV.c
  208. PolicyNvWritten.c
  209. PolicyOR.c
  210. PolicyPassword.c
  211. PolicyPCR.c
  212. PolicyPhysicalPresence.c
  213. PolicyRestart.c
  214. PolicySecret.c
  215. PolicySigned.c
  216. PolicyTicket.c
  217. Power.c
  218. Power_fp.h
  219. PowerPlat.c
  220. PP.c
  221. PP_Commands.c
  222. PP_fp.h
  223. PPPlat.c
  224. PRESUBMIT.cfg
  225. PropertyCap.c
  226. PropertyCap_fp.h
  227. Quote.c
  228. ReadClock.c
  229. README
  230. ReadPublic.c
  231. Rewrap.c
  232. RSA_Decrypt.c
  233. RSA_Encrypt.c
  234. RSAData.c
  235. RSAKeySieve.c
  236. RSAKeySieve.h
  237. RSAKeySieve_fp.h
  238. SelfTest.c
  239. SequenceComplete.c
  240. SequenceUpdate.c
  241. Session.c
  242. Session_fp.h
  243. SessionProcess.c
  244. SessionProcess_fp.h
  245. SetAlgorithmSet.c
  246. SetCommandCodeAuditStatus.c
  247. SetPrimaryPolicy.c
  248. Shutdown.c
  249. Sign.c
  250. StartAuthSession.c
  251. Startup.c
  252. StirRandom.c
  253. swap.h
  254. TcpServer.c
  255. TestParms.c
  256. Ticket.c
  257. Ticket_fp.h
  258. Time.c
  259. Time_fp.h
  260. Tpm.h
  261. TPM_Types.h
  262. TPMB.h
  263. TpmBuildSwitches.h
  264. TPMCmdp.c
  265. TPMCmds.c
  266. TpmError.h
  267. TpmFail.c
  268. TpmFail_fp.h
  269. TpmTcpProtocol.h
  270. Unique.c
  271. Unseal.c
  272. VendorString.h
  273. VerifySignature.c
  274. ZGen_2Phase.c