summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-11-25 14:36:20 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-11-25 14:36:20 +0000
commitc3649a2def02c41d837ae1f79dda729ccb91e677 (patch)
treebea46dff212fdef977fe9094a70a939e8cc21885 /doc
downloadtrousers-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.pdfbin0 -> 415650 bytes
-rw-r--r--doc/LTC-TSS_LLD_08_r2.sxwbin0 -> 110464 bytes
-rw-r--r--doc/TSS_programming_SNAFUs.txt15
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
new file mode 100644
index 0000000..9381aba
--- /dev/null
+++ b/doc/LTC-TSS_LLD_08_r2.pdf
Binary files differ
diff --git a/doc/LTC-TSS_LLD_08_r2.sxw b/doc/LTC-TSS_LLD_08_r2.sxw
new file mode 100644
index 0000000..f8f1ef2
--- /dev/null
+++ b/doc/LTC-TSS_LLD_08_r2.sxw
Binary files differ
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);
+