blob: c7c1e999c818ce555f9e7852ca6078748ee7124f [file] [log] [blame]
Vadim Bendeburyc00055c2015-05-29 22:50:18 -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_ALGORITHMCAP_FP_H
8#define __TPM2_ALGORITHMCAP_FP_H
9
Vadim Bendeburybbd79002015-05-31 14:44:07 -070010LIB_EXPORT void AlgorithmGetImplementedVector(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 ALGORITHM_VECTOR *implemented // OUT: the implemented bits are SET
12 );
Vadim Bendeburybbd79002015-05-31 14:44:07 -070013
14TPMI_YES_NO AlgorithmCapGetImplemented(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070015 TPM_ALG_ID algID, // IN: the starting algorithm ID
16 UINT32 count, // IN: count of returned algorithms
17 TPML_ALG_PROPERTY *algList // OUT: algorithm list
18 );
Vadim Bendeburyc00055c2015-05-29 22:50:18 -070019
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070020#endif // __TPM2_ALGORITHMCAP_FP_H