Changes to allow compilation of PolicyRestart.c

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

Change-Id: Idda6d90363361be1c06c45a433fdaaf22098e434
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274646
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2 files changed
tree: b4b0881e5b9078dc64574f2c3dc7fb5884e8d1f3
  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_Allocate_fp.h
  218. PCR_Event.c
  219. PCR_Event_fp.h
  220. PCR_Extend.c
  221. PCR_Extend_fp.h
  222. PCR_fp.h
  223. PCR_Read.c
  224. PCR_Read_fp.h
  225. PCR_Reset.c
  226. PCR_Reset_fp.h
  227. PCR_SetAuthPolicy.c
  228. PCR_SetAuthPolicy_fp.h
  229. PCR_SetAuthValue.c
  230. PCR_SetAuthValue_fp.h
  231. Platform.h
  232. PlatformData.c
  233. PlatformData.h
  234. Policy_spt.c
  235. Policy_spt_fp.h
  236. PolicyAuthorize.c
  237. PolicyAuthorize_fp.h
  238. PolicyAuthValue.c
  239. PolicyAuthValue_fp.h
  240. PolicyCommandCode.c
  241. PolicyCommandCode_fp.h
  242. PolicyCounterTimer.c
  243. PolicyCounterTimer_fp.h
  244. PolicyCpHash.c
  245. PolicyCpHash_fp.h
  246. PolicyDuplicationSelect.c
  247. PolicyDuplicationSelect_fp.h
  248. PolicyGetDigest.c
  249. PolicyGetDigest_fp.h
  250. PolicyLocality.c
  251. PolicyLocality_fp.h
  252. PolicyNameHash.c
  253. PolicyNameHash_fp.h
  254. PolicyNV.c
  255. PolicyNV_fp.h
  256. PolicyNvWritten.c
  257. PolicyNvWritten_fp.h
  258. PolicyOR.c
  259. PolicyOR_fp.h
  260. PolicyPassword.c
  261. PolicyPassword_fp.h
  262. PolicyPCR.c
  263. PolicyPCR_fp.h
  264. PolicyPhysicalPresence.c
  265. PolicyPhysicalPresence_fp.h
  266. PolicyRestart.c
  267. PolicyRestart_fp.h
  268. PolicySecret.c
  269. PolicySigned.c
  270. PolicyTicket.c
  271. Power.c
  272. Power_fp.h
  273. PowerPlat.c
  274. PP.c
  275. PP_Commands.c
  276. PP_Commands_fp.h
  277. PP_fp.h
  278. PPPlat.c
  279. PRESUBMIT.cfg
  280. PropertyCap.c
  281. PropertyCap_fp.h
  282. Quote.c
  283. ReadClock.c
  284. README
  285. ReadPublic.c
  286. Rewrap.c
  287. RSA_Decrypt.c
  288. RSA_Encrypt.c
  289. RSAData.c
  290. RSAKeySieve.c
  291. RSAKeySieve.h
  292. RSAKeySieve_fp.h
  293. SelfTest.c
  294. SequenceComplete.c
  295. SequenceUpdate.c
  296. Session.c
  297. Session_fp.h
  298. SessionProcess.c
  299. SessionProcess_fp.h
  300. SetAlgorithmSet.c
  301. SetCommandCodeAuditStatus.c
  302. SetPrimaryPolicy.c
  303. Shutdown.c
  304. Sign.c
  305. StartAuthSession.c
  306. Startup.c
  307. StirRandom.c
  308. swap.h
  309. TcpServer.c
  310. TestParms.c
  311. Ticket.c
  312. Ticket_fp.h
  313. Time.c
  314. Time_fp.h
  315. Tpm.h
  316. TPM_Types.h
  317. TPMB.h
  318. TpmBuildSwitches.h
  319. TPMCmdp.c
  320. TPMCmds.c
  321. TpmError.h
  322. TpmFail.c
  323. TpmFail_fp.h
  324. TpmTcpProtocol.h
  325. Unique.c
  326. Unseal.c
  327. VendorString.h
  328. VerifySignature.c
  329. ZGen_2Phase.c