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?
Show replies by date