On 8/29/2014 3:08 AM, TEH JIA YEW wrote: > > 2. In my case here, I have chosen PCRs -15 & 16 for measurement > extenstion. The measurement mentioned in no. 1a and 1b. above are two > entities in the following forms:
Is the old value of PCR 15, 16 the same __before__ you do the extend? Note that PCR 16 is resettable, so you can repeat the test with the same starting value. PCR 15 cannot be reset, so you would have to reboot before each experiment. > b) Where in the Trousers source can the code for SHA1( current con tents > of PCR[i] || SHA1 of measurement) be found? That code will not be in Trousers. The PCR extend is on the TPM. > could anyone kindly advise with a better solution? I recommend debugging with the SW TPM (an emulator). That way, you can look inside the TPM and see - the old PCR value - what is being extended, and the entire calculation - the new PCR value If you send me the trace of the good and bad case, it should be easy to debug. http://sourceforge.net/projects/ibmswtpm/ ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
