Vadim Bendebury | a44f6e8 | 2015-05-29 22:59:34 -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_GETSESSIONAUDITDIGEST_FP_H |
| 8 | #define __TPM2_GETSESSIONAUDITDIGEST_FP_H |
| 9 | |
| 10 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 11 | TPMI_DH_OBJECT signHandle; |
| 12 | TPMT_SIG_SCHEME inScheme; |
| 13 | TPM2B_DATA qualifyingData; |
| 14 | TPM_HANDLE sessionHandle; |
Vadim Bendebury | a44f6e8 | 2015-05-29 22:59:34 -0700 | [diff] [blame] | 15 | } GetSessionAuditDigest_In; |
| 16 | |
| 17 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 18 | TPM2B_ATTEST auditInfo; |
| 19 | TPMT_SIGNATURE signature; |
Vadim Bendebury | a44f6e8 | 2015-05-29 22:59:34 -0700 | [diff] [blame] | 20 | } GetSessionAuditDigest_Out; |
| 21 | |
| 22 | TPM_RC TPM2_GetSessionAuditDigest( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 23 | GetSessionAuditDigest_In *in, // IN: input parameter list |
| 24 | GetSessionAuditDigest_Out *out // OUT: output parameter list |
| 25 | ); |
Vadim Bendebury | a44f6e8 | 2015-05-29 22:59:34 -0700 | [diff] [blame] | 26 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 27 | #endif // __TPM2_GETSESSIONAUDITDIGEST_FP_H |