1Tspi_TPM_ClearOwner(3)     Library Functions Manual     Tspi_TPM_ClearOwner(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_TPM_ClearOwner - clear TPM ownership
9

SYNOPSIS

11       #include <tss/platform.h>
12       #include <tss/tcpa_defines.h>
13       #include <tss/tcpa_typedef.h>
14       #include <tss/tcpa_struct.h>
15       #include <tss/tss_typedef.h>
16       #include <tss/tss_structs.h>
17       #include <tss/tspi.h>
18
19       TSS_RESULT Tspi_TPM_ClearOwner(TSS_HTPM hTPM, TSS_BOOL fForcedClear);
20
21
22

DESCRIPTION

24       Tspi_TPM_ClearOwner  wipes  the  TPM  of everything but its endorsement
25       key. It will wipe the SRK, so anything locked to the SRK will also dis‐
26       appear  when this command is executed.  This is the only way to be cer‐
27       tain that keys are gone, as it is the only way to guarantee that  noth‐
28       ing  can  keep a copy of the key. You must assert either physical pres‐
29       ence or owner authorization in order to use this command.
30
31

PARAMETERS

33   hTPM
34       The hTPM parameter is used to specify the handle of the TPM object.
35
36   fForcedClear
37       The fForcedClear parameter is used to tell whether this command is  be‐
38       ing  executed  with  owner  authorization or with physical presence. If
39       FALSE, then TPM owner authorization is used.  If  TRUE,  then  physical
40       presence is required to clear the TPM.
41
42

RETURN CODES

44       Tspi_TPM_ClearOwner  returns  TSS_SUCCESS  on success, otherwise one of
45       the following values is returned:
46
47       TSS_E_INVALID_HANDLE
48              hTPM is not a valid handle.
49
50
51       TSS_E_INTERNAL_ERROR
52              An internal SW error has been detected.
53
54

CONFORMING TO

56       Tspi_TPM_ClearOwner conforms to the Trusted  Computing  Group  Software
57       Specification version 1.1 Golden
58
59

SEE ALSO

61       Tspi_TPM_TakeOwnership(3)
62
63
64
65TSS 1.1                           2004-05-25            Tspi_TPM_ClearOwner(3)
Impressum