[Tpm2] TPM2_ACT_SetTimeout command usage
"Ahmad B. Usman" <[email protected]> Mon, 31 Jul 2023 19:21:06 +0200
| Newsgroups | dev.linux.lists.tpm2 |
|---|---|
| Message-ID | <CA+K1d5u1k+xe+K655Axn_+qjt3+WP+OOT45LRAhBX3t-GDfvUA@mail.gmail.com> |
I am writing this email to ask for your help on how to construct valid TPM commands and parse some results for TPM2_ACT_SetTimeout from https://sourceforge.net/projects/ibmtpm20tss/ and also https://github.com/kgoldman/ibmswtpm2 and also as specified in https://trustedcomputinggroup.org/wp-content/uploads/TCG_TPM_ACTCommand_v1r3_pubrev.pdf so as to set a timer which countdown from +x second to zero periodically. I have built and run the ibm simulator: ( https://sourceforge.net/projects/ibmswtpm2/) and was able to send command and get result using tpm2-tools (https://github.com/tpm2-software/tpm2-tools ) I tried compiling like a C file (gcc myprog.c -o myprog; ./myprog) but getting errors even if i use the -ltss2-esys option Best regards, /Ahmad