Closed sharadhr closed 2 years ago
Sorry, at the current time, those tools are not available publicly.
@bradlitterell could they be replaced by TssCodeGen?
No TssCodeGen generates TPM client code. Your original request was, I believe, for the TPM implementation code, which is a different tool.
From: Demi Marie Obenour @.> Sent: Sunday, February 5, 2023 3:23 PM To: microsoft/ms-tpm-20-ref @.> Cc: Brad Litterell @.>; Mention @.> Subject: Re: [microsoft/ms-tpm-20-ref] Is the generator for the TPM sources available? (Issue #79)
@bradlitterellhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbradlitterell&data=05%7C01%7Cbrad.litterell%40microsoft.com%7C360f0894af494916189808db07cff081%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638112361907245581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=x6DXc16L1d7%2Bm4I%2FRamtdcR0gDfpZHFRgy5TrepkBKQ%3D&reserved=0 could they be replaced by TssCodeGen?
— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fms-tpm-20-ref%2Fissues%2F79%23issuecomment-1418294815&data=05%7C01%7Cbrad.litterell%40microsoft.com%7C360f0894af494916189808db07cff081%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638112361907245581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R%2BsGOOm4rOdQX8TrDyc3khKaWDMY5urUevCH%2FVmKhgc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALWO3TUWIQ224L3KYVSO76TWWAY5XANCNFSM55Y7IWUA&data=05%7C01%7Cbrad.litterell%40microsoft.com%7C360f0894af494916189808db07cff081%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638112361907245581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XhnlAzATLaVeB1%2FKfon%2BkAreSmJw3rkHnXLK7HyR7UA%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
Are there any plans to make the tool publicly available?
Not currently, no. Sorry.
Not currently, no. Sorry.
Understood. Can you provide the reason, or is that also confidential?
Not currently, no. Sorry.
Understood. Can you provide the reason, or is that also confidential?
Simple practicality. They are complex and troublesome, and we wouldn't have the bandwidth to explain or support them for arbitrary users. Plus, we have plans to remove them entirely.
Not currently, no. Sorry.
Understood. Can you provide the reason, or is that also confidential?
Simple practicality. They are complex and troublesome, and we wouldn't have the bandwidth to explain or support them for arbitrary users. Plus, we have plans to remove them entirely.
Will the replacement be publicly available? I ask because there are changes (like #104) that can only be made in the code generator.
The TPM sources used by all the samples, and especially the simulator in TPMCmd, have these telltale lines:
Is the source for this
TpmStructures
script/binary available? I presume based on this discussion that the generator parses the TPM 2.0 specification itself to generate code.Equivalent work is in TSS.MSR/TssCodeGen, but that doesn't seem to generate C source code (like is seen in this repository), but rather equivalent structures in higher-level languages.
TpmScripts seems likely, but the repository is empty; there are references to it in this repository's gitignore, too.