Changes to allow compilation of Object_spt.c

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

Change-Id: I0e0295e79f7e37c0406353b2d528af46759138a4
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274620
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
8 files changed
tree: 2b7de838bf2f865b4af6d8b132ec89c5ddc45364
  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. GetRandom_fp.h
  122. GetSessionAuditDigest.c
  123. GetSessionAuditDigest_fp.h
  124. GetTestResult.c
  125. GetTestResult_fp.h
  126. GetTime.c
  127. GetTime_fp.h
  128. Global.c
  129. Global.h
  130. Handle.c
  131. Handle_fp.h
  132. HandleProcess_fp.h
  133. Hash.c
  134. Hash_fp.h
  135. HashSequenceStart.c
  136. HashSequenceStart_fp.h
  137. Hierarchy.c
  138. Hierarchy_fp.h
  139. HierarchyChangeAuth.c
  140. HierarchyChangeAuth_fp.h
  141. HierarchyControl.c
  142. HierarchyControl_fp.h
  143. HMAC.c
  144. HMAC_fp.h
  145. HMAC_Start.c
  146. HMAC_Start_fp.h
  147. Implementation.h
  148. Import.c
  149. Import_fp.h
  150. IncrementalSelfTest.c
  151. IncrementalSelfTest_fp.h
  152. InternalRoutines.h
  153. LICENSE
  154. Load.c
  155. Load_fp.h
  156. LoadExternal.c
  157. LoadExternal_fp.h
  158. Locality.c
  159. Locality_fp.h
  160. LocalityPlat.c
  161. MakeCredential.c
  162. MakeCredential_fp.h
  163. Makefile
  164. Manufacture.c
  165. Manufacture_fp.h
  166. marshal_fp.h
  167. MathFunctions.c
  168. MathFunctions_fp.h
  169. MemoryLib.c
  170. MemoryLib_fp.h
  171. NV.c
  172. NV_Certify.c
  173. NV_Certify_fp.h
  174. NV_ChangeAuth.c
  175. NV_ChangeAuth_fp.h
  176. NV_DefineSpace.c
  177. NV_DefineSpace_fp.h
  178. NV_Extend.c
  179. NV_Extend_fp.h
  180. NV_fp.h
  181. NV_GlobalWriteLock.c
  182. NV_GlobalWriteLock_fp.h
  183. NV_Increment.c
  184. NV_Increment_fp.h
  185. NV_Read.c
  186. NV_Read_fp.h
  187. NV_ReadLock.c
  188. NV_ReadLock_fp.h
  189. NV_ReadPublic.c
  190. NV_ReadPublic_fp.h
  191. NV_SetBits.c
  192. NV_SetBits_fp.h
  193. NV_spt.c
  194. NV_spt_fp.h
  195. NV_UndefineSpace.c
  196. NV_UndefineSpace_fp.h
  197. NV_UndefineSpaceSpecial.c
  198. NV_UndefineSpaceSpecial_fp.h
  199. NV_Write.c
  200. NV_Write_fp.h
  201. NV_WriteLock.c
  202. NV_WriteLock_fp.h
  203. NVMem.c
  204. Object.c
  205. Object_fp.h
  206. Object_spt.c
  207. Object_spt_fp.h
  208. ObjectChangeAuth.c
  209. ObjectChangeAuth_fp.h
  210. OsslCryptoEngine.h
  211. parsep3
  212. parsep4
  213. part3.txt
  214. part4.txt
  215. PCR.c
  216. PCR_Allocate.c
  217. PCR_Event.c
  218. PCR_Extend.c
  219. PCR_fp.h
  220. PCR_Read.c
  221. PCR_Reset.c
  222. PCR_SetAuthPolicy.c
  223. PCR_SetAuthValue.c
  224. Platform.h
  225. PlatformData.c
  226. PlatformData.h
  227. Policy_spt.c
  228. PolicyAuthorize.c
  229. PolicyAuthValue.c
  230. PolicyCommandCode.c
  231. PolicyCounterTimer.c
  232. PolicyCpHash.c
  233. PolicyDuplicationSelect.c
  234. PolicyGetDigest.c
  235. PolicyLocality.c
  236. PolicyNameHash.c
  237. PolicyNV.c
  238. PolicyNvWritten.c
  239. PolicyOR.c
  240. PolicyPassword.c
  241. PolicyPCR.c
  242. PolicyPhysicalPresence.c
  243. PolicyRestart.c
  244. PolicySecret.c
  245. PolicySigned.c
  246. PolicyTicket.c
  247. Power.c
  248. Power_fp.h
  249. PowerPlat.c
  250. PP.c
  251. PP_Commands.c
  252. PP_fp.h
  253. PPPlat.c
  254. PRESUBMIT.cfg
  255. PropertyCap.c
  256. PropertyCap_fp.h
  257. Quote.c
  258. ReadClock.c
  259. README
  260. ReadPublic.c
  261. Rewrap.c
  262. RSA_Decrypt.c
  263. RSA_Encrypt.c
  264. RSAData.c
  265. RSAKeySieve.c
  266. RSAKeySieve.h
  267. RSAKeySieve_fp.h
  268. SelfTest.c
  269. SequenceComplete.c
  270. SequenceUpdate.c
  271. Session.c
  272. Session_fp.h
  273. SessionProcess.c
  274. SessionProcess_fp.h
  275. SetAlgorithmSet.c
  276. SetCommandCodeAuditStatus.c
  277. SetPrimaryPolicy.c
  278. Shutdown.c
  279. Sign.c
  280. StartAuthSession.c
  281. Startup.c
  282. StirRandom.c
  283. swap.h
  284. TcpServer.c
  285. TestParms.c
  286. Ticket.c
  287. Ticket_fp.h
  288. Time.c
  289. Time_fp.h
  290. Tpm.h
  291. TPM_Types.h
  292. TPMB.h
  293. TpmBuildSwitches.h
  294. TPMCmdp.c
  295. TPMCmds.c
  296. TpmError.h
  297. TpmFail.c
  298. TpmFail_fp.h
  299. TpmTcpProtocol.h
  300. Unique.c
  301. Unseal.c
  302. VendorString.h
  303. VerifySignature.c
  304. ZGen_2Phase.c