[tpm2] SAPI

Chat Overlay Streaming <benzhu88899 at gmail.com>
Newsgroups dev.linux.lists.tpm2
Message-ID <CAGjyWPJ7DavmaJWVZnyZJDtiDWNfFXggeGaayWJw3WyQnnZkkw@mail.gmail.com>
Hi there,

We're  now using TPM2 CLI commands like tpm2_createprimary, tpm2_load,
tpm2_nvundefine and etc. to manipulate a tpm. My question is if we want to
switch to the SAPI library, can we do the same things? For example,  write
a function using SAPI calls to implement the CLI tpm2_createprimary
command. Is there any sample code or resource I can look at?

Thanks,
Ben
attachment.htm (text/html, 471 B)
<div dir="ltr">Hi there,<br><div><br></div><div>We&#39;re  now using TPM2 CLI commands like tpm2_createprimary, tpm2_load, tpm2_nvundefine and etc. to manipulate a tpm. My question is if we want to switch to the SAPI library, can we do the same things? For example,  write a function using SAPI calls to implement the CLI tpm2_createprimary command. Is there any sample code or resource I can look at?</div><div><br></div><div>Thanks,</div><div>Ben     </div></div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.