1Tspi_PcrComposite_SeTlCeGctSPocfrtIwnadreex(S3t)ack DeveloTpsepri'_sPcRreCfoemrpeonsciete_SelectPcrIndex(3)
2
3
4
6 Tspi_PcrComposite_SelectPcrIndex- select a PCR index inside a PCR com‐
7 posite 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_SelectPcrIndex(TSS_HPCRS hPcrComposite, UINT32 ulPcrIndex);
19
20
22 Tspi_PcrComposite_SelectPcrIndex selects a PCR index inside a PCR com‐
23 posite object. The PCR composite object must be created withthe func‐
24 tion Tspi_Context_CreateObject(). An exampled for the usage is the se‐
25 lection of PCR registeres before calling Tspi_TPM_Quote().
26
28 hPcrComposite
29 Handle of the PCR composite object instance where the index should be
30 selected.
31
32 ulPcrIndex
33 This parameter indicates the index of the PCR to select.
34
36 Tspi_PcrComposite_SelectPcrIndex returns TSS_SUCCESS on success, other‐
37 wise one of the following values are returned:
38
39 TSS_E_INVALID_HANDLE - Either hPcrComposite or ulPcrIndex is an invalid
40 handle.
41
42 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
43
44
46 Tspi_PcrComposite_SelectPcrIndex conforms to the Trusted Computing
47 Group Software Specification version 1.1 Golden
48
50 Tspi_TPM_Quote(3), Tspi_PcrComposite_SetPcrValue(3), Tspi_PcrCompos‐
51 ite_GetPcrValue(3).
52
53
54
55
56
57TSS 1.1 2004-05-26Tspi_PcrComposite_SelectPcrIndex(3)