From: Martin P. <Mar...@ia...> - 2007-07-16 07:28:29
|
Krzysztof Kostienko wrote: > Hello everyone, Hi... > First I am not sure how the > PRCExtend is implemented. For single PCR extension see TPM Emulator implementation, tpm_integrity.c, function TPM_Extend. > Unfortunately I do not know > how in TPM_Quote operation the value of PCRs is calculated(if we choose > e.g. > PCR[0], PCR[1] and PCR[2] their values are somehow connected and then hash > value calculated). For PCR composite calculation see TPM Emulator implementation, tpm_integrity.c, function tpm_compute_pcr_digest. However, C may not be nice for/to everyone, see attached 2 scripts which replicate the calculation and some examples in Ruby. Try them and play with JTpmTools to understand it. HTH -- Martin Pirker IAIK, TU Graz |