From: <ron...@ia...> - 2008-01-28 10:04:29
|
Hello Maksim, Maksim Djackov wrote: > tpmQuote =3D tpm.quote(identityKey, pcrComp, nonceValidation); > =20 > pcrComp.setPcrValue(pcrIndex, tpm.pcrRead(pcrIndex)); > Does (reads the actual PCR register and updates the pcrComp structure)= =20 > what the quote method suppose to do automatically according to the JTSS= =20 > documentation , but doesn't do it: > If I understand it correctly. May it be the bug in the library? Unfortunately, the specification is a little bit ambiguous in this matter= =2E TSS_HPCRS hPcrComposite, // in Vs. "On return each element of the collection has its pcrValue set." In C this is not much of a problem and easily dealt with pointer=20 assignments. In Java this would require a change to the method's signature - which I want to avoid. Instead I completed the test case with the above example on how to get=20 the PCR values. Regards, Ronald --=20 Dipl.-Ing. Ronald T=F6gl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |