Vadim Bendebury | 8ec8017 | 2015-05-29 13:55:43 -0700 | [diff] [blame] | 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 | |
Vadim Bendebury | e92b614 | 2015-05-29 23:05:42 -0700 | [diff] [blame] | 10 | TPM_RC CryptIncrementalSelfTest( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 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); |
Vadim Bendebury | 8ec8017 | 2015-05-29 13:55:43 -0700 | [diff] [blame] | 18 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 19 | #endif // __TPM2_CRYPTSELFTEST_FP_H |