diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-25 14:36:20 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-25 14:36:20 +0000 |
commit | c3649a2def02c41d837ae1f79dda729ccb91e677 (patch) | |
tree | bea46dff212fdef977fe9094a70a939e8cc21885 /doc | |
download | trousers-c3649a2def02c41d837ae1f79dda729ccb91e677.tar.gz |
Imported Upstream version 0.3.9upstream/0.3.9upstream
Diffstat (limited to 'doc')
-rw-r--r-- | doc/LTC-TSS_LLD_08_r2.pdf | bin | 0 -> 415650 bytes | |||
-rw-r--r-- | doc/LTC-TSS_LLD_08_r2.sxw | bin | 0 -> 110464 bytes | |||
-rw-r--r-- | doc/TSS_programming_SNAFUs.txt | 15 |
3 files changed, 15 insertions, 0 deletions
diff --git a/doc/LTC-TSS_LLD_08_r2.pdf b/doc/LTC-TSS_LLD_08_r2.pdf Binary files differnew file mode 100644 index 0000000..9381aba --- /dev/null +++ b/doc/LTC-TSS_LLD_08_r2.pdf diff --git a/doc/LTC-TSS_LLD_08_r2.sxw b/doc/LTC-TSS_LLD_08_r2.sxw Binary files differnew file mode 100644 index 0000000..f8f1ef2 --- /dev/null +++ b/doc/LTC-TSS_LLD_08_r2.sxw diff --git a/doc/TSS_programming_SNAFUs.txt b/doc/TSS_programming_SNAFUs.txt new file mode 100644 index 0000000..d196bba --- /dev/null +++ b/doc/TSS_programming_SNAFUs.txt @@ -0,0 +1,15 @@ + +Tspi_TPM_GetEvents + + Events in the TCS event log are 0 indexed. So, a call such as: + + UINT32 five = 5; + Tspi_TPM_GetEvents(hTPM, ulPcrIndex, 1, &five, &prgbPcrEvents); + + will get you 5 events (assuming at least 6 events have happened on the PCR) which + will be the 2nd through 6th events on the PCR. (Since the 1st event is at index 0). + This is probably what you want: + + UINT32 five = 5; + Tspi_TPM_GetEvents(hTPM, ulPcrIndex, 0, &five, &prgbPcrEvents); + |