1Tspi_PcrComposite_SeTtCPGcrSVoafltuwea(r3e)Stack DeveloperT'sspiR_ePfcerrCeonmcpeosite_SetPcrValue(3)
2
3
4
6 Tspi_PcrComposite_SetPcrValue- set the digest for a given PCR index
7 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_SetPcrValue(TSS_HPCRS hPcrComposite, UINT32 ulPcrIndex,
19 UINT32 ulPcrValueLength, BYTE* rgbPcrValue);
20
21
22
24 Tspi_PcrComposite_SetPcrValue sets the digest for a given PCR index in‐
25 side the PCR composite object.
26
28 hPcrComposite
29 Handle of the PCR composite object instance where a PCR value should be
30 set.
31
32 ulPcrIndex
33 This parameter indicates the index of the PCR to set.
34
35 ulPcrValueLength
36 The length (in bytes) of the rgbPcrValue parameter.
37
38 rgbPcrValue
39 Pointer to memory containing the actual value which should be set for
40 the PCR indicated by ulPcrIndex.
41
43 Tspi_PcrComposite_SetPcrValue returns TSS_SUCCESS on success, otherwise
44 one of the following values are returned:
45
46 TSS_E_INVALID_HANDLE - Either hPcrComposite or ulPcrIndex is an invalid
47 parameter.
48
49 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
50
51
53 Tspi_PcrComposite_SetPcrValue conforms to the Trusted Computing Group
54 Software Specification version 1.1 Golden
55
57 Tspi_PcrComposite_SelectPcrIndex(3), Tspi_PcrComposite_GetPcrValue(3).
58
59
60
61
62
63TSS 1.1 2004-05-26 Tspi_PcrComposite_SetPcrValue(3)