Vadim Bendebury | 3a6b9cb | 2015-06-01 12:02:26 -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_PCR_READ_FP_H_ |
| 8 | #define __TPM2_PCR_READ_FP_H_ |
| 9 | |
| 10 | typedef struct { |
| 11 | TPML_PCR_SELECTION pcrSelectionIn; |
| 12 | } PCR_Read_In; |
| 13 | |
| 14 | typedef struct { |
| 15 | TPML_DIGEST pcrValues; |
| 16 | UINT32 pcrUpdateCounter; |
| 17 | TPML_PCR_SELECTION pcrSelectionOut; |
| 18 | } PCR_Read_Out; |
| 19 | |
| 20 | TPM_RC TPM2_PCR_Read( |
| 21 | PCR_Read_In *in, // IN: input parameter list |
| 22 | PCR_Read_Out *out // OUT: output parameter list |
| 23 | ); |
| 24 | |
| 25 | #endif // __TPM2_PCR_READ_FP_H_ |