1Tspi_TPM_SelfTestFull(3) Library Functions Manual Tspi_TPM_SelfTestFull(3)
2
3
4
5 TCG Software Stack Developer's Reference
6
8 Tspi_TPM_SelfTestFull - perform a self-test of each internal TPM func‐
9 tion
10
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_SelfTestFull(TSS_HTPM hTPM);
21
22
23
25 Tspi_TPM_SelfTestFull assures that the TPM is functioning as designed.
26 For FIPS certification, crypto modules are required to test themselves
27 before they are used, and this command is used to fulfill that require‐
28 ment. This command can also be used to check the TPM whenever such a
29 check is desired. This command is not currently implemented.
30
31
33 hTPM
34 The hTPM parameter is used to specify the handle of the TPM object on
35 which the self-tests will be run.
36
37
39 Tspi_TPM_GetStatus returns TSS_SUCCESS on success, otherwise one of the
40 following values is returned:
41
42 TSS_E_INVALID_HANDLE
43 hTPM is not a valid handle.
44
45
46 TSS_E_INTERNAL_ERROR
47 An internal SW error has been detected.
48
49
51 Tspi_TPM_SelfTestFull conforms to the Trusted Computing Group Software
52 Specification version 1.1 Golden
53
54
56 Tspi_TPM_CertifySelfTest(3), Tspi_TPM_GetTestResults(3).
57
58
59
60
61TSS 1.1 2004-05-25 Tspi_TPM_SelfTestFull(3)