Home | History | Annotate | Download | only in tpm2
      1 // This file was extracted from the TCG Published
      2 // Trusted Platform Module Library
      3 // Part 3: Commands
      4 // Family "2.0"
      5 // Level 00 Revision 01.16
      6 // October 30, 2014
      7 
      8 #include "InternalRoutines.h"
      9 #include "SelfTest_fp.h"
     10 //
     11 //
     12 //     Error Returns                     Meaning
     13 //
     14 //     TPM_RC_CANCELED                   the command was canceled (some incremental process may have
     15 //                                       been made)
     16 //     TPM_RC_TESTING                    self test in process
     17 //
     18 TPM_RC
     19 TPM2_SelfTest(
     20    SelfTest_In      *in                   // IN: input parameter list
     21    )
     22 {
     23 // Command Output
     24 
     25    // Call self test function in crypt module
     26    return CryptSelfTest(in->fullTest);
     27 }
     28