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( |
| 11 | TPML_ALG *toTest, // IN: list of algorithms to be tested |
| 12 | TPML_ALG *toDoList // OUT: list of algorithms needing test |
| 13 | ); |
Vadim Bendebury | c00055c | 2015-05-29 22:50:18 -0700 | [diff] [blame] | 14 | void CryptInitializeToTest( |
| 15 | void |
Vadim Bendebury | e92b614 | 2015-05-29 23:05:42 -0700 | [diff] [blame] | 16 | ); |
Vadim Bendebury | 8ec8017 | 2015-05-29 13:55:43 -0700 | [diff] [blame] | 17 | TPM_RC CryptTestAlgorithm( |
| 18 | TPM_ALG_ID alg, |
| 19 | ALGORITHM_VECTOR *toTest |
| 20 | ); |
| 21 | |
| 22 | #endif // __TPM2_CRYPTSELFTEST_FP_H |