aboutsummaryrefslogtreecommitdiff
path: root/AlgorithmCap_fp.h
blob: c7c1e999c818ce555f9e7852ca6078748ee7124f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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_ALGORITHMCAP_FP_H
#define __TPM2_ALGORITHMCAP_FP_H

LIB_EXPORT void AlgorithmGetImplementedVector(
    ALGORITHM_VECTOR *implemented  // OUT: the implemented bits are SET
    );

TPMI_YES_NO AlgorithmCapGetImplemented(
    TPM_ALG_ID algID,           // IN: the starting algorithm ID
    UINT32 count,               // IN: count of returned algorithms
    TPML_ALG_PROPERTY *algList  // OUT: algorithm list
    );

#endif  // __TPM2_ALGORITHMCAP_FP_H