[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'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>