1
.\" Copyright (C) 2004 International Business Machines Corporation
2
.\" Written by Megan Schneider based on the Trusted Computing Group Software Stack Specification Version 1.1 Golden
12
.de Sp \" Vertical space (when we can't use .PP)
18
.ie \\n(.$>=3 .ne \\$3
22
.TH "Tspi_TPM_SelfTestFull" 3 "2004-05-25" "TSS 1.1"
24
TCG Software Stack Developer's Reference
26
Tspi_TPM_SelfTestFull \- perform a self-test of each internal TPM function
31
.B #include <tss/platform.h>
32
.B #include <tss/tcpa_defines.h>
33
.B #include <tss/tcpa_typedef.h>
34
.B #include <tss/tcpa_struct.h>
35
.B #include <tss/tss_typedef.h>
36
.B #include <tss/tss_structs.h>
37
.B #include <tss/tspi.h>
39
.BI "TSS_RESULT Tspi_TPM_SelfTestFull(TSS_HTPM " hTPM ");"
47
\fBTspi_TPM_SelfTestFull\fR
48
assures that the TPM is functioning as designed. For FIPS certification,
49
crypto modules are required to test themselves before they are used, and
50
this command is used to fulfill that requirement. This command can also be
51
used to check the TPM whenever such a check is desired. \fBThis command is not
52
currently implemented\fR.
57
The \fIhTPM\fR parameter is used to specify the handle of the TPM object on
58
which the self-tests will be run.
62
\fBTspi_TPM_GetStatus\fR returns TSS_SUCCESS on success, otherwise one of
63
the following values is returned:
65
.SM TSS_E_INVALID_HANDLE
66
\fIhTPM\fR is not a valid handle.
69
.SM TSS_E_INTERNAL_ERROR
70
An internal SW error has been detected.
75
\fBTspi_TPM_SelfTestFull\fR conforms to the Trusted Computing Group
76
Software Specification version 1.1 Golden
81
\fBTspi_TPM_CertifySelfTest\fR(3), \fBTspi_TPM_GetTestResults\fR(3).