1Tspi_PcrComposite_GeTtCPGcrSVoafltuwea(r3e)Stack DeveloperT'sspiR_ePfcerrCeonmcpeosite_GetPcrValue(3)
2
3
4
6 Tspi_PcrComposite_GetPcrValue - get the digest value of a given PCR
7 index inside a PCR composite object.
8
10 #include <tss/platform.h>
11 #include <tss/tcpa_defines.h>
12 #include <tss/tcpa_typedef.h>
13 #include <tss/tcpa_struct.h>
14 #include <tss/tss_typedef.h>
15 #include <tss/tss_structs.h>
16 #include <tss/tspi.h>
17
18 TSS_RESULT Tspi_PcrComposite_GetPcrValue(TSS_HPCRS hPcrComposite, UINT32 ulPcrIndex,
19 UINT32* ulPcrValueLength, BYTE** rgbPcrValue);
20
21
22
24 Tspi_PcrComposite_GetPcrValue returns the digest value of a given PCR
25 index inside a PCR composite object.
26
28 hPcrComposite
29 Handle of the PCR composite object instance where a PCR value should be
30 returned.
31
32 ulPcrIndex
33 This parameter indicates the index of the PCR to read.
34
35 ulPcrValueLength
36 The length (in bytes) of the rgbPcrValue parameter.
37
38 rgbPcrValue
39 After successful completion this parameter recieves a pointer to the
40 memory block containing the PCR value of the PCR indicated by
41 ulPcrIndex.
42
44 Tspi_PcrComposite_GetPcrValue returns TSS_SUCCESS on success, otherwise
45 one of the following values are returned:
46
47 TSS_E_INVALID_HANDLE - Either hPcrComposite or ulPcrIndex is an invalid
48 parameter.
49
50 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
51
52
54 Tspi_PcrComposite_GetPcrValue conforms to the Trusted Computing Group
55 Software Specification version 1.1 Golden
56
58 Tspi_PcrComposite_SelectPcrIndex(3), Tspi_PcrComposite_SetPcrValue(3).
59
60
61
62
63
64TSS 1.1 2004-05-26 Tspi_PcrComposite_GetPcrValue(3)