blob: 77e8b421dbb974ae3f5af4179014a706335fda1e [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(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPML_ALG *toTest, // IN: list of algorithms to be tested
12 TPML_ALG *toDoList // OUT: list of algorithms needing test
13 );
14void CryptInitializeToTest(void);
15TPM_RC CryptSelfTest(TPMI_YES_NO fullTest // IN: if full test is required
16 );
17TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
Vadim Bendebury8ec80172015-05-29 13:55:43 -070018
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070019#endif // __TPM2_CRYPTSELFTEST_FP_H