Generator changes to correctly account for empty union case.
am: 5aef9c6461

* commit '5aef9c6461983184408bb4ca0747c7c124b38903':
  Generator changes to correctly account for empty union case.
tree: 1cf57a11ef62eb4d47ce4fd916f5a9b58bb48761
  1. generator/
  2. .gitignore
  3. _TPM_Hash_Data.c
  4. _TPM_Hash_Data_fp.h
  5. _TPM_Hash_End.c
  6. _TPM_Hash_End_fp.h
  7. _TPM_Hash_Start.c
  8. _TPM_Hash_Start_fp.h
  9. _TPM_Init.c
  10. ActivateCredential.c
  11. ActivateCredential_fp.h
  12. AlgorithmCap.c
  13. AlgorithmCap_fp.h
  14. Attest_spt.c
  15. Attest_spt_fp.h
  16. BaseTypes.h
  17. Bits.c
  18. bits.h
  19. Bits_fp.h
  20. bool.h
  21. Cancel.c
  22. Capabilities.h
  23. Certify.c
  24. Certify_fp.h
  25. CertifyCreation.c
  26. CertifyCreation_fp.h
  27. ChangeEPS.c
  28. ChangeEPS_fp.h
  29. ChangePPS.c
  30. ChangePPS_fp.h
  31. Clear.c
  32. Clear_fp.h
  33. ClearControl.c
  34. ClearControl_fp.h
  35. Clock.c
  36. ClockRateAdjust.c
  37. ClockRateAdjust_fp.h
  38. ClockSet.c
  39. ClockSet_fp.h
  40. CommandAttributeData.c
  41. CommandAudit.c
  42. CommandAudit_fp.h
  43. CommandCodeAttributes.c
  44. CommandCodeAttributes_fp.h
  45. CommandDispatcher.c
  46. CommandDispatcher_fp.h
  47. Commands_fp.h
  48. COMMIT-QUEUE.ini
  49. Commit.c
  50. Commit_fp.h
  51. Context_spt.c
  52. Context_spt_fp.h
  53. ContextLoad.c
  54. ContextLoad_fp.h
  55. ContextSave.c
  56. ContextSave_fp.h
  57. CpriCryptPri.c
  58. CpriCryptPri_fp.h
  59. CpriDataEcc.c
  60. CpriDataEcc.h
  61. CpriECC.c
  62. CpriECC_fp.h
  63. CpriHash.c
  64. CpriHash_fp.h
  65. CpriHashData.c
  66. CpriMisc.c
  67. CpriMisc_fp.h
  68. CpriRNG.c
  69. CpriRNG_fp.h
  70. CpriRSA.c
  71. CpriRSA_fp.h
  72. CpriSym.c
  73. CpriSym_fp.h
  74. Create.c
  75. Create_fp.h
  76. CreatePrimary.c
  77. CreatePrimary_fp.h
  78. CryptoEngine.h
  79. CryptSelfTest.c
  80. CryptSelfTest_fp.h
  81. CryptUtil.c
  82. CryptUtil_fp.h
  83. DA.c
  84. DA_fp.h
  85. DictionaryAttackLockReset.c
  86. DictionaryAttackLockReset_fp.h
  87. DictionaryAttackParameters.c
  88. DictionaryAttackParameters_fp.h
  89. DRTM.c
  90. Duplicate.c
  91. Duplicate_fp.h
  92. EC_Ephemeral.c
  93. EC_Ephemeral_fp.h
  94. ECC_Parameters.c
  95. ECC_Parameters_fp.h
  96. ECDH_KeyGen.c
  97. ECDH_KeyGen_fp.h
  98. ECDH_ZGen.c
  99. ECDH_ZGen_fp.h
  100. EncryptDecrypt.c
  101. EncryptDecrypt_fp.h
  102. Entity.c
  103. Entity_fp.h
  104. Entropy.c
  105. EventSequenceComplete.c
  106. EventSequenceComplete_fp.h
  107. EvictControl.c
  108. EvictControl_fp.h
  109. ExecCommand.c
  110. ExecCommand_fp.h
  111. FieldUpgradeData.c
  112. FieldUpgradeData_fp.h
  113. FieldUpgradeStart.c
  114. FieldUpgradeStart_fp.h
  115. FirmwareRead.c
  116. FirmwareRead_fp.h
  117. FlushContext.c
  118. FlushContext_fp.h
  119. GetCapability.c
  120. GetCapability_fp.h
  121. GetCommandAuditDigest.c
  122. GetCommandAuditDigest_fp.h
  123. GetRandom.c
  124. GetRandom_fp.h
  125. GetSessionAuditDigest.c
  126. GetSessionAuditDigest_fp.h
  127. GetTestResult.c
  128. GetTestResult_fp.h
  129. GetTime.c
  130. GetTime_fp.h
  131. Global.c
  132. Global.h
  133. Handle.c
  134. Handle_fp.h
  135. HandleProcess.c
  136. HandleProcess_fp.h
  137. Hash.c
  138. Hash_fp.h
  139. HashSequenceStart.c
  140. HashSequenceStart_fp.h
  141. Hierarchy.c
  142. Hierarchy_fp.h
  143. HierarchyChangeAuth.c
  144. HierarchyChangeAuth_fp.h
  145. HierarchyControl.c
  146. HierarchyControl_fp.h
  147. HMAC.c
  148. HMAC_fp.h
  149. HMAC_Start.c
  150. HMAC_Start_fp.h
  151. Implementation.h
  152. Import.c
  153. Import_fp.h
  154. IncrementalSelfTest.c
  155. IncrementalSelfTest_fp.h
  156. InternalRoutines.h
  157. LICENSE
  158. Load.c
  159. Load_fp.h
  160. LoadExternal.c
  161. LoadExternal_fp.h
  162. Locality.c
  163. Locality_fp.h
  164. LocalityPlat.c
  165. MakeCredential.c
  166. MakeCredential_fp.h
  167. Makefile
  168. Manufacture.c
  169. Manufacture_fp.h
  170. Marshal_ActivateCredential.c
  171. Marshal_Certify.c
  172. Marshal_CertifyCreation.c
  173. Marshal_ChangeEPS.c
  174. Marshal_ChangePPS.c
  175. Marshal_Clear.c
  176. Marshal_ClearControl.c
  177. Marshal_ClockRateAdjust.c
  178. Marshal_ClockSet.c
  179. Marshal_Commit.c
  180. Marshal_ContextLoad.c
  181. Marshal_ContextSave.c
  182. Marshal_Create.c
  183. Marshal_CreatePrimary.c
  184. Marshal_DictionaryAttackLockReset.c
  185. Marshal_DictionaryAttackParameters.c
  186. Marshal_Duplicate.c
  187. Marshal_EC_Ephemeral.c
  188. Marshal_ECC_Parameters.c
  189. Marshal_ECDH_KeyGen.c
  190. Marshal_ECDH_ZGen.c
  191. Marshal_EncryptDecrypt.c
  192. Marshal_EventSequenceComplete.c
  193. Marshal_EvictControl.c
  194. Marshal_FieldUpgradeData.c
  195. Marshal_FieldUpgradeStart.c
  196. Marshal_FirmwareRead.c
  197. Marshal_FlushContext.c
  198. marshal_fp.h
  199. Marshal_GetCapability.c
  200. Marshal_GetCommandAuditDigest.c
  201. Marshal_GetRandom.c
  202. Marshal_GetSessionAuditDigest.c
  203. Marshal_GetTestResult.c
  204. Marshal_GetTime.c
  205. Marshal_Hash.c
  206. Marshal_HashSequenceStart.c
  207. Marshal_HierarchyChangeAuth.c
  208. Marshal_HierarchyControl.c
  209. Marshal_HMAC.c
  210. Marshal_HMAC_Start.c
  211. Marshal_Import.c
  212. Marshal_IncrementalSelfTest.c
  213. Marshal_Load.c
  214. Marshal_LoadExternal.c
  215. Marshal_MakeCredential.c
  216. Marshal_NV_Certify.c
  217. Marshal_NV_ChangeAuth.c
  218. Marshal_NV_DefineSpace.c
  219. Marshal_NV_Extend.c
  220. Marshal_NV_GlobalWriteLock.c
  221. Marshal_NV_Increment.c
  222. Marshal_NV_Read.c
  223. Marshal_NV_ReadLock.c
  224. Marshal_NV_ReadPublic.c
  225. Marshal_NV_SetBits.c
  226. Marshal_NV_UndefineSpace.c
  227. Marshal_NV_UndefineSpaceSpecial.c
  228. Marshal_NV_Write.c
  229. Marshal_NV_WriteLock.c
  230. Marshal_ObjectChangeAuth.c
  231. Marshal_PCR_Allocate.c
  232. Marshal_PCR_Event.c
  233. Marshal_PCR_Extend.c
  234. Marshal_PCR_Read.c
  235. Marshal_PCR_Reset.c
  236. Marshal_PCR_SetAuthPolicy.c
  237. Marshal_PCR_SetAuthValue.c
  238. Marshal_PolicyAuthorize.c
  239. Marshal_PolicyAuthValue.c
  240. Marshal_PolicyCommandCode.c
  241. Marshal_PolicyCounterTimer.c
  242. Marshal_PolicyCpHash.c
  243. Marshal_PolicyDuplicationSelect.c
  244. Marshal_PolicyGetDigest.c
  245. Marshal_PolicyLocality.c
  246. Marshal_PolicyNameHash.c
  247. Marshal_PolicyNV.c
  248. Marshal_PolicyNvWritten.c
  249. Marshal_PolicyOR.c
  250. Marshal_PolicyPassword.c
  251. Marshal_PolicyPCR.c
  252. Marshal_PolicyPhysicalPresence.c
  253. Marshal_PolicyRestart.c
  254. Marshal_PolicySecret.c
  255. Marshal_PolicySigned.c
  256. Marshal_PolicyTicket.c
  257. Marshal_PP_Commands.c
  258. Marshal_Quote.c
  259. Marshal_ReadClock.c
  260. Marshal_ReadPublic.c
  261. Marshal_Rewrap.c
  262. Marshal_RSA_Decrypt.c
  263. Marshal_RSA_Encrypt.c
  264. Marshal_SelfTest.c
  265. Marshal_SequenceComplete.c
  266. Marshal_SequenceUpdate.c
  267. Marshal_SetAlgorithmSet.c
  268. Marshal_SetCommandCodeAuditStatus.c
  269. Marshal_SetPrimaryPolicy.c
  270. Marshal_Shutdown.c
  271. Marshal_Sign.c
  272. Marshal_StartAuthSession.c
  273. Marshal_Startup.c
  274. Marshal_StirRandom.c
  275. marshal_test.c
  276. Marshal_TestParms.c
  277. Marshal_Unseal.c
  278. Marshal_VerifySignature.c
  279. Marshal_ZGen_2Phase.c
  280. MathFunctions.c
  281. MathFunctions_fp.h
  282. MemoryLib.c
  283. MemoryLib_fp.h
  284. NV.c
  285. NV_Certify.c
  286. NV_Certify_fp.h
  287. NV_ChangeAuth.c
  288. NV_ChangeAuth_fp.h
  289. NV_DefineSpace.c
  290. NV_DefineSpace_fp.h
  291. NV_Extend.c
  292. NV_Extend_fp.h
  293. NV_fp.h
  294. NV_GlobalWriteLock.c
  295. NV_GlobalWriteLock_fp.h
  296. NV_Increment.c
  297. NV_Increment_fp.h
  298. NV_Read.c
  299. NV_Read_fp.h
  300. NV_ReadLock.c
  301. NV_ReadLock_fp.h
  302. NV_ReadPublic.c
  303. NV_ReadPublic_fp.h
  304. NV_SetBits.c
  305. NV_SetBits_fp.h
  306. NV_spt.c
  307. NV_spt_fp.h
  308. NV_UndefineSpace.c
  309. NV_UndefineSpace_fp.h
  310. NV_UndefineSpaceSpecial.c
  311. NV_UndefineSpaceSpecial_fp.h
  312. NV_Write.c
  313. NV_Write_fp.h
  314. NV_WriteLock.c
  315. NV_WriteLock_fp.h
  316. NVMem.c
  317. Object.c
  318. Object_fp.h
  319. Object_spt.c
  320. Object_spt_fp.h
  321. ObjectChangeAuth.c
  322. ObjectChangeAuth_fp.h
  323. OsslCryptoEngine.h
  324. parsep3
  325. parsep4
  326. part3.txt
  327. part4.txt
  328. PCR.c
  329. PCR_Allocate.c
  330. PCR_Allocate_fp.h
  331. PCR_Event.c
  332. PCR_Event_fp.h
  333. PCR_Extend.c
  334. PCR_Extend_fp.h
  335. PCR_fp.h
  336. PCR_Read.c
  337. PCR_Read_fp.h
  338. PCR_Reset.c
  339. PCR_Reset_fp.h
  340. PCR_SetAuthPolicy.c
  341. PCR_SetAuthPolicy_fp.h
  342. PCR_SetAuthValue.c
  343. PCR_SetAuthValue_fp.h
  344. Platform.h
  345. PlatformData.c
  346. PlatformData.h
  347. Policy_spt.c
  348. Policy_spt_fp.h
  349. PolicyAuthorize.c
  350. PolicyAuthorize_fp.h
  351. PolicyAuthValue.c
  352. PolicyAuthValue_fp.h
  353. PolicyCommandCode.c
  354. PolicyCommandCode_fp.h
  355. PolicyCounterTimer.c
  356. PolicyCounterTimer_fp.h
  357. PolicyCpHash.c
  358. PolicyCpHash_fp.h
  359. PolicyDuplicationSelect.c
  360. PolicyDuplicationSelect_fp.h
  361. PolicyGetDigest.c
  362. PolicyGetDigest_fp.h
  363. PolicyLocality.c
  364. PolicyLocality_fp.h
  365. PolicyNameHash.c
  366. PolicyNameHash_fp.h
  367. PolicyNV.c
  368. PolicyNV_fp.h
  369. PolicyNvWritten.c
  370. PolicyNvWritten_fp.h
  371. PolicyOR.c
  372. PolicyOR_fp.h
  373. PolicyPassword.c
  374. PolicyPassword_fp.h
  375. PolicyPCR.c
  376. PolicyPCR_fp.h
  377. PolicyPhysicalPresence.c
  378. PolicyPhysicalPresence_fp.h
  379. PolicyRestart.c
  380. PolicyRestart_fp.h
  381. PolicySecret.c
  382. PolicySecret_fp.h
  383. PolicySigned.c
  384. PolicySigned_fp.h
  385. PolicyTicket.c
  386. PolicyTicket_fp.h
  387. Power.c
  388. Power_fp.h
  389. PowerPlat.c
  390. PP.c
  391. PP_Commands.c
  392. PP_Commands_fp.h
  393. PP_fp.h
  394. PPPlat.c
  395. PRESUBMIT.cfg
  396. PropertyCap.c
  397. PropertyCap_fp.h
  398. Quote.c
  399. Quote_fp.h
  400. ReadClock.c
  401. ReadClock_fp.h
  402. README
  403. ReadPublic.c
  404. ReadPublic_fp.h
  405. Rewrap.c
  406. Rewrap_fp.h
  407. RSA_Decrypt.c
  408. RSA_Decrypt_fp.h
  409. RSA_Encrypt.c
  410. RSA_Encrypt_fp.h
  411. RSAData.c
  412. RSAKeySieve.c
  413. RSAKeySieve.h
  414. RSAKeySieve_fp.h
  415. SelfTest.c
  416. SelfTest_fp.h
  417. SequenceComplete.c
  418. SequenceComplete_fp.h
  419. SequenceUpdate.c
  420. SequenceUpdate_fp.h
  421. Session.c
  422. Session_fp.h
  423. SessionProcess.c
  424. SessionProcess_fp.h
  425. SetAlgorithmSet.c
  426. SetAlgorithmSet_fp.h
  427. SetCommandCodeAuditStatus.c
  428. SetCommandCodeAuditStatus_fp.h
  429. SetPrimaryPolicy.c
  430. SetPrimaryPolicy_fp.h
  431. Shutdown.c
  432. Shutdown_fp.h
  433. Sign.c
  434. Sign_fp.h
  435. StartAuthSession.c
  436. StartAuthSession_fp.h
  437. Startup.c
  438. Startup_fp.h
  439. StirRandom.c
  440. StirRandom_fp.h
  441. swap.h
  442. TcpServer.c
  443. TestParms.c
  444. TestParms_fp.h
  445. Ticket.c
  446. Ticket_fp.h
  447. Time.c
  448. Time_fp.h
  449. Tpm.h
  450. tpm_generated.c
  451. tpm_generated.h
  452. TPM_Types.h
  453. TPMB.h
  454. TpmBuildSwitches.h
  455. TPMCmdp.c
  456. TPMCmds.c
  457. TpmError.h
  458. TpmFail.c
  459. TpmFail_fp.h
  460. TpmTcpProtocol.h
  461. Unique.c
  462. Unique_fp.h
  463. Unseal.c
  464. Unseal_fp.h
  465. VendorString.h
  466. VerifySignature.c
  467. VerifySignature_fp.h
  468. ZGen_2Phase.c
  469. ZGen_2Phase_fp.h