From: Martin P. <Mar...@ia...> - 2007-09-17 15:18:33
|
pat...@in... wrote: > when i do > TcTssPcrEvent event=tpm.getEvent(pcrIndex, 0); > TcBlobData pcrValue=event.getPcrValue(); > > what is extactly the pcrValue? If in doubt, ask the spec (TSS spec, chapter 2.6.2, TSS_PCR_EVENT): "...containing the value extended into the TPM by Tspi_TPM_PcrExtend. This SHALL be the result of the calculation of SHA-1(ulPcrIndex || pbPcrData || eventType || rgbEvent), where[...]" If still in doubt, ask the code: See method pcrExtend in jtss_tsp/src/iaik/tc/tss/impl/java/tsp/TcTpm.java HTH -- Martin Pirker IAIK, TU Graz |