From: Account I. <mud...@ho...> - 2010-10-06 14:04:31
|
Hi, I have the same problem as listed in the following attached post by Till Bentz. The answer to this question refers to another post with Subject: "Re: Recompute PRC based on SML and TPM_Quote problem" and Message-ID: <469...@ia...> posted on Date: Mon, 16 Jul 2007 09:28:06 +0200. But this message is blank. I could not find any code in tests which could compute the hash over the quoted PCRs WITHOUT USING TPM (i.e. TcIPcrComposite object). I guess that I should do something as follows: TcTpmPcrInfoShort pcrInfo = new TcTpmPcrInfoShort(); // short because PCR 16 intended TcTpmPcrSelection pcrSelection = new TcTpmPcrSelection(); // 1. how to say that PCR 16 should be selected ??????? TcTpmPcrValue pcrValue = new TcTpmPcrValue(); // 2. how to put some value at PCR 16 ?????? pcrInfo.setPcrSelection(pcrSelection); // if done in step 1 // 3. How to associate PCR value with pcrinfo ????? pcrInfo.getDigestAtRelease().getDigest();// It will give the required digest having set the expected value in PCR 16 Regards Mudassar. ---------------------------------------------------------------------------------------------- Hello, I try to do a tpm_quote. I managed to set the relevant pPCRs, the validation information and actually execute the quote call. My problem is now that i somehow want to check the quote. How can I do that on a PC without a TPM. As far as I understood the quote process computes a hash over the quoted PCRs and stores it in TcTpmQuoteInfo.getDigestValue() I have the values of each quoted PCR, but how do I manually recompute that value so I can check the quote? Thanks. -- MfG Till ********************************************** Der Benutzer ist eine nicht zu tolerierende Quelle der Unsicherheit ********************************************** |