Vadim Bendebury | c00055c | 2015-05-29 22:50:18 -0700 | [diff] [blame] | 1 | /* |
| 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 Bendebury | bbd7900 | 2015-05-31 14:44:07 -0700 | [diff] [blame] | 10 | LIB_EXPORT void AlgorithmGetImplementedVector( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 11 | ALGORITHM_VECTOR *implemented // OUT: the implemented bits are SET |
| 12 | ); |
Vadim Bendebury | bbd7900 | 2015-05-31 14:44:07 -0700 | [diff] [blame] | 13 | |
| 14 | TPMI_YES_NO AlgorithmCapGetImplemented( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 15 | 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 Bendebury | c00055c | 2015-05-29 22:50:18 -0700 | [diff] [blame] | 19 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 20 | #endif // __TPM2_ALGORITHMCAP_FP_H |