blob: 6db947ba74e00c1f6968d4cc054f8b08cbd9d970 [file] [log] [blame]
Vadim Bendebury50ca31a2015-06-01 11:45:15 -07001/*
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
10typedef struct {
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPM_RH pcrHandle;
12 TPM2B_DATA eventData;
Vadim Bendebury50ca31a2015-06-01 11:45:15 -070013} PCR_Event_In;
14
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070015typedef struct { TPML_DIGEST digests; } PCR_Event_Out;
Vadim Bendebury50ca31a2015-06-01 11:45:15 -070016
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070017TPM_RC TPM2_PCR_Event(PCR_Event_In *in, // IN: input parameter list
18 PCR_Event_Out *out // OUT: output parameter list
19 );
Vadim Bendebury50ca31a2015-06-01 11:45:15 -070020
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070021#endif // __TPM2_PCR_EVENT_FP_H_