• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2015 The Chromium OS Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6 
7 #ifndef __TPM2_CRYPTSELFTEST_FP_H
8 #define __TPM2_CRYPTSELFTEST_FP_H
9 
10 TPM_RC CryptIncrementalSelfTest(
11     TPML_ALG *toTest,   // IN: list of algorithms to be tested
12     TPML_ALG *toDoList  // OUT: list of algorithms needing test
13     );
14 void CryptInitializeToTest(void);
15 TPM_RC CryptSelfTest(TPMI_YES_NO fullTest  // IN: if full test is required
16                      );
17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
18 
19 #endif  // __TPM2_CRYPTSELFTEST_FP_H
20