Changes to allow compilation of Manufacture.c

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

Change-Id: Ic33afcdb0c1dbc5eb762c14e2ca7a2b9f717d594
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274058
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
6 files changed
tree: 982271f09f6f66483f0432d0962cf22cefe7917e
  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.c
  167. marshal_fp.h
  168. MathFunctions.c
  169. MathFunctions_fp.h
  170. MemoryLib.c
  171. MemoryLib_fp.h
  172. NV.c
  173. NV_Certify.c
  174. NV_ChangeAuth.c
  175. NV_DefineSpace.c
  176. NV_Extend.c
  177. NV_fp.h
  178. NV_GlobalWriteLock.c
  179. NV_Increment.c
  180. NV_Read.c
  181. NV_ReadLock.c
  182. NV_ReadPublic.c
  183. NV_SetBits.c
  184. NV_spt.c
  185. NV_UndefineSpace.c
  186. NV_UndefineSpaceSpecial.c
  187. NV_Write.c
  188. NV_WriteLock.c
  189. NVMem.c
  190. Object.c
  191. Object_fp.h
  192. Object_spt.c
  193. Object_spt_fp.h
  194. ObjectChangeAuth.c
  195. OsslCryptoEngine.h
  196. parsep3
  197. parsep4
  198. part3.txt
  199. part4.txt
  200. PCR.c
  201. PCR_Allocate.c
  202. PCR_Event.c
  203. PCR_Extend.c
  204. PCR_fp.h
  205. PCR_Read.c
  206. PCR_Reset.c
  207. PCR_SetAuthPolicy.c
  208. PCR_SetAuthValue.c
  209. Platform.h
  210. PlatformData.c
  211. PlatformData.h
  212. Policy_spt.c
  213. PolicyAuthorize.c
  214. PolicyAuthValue.c
  215. PolicyCommandCode.c
  216. PolicyCounterTimer.c
  217. PolicyCpHash.c
  218. PolicyDuplicationSelect.c
  219. PolicyGetDigest.c
  220. PolicyLocality.c
  221. PolicyNameHash.c
  222. PolicyNV.c
  223. PolicyNvWritten.c
  224. PolicyOR.c
  225. PolicyPassword.c
  226. PolicyPCR.c
  227. PolicyPhysicalPresence.c
  228. PolicyRestart.c
  229. PolicySecret.c
  230. PolicySigned.c
  231. PolicyTicket.c
  232. Power.c
  233. Power_fp.h
  234. PowerPlat.c
  235. PP.c
  236. PP_Commands.c
  237. PP_fp.h
  238. PPPlat.c
  239. PRESUBMIT.cfg
  240. PropertyCap.c
  241. PropertyCap_fp.h
  242. Quote.c
  243. ReadClock.c
  244. README
  245. ReadPublic.c
  246. Rewrap.c
  247. RSA_Decrypt.c
  248. RSA_Encrypt.c
  249. RSAData.c
  250. RSAKeySieve.c
  251. RSAKeySieve.h
  252. RSAKeySieve_fp.h
  253. SelfTest.c
  254. SequenceComplete.c
  255. SequenceUpdate.c
  256. Session.c
  257. Session_fp.h
  258. SessionProcess.c
  259. SessionProcess_fp.h
  260. SetAlgorithmSet.c
  261. SetCommandCodeAuditStatus.c
  262. SetPrimaryPolicy.c
  263. Shutdown.c
  264. Sign.c
  265. StartAuthSession.c
  266. Startup.c
  267. StirRandom.c
  268. swap.h
  269. TcpServer.c
  270. TestParms.c
  271. Ticket.c
  272. Ticket_fp.h
  273. Time.c
  274. Time_fp.h
  275. Tpm.h
  276. TPM_Types.h
  277. TPMB.h
  278. TpmBuildSwitches.h
  279. TPMCmdp.c
  280. TPMCmds.c
  281. TpmError.h
  282. TpmFail.c
  283. TpmFail_fp.h
  284. TpmTcpProtocol.h
  285. Unique.c
  286. Unseal.c
  287. VendorString.h
  288. VerifySignature.c
  289. ZGen_2Phase.c