1Tspi_TPM_CreateMaintenanceArLcihbirvaer(y3)FunctionTsspMia_nTuPaMl_CreateMaintenanceArchive(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_TPM_CreateMaintenanceArchive  -  create  the TPM manufacturer spe‐
9       cific maintenance archive data.
10

SYNOPSIS

12       #include <tss/platform.h>
13       #include <tss/tcpa_defines.h>
14       #include <tss/tcpa_typedef.h>
15       #include <tss/tcpa_struct.h>
16       #include <tss/tss_typedef.h>
17       #include <tss/tss_structs.h>
18       #include <tss/tspi.h>
19
20       TSS_RESULT Tspi_TPM_CreateMaintenanceArchive(TSS_HTPM hTPM,                 TSS_BOOL fGenerateRndNumber,
21                                                    UINT32*  pulRndNumberLength,   BYTE**   prgbRndNumber,
22                                                    UINT32*  pulArchiveDataLength, BYTE**   prgbArchiveData);
23
24
25

DESCRIPTION

27       Tspi_TPM_CreateMaintenanceArchive creates the TPM Manufacturer specific
28       maintenance archive data.  This command is not currently implemented by
29       any manufacturer.
30
31

PARAMETERS

33   hTPM
34       The hTPM parameter is used to specify the handle of the TPM object.
35
36   fGenerateRndNumber
37       The fGenerateRndNumber parameter determines how the  random  number  is
38       generated.  If  TRUE,  a  random number is generated by the TPM and re‐
39       turned. If FALSE, a random number is calculated based on the owner  se‐
40       cret.
41
42   pulRndNumberLength
43       The  pulRndNumberLength  parameter  receives the length in bytes of the
44       prgbRndNumber parameter. This is 0 if fGenerateRndNumber is FALSE.
45
46   prgbRndNumber
47       The prgbRndNumber parameter receives a pointer to the random number da‐
48       ta attributes. This is NULL if fGenerateRndNumber is FALSE.
49
50   pulArchiveDataLength
51       The  pulArchiveDataLength parameter receives the length in bytes of the
52       prgbArchiveData parameter.
53
54   prgbArchiveData
55       The prgbArchiveData parameter receives a pointer to the archive data.
56
57

RETURN CODES

59       Tspi_TPM_CreateMaintenanceArchive returns TSS_SUCCESS on success,  oth‐
60       erwise one of the following values is returned:
61
62       TSS_E_INVALID_HANDLE
63              hTPM is not a valid handle.
64
65
66       TSS_E_INTERNAL_ERROR
67              An internal SW error has been detected.
68
69
70       TSS_E_BAD_PARAMETER
71              One or more parameters is bad.
72
73
74       TSS_E_NOTIMPL
75              The function is not implemented.
76
77

CONFORMING TO

79       Tspi_TPM_CreateMaintenanceArchive  conforms  to  the  Trusted Computing
80       Group Software Specification version 1.1 Golden
81
82

SEE ALSO

84       Tspi_TPM_KillMaintenanceFeature(3),  Tspi_TPM_LoadMaintenancePubKey(3),
85       Tspi_TPM_CheckMaintenancePubKey(3).
86
87
88
89
90TSS 1.1                           2004-05-2T5spi_TPM_CreateMaintenanceArchive(3)
Impressum