Vadim Bendebury | 50ca31a | 2015-06-01 11:45:15 -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_EVENT_FP_H_ |
| 8 | #define __TPM2_PCR_EVENT_FP_H_ |
| 9 | |
| 10 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 11 | TPM_RH pcrHandle; |
| 12 | TPM2B_DATA eventData; |
Vadim Bendebury | 50ca31a | 2015-06-01 11:45:15 -0700 | [diff] [blame] | 13 | } PCR_Event_In; |
| 14 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 15 | typedef struct { TPML_DIGEST digests; } PCR_Event_Out; |
Vadim Bendebury | 50ca31a | 2015-06-01 11:45:15 -0700 | [diff] [blame] | 16 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 17 | TPM_RC TPM2_PCR_Event(PCR_Event_In *in, // IN: input parameter list |
| 18 | PCR_Event_Out *out // OUT: output parameter list |
| 19 | ); |
Vadim Bendebury | 50ca31a | 2015-06-01 11:45:15 -0700 | [diff] [blame] | 20 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 21 | #endif // __TPM2_PCR_EVENT_FP_H_ |