aboutsummaryrefslogtreecommitdiff
path: root/CryptSelfTest_fp.h
blob: 77e8b421dbb974ae3f5af4179014a706335fda1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2015 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __TPM2_CRYPTSELFTEST_FP_H
#define __TPM2_CRYPTSELFTEST_FP_H

TPM_RC CryptIncrementalSelfTest(
    TPML_ALG *toTest,   // IN: list of algorithms to be tested
    TPML_ALG *toDoList  // OUT: list of algorithms needing test
    );
void CryptInitializeToTest(void);
TPM_RC CryptSelfTest(TPMI_YES_NO fullTest  // IN: if full test is required
                     );
TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);

#endif  // __TPM2_CRYPTSELFTEST_FP_H