blob: c36a67af3b3beb2cc109a85d622f441ba01fabe0 [file] [log] [blame]
Vadim Bendebury8ec80172015-05-29 13:55:43 -07001/*
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 Bendeburye92b6142015-05-29 23:05:42 -070010TPM_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 Bendeburyc00055c2015-05-29 22:50:18 -070014void CryptInitializeToTest(
15 void
Vadim Bendeburye92b6142015-05-29 23:05:42 -070016);
Vadim Bendebury8ec80172015-05-29 13:55:43 -070017TPM_RC CryptTestAlgorithm(
18 TPM_ALG_ID alg,
19 ALGORITHM_VECTOR *toTest
20);
21
22#endif // __TPM2_CRYPTSELFTEST_FP_H