You may need to set TSS_PCRS_STRUCT_INFO_LONG in the flags for
CreateObject when you create hPcrComposite. That will allow it to
represent PCRs above 15.

Hal Finney

On Wed, Nov 25, 2009 at 1:56 AM, adrian golding <[email protected]> wrote:
> hi, i ran the sample code from testsuites on sealing and it worked alright.
> but when i changed the PCR to be sealed to, to PCR 17 (instead of PCR8) by
> doing this:
> result = Tspi_PcrComposite_SetPcrValue( hPcrComposite, 17, 20, rgbPcrValue
> );
>
> it does not work and returns TSS_E_INTERNAL_ERROR. i am wondering if it is
> because of the seal function expecting a v1.1 TPM or something?  I am
> currently using trousers v3.1.  Anybody know why?
>
> -adrian

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to