From: Artem D. <ar...@cc...> - 2007-11-14 03:52:57
|
I seem to be stuck at a conflict between the TrustedJava documentation and the implementation. Is the quote method of TcTpm supposed to update the pcrComposite parameter with the actual PCR values? According to documentation on: http://trustedjava.sourceforge.net/jtss/javadoc_all/iaik/tc/tss/api/tspi/TcITpm.html the updating is the correct behaviour, as stated by: "The required information about which PCRs should be quoted must be set in the PcrComposite object before calling this method. On return each element of the collection has its pcrValue set." However, in the code for TcTpm.java in jTSS 0.2, the actual PCR values used for hashing are never placed in the PcrComposite object nor returned to the caller in any way. Is the correct behaviour of the quote operation to set the values in the pcrComposite parameter, or to not set the values? Artem |