[tpm2] Re: How do I use Microsoft's sim (TSS.MSR) with lib tss2-esys
Kenneth Goldman <kgoldman at us.ibm.com>
| Newsgroups | dev.linux.lists.tpm2 |
|---|---|
| Message-ID | < <BN8PR15MB2753FE8D012956322D17D3ABF20B9@BN8PR15MB2753.namprd15.prod.outlook.com>> |
From: Markus Willhelm Schmid <willhelm.schmid(a)gmail.com> Sent: Wednesday, March 9, 2022 4:08 PM Cc: tpm2(a)lists.01.org Subject: [EXTERNAL] [tpm2] Re: How do I use Microsoft's sim (TSS.MSR) with lib tss2-esys When you say IBM simulator, are you referring to: https://sourceforge.net/projects/ibmtpm20tss/<https://sourceforge.net/projects/ibmtpm20tss/> If so, this code will not compile on Windows or Linux. I tried to bypass the ifdef for OpenSSL version check in the headers, but I then got a lot of errors. I believe this code requires an ancient (unspecified) OpenSSL version. Also, I could not find anything pre-built. [kgold] [kgold] I support the IBM SW TPM. I test it on Windows and many Linux, with various OpenSS, gcc, mingw, Visual Studio. If something doesn't work, file a bug report, email me, post here, but don't just give up. It's widely used.
attachment.htm
(text/html, 3.4 KB)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"DejaVu Sans";
panose-1:2 11 6 3 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle35
{mso-style-type:personal-reply;
font-family:"DejaVu Sans",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"DejaVu Sans",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"DejaVu Sans",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b>From:</b> Markus Willhelm Schmid <[email protected]>
<br>
<b>Sent:</b> Wednesday, March 9, 2022 4:08 PM<br>
<b>Cc:</b> [email protected]<br>
<b>Subject:</b> [EXTERNAL] [tpm2] Re: How do I use Microsoft's sim (TSS.MSR) with lib tss2-esys<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">When you say IBM simulator, are you referring to: <a href="https://sourceforge.net/projects/ibmtpm20tss/" target="_blank">https://sourceforge.net/projects/ibmtpm20tss/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">If so, this code will not compile on Windows or Linux. I tried to bypass the ifdef for OpenSSL version check in the headers, but I then got a lot of errors. I believe this code requires an ancient (unspecified) OpenSSL
version. Also, I could not find anything pre-built.<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"DejaVu Sans",sans-serif">[kgold] <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="font-family:"DejaVu Sans",sans-serif">[kgold] I support the IBM SW TPM. I test it on Windows and many Linux, with various OpenSS, gcc, mingw, Visual Studio. If something doesn't work, file a bug report, email me, post here,
but don't just give up. It's widely used.<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>