diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-05-31 14:44:07 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-03 21:19:11 +0000 |
commit | bbd79006638e983c14ae2b644146ab6b05856e6e (patch) | |
tree | 6006d9812502e4d2b1584a3c486279531c166adc /AlgorithmCap_fp.h | |
parent | c34f4d92ff1a6f37e2d1a750c57bc83f722aa007 (diff) | |
download | tpm2-bbd79006638e983c14ae2b644146ab6b05856e6e.tar.gz |
Changes to allow compilation of GetCapability.c
BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null GetCapability.c
Change-Id: Id29ea0029c232c6d9e41f98b6dd24d73bf59a065
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274185
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'AlgorithmCap_fp.h')
-rw-r--r-- | AlgorithmCap_fp.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/AlgorithmCap_fp.h b/AlgorithmCap_fp.h index 96e1420..ea9d06d 100644 --- a/AlgorithmCap_fp.h +++ b/AlgorithmCap_fp.h @@ -7,8 +7,14 @@ #ifndef __TPM2_ALGORITHMCAP_FP_H #define __TPM2_ALGORITHMCAP_FP_H -void AlgorithmGetImplementedVector( +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 |