Changes to allow compilation of AlgorithmCap.c

Add necessary external declarations and data definitions.

BUG=none
TEST=verify that compilation succeeds:
  $ \rm -f build/AlgorithmCap.o
  $ make build/AlgorithmCap.o
  cc -Wall -Werror -c -o build/AlgorithmCap.o AlgorithmCap.c
  $ ls build/AlgorithmCap.o
  build/AlgorithmCap.o
  $

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