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 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 10 | typedef struct { TPML_PCR_SELECTION pcrSelectionIn; } PCR_Read_In; |
Vadim Bendebury | 3a6b9cb | 2015-06-01 12:02:26 -0700 | [diff] [blame] | 11 | |
| 12 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 13 | TPML_DIGEST pcrValues; |
| 14 | UINT32 pcrUpdateCounter; |
| 15 | TPML_PCR_SELECTION pcrSelectionOut; |
Vadim Bendebury | 3a6b9cb | 2015-06-01 12:02:26 -0700 | [diff] [blame] | 16 | } PCR_Read_Out; |
| 17 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 18 | TPM_RC TPM2_PCR_Read(PCR_Read_In *in, // IN: input parameter list |
| 19 | PCR_Read_Out *out // OUT: output parameter list |
| 20 | ); |
Vadim Bendebury | 3a6b9cb | 2015-06-01 12:02:26 -0700 | [diff] [blame] | 21 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 22 | #endif // __TPM2_PCR_READ_FP_H_ |