blob: a1856ac4377eb0849ee1759680c9d9bd5df680e5 [file] [log] [blame]
Vadim Bendebury3a6b9cb2015-06-01 12:02:26 -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_READ_FP_H_
8#define __TPM2_PCR_READ_FP_H_
9
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070010typedef struct { TPML_PCR_SELECTION pcrSelectionIn; } PCR_Read_In;
Vadim Bendebury3a6b9cb2015-06-01 12:02:26 -070011
12typedef struct {
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070013 TPML_DIGEST pcrValues;
14 UINT32 pcrUpdateCounter;
15 TPML_PCR_SELECTION pcrSelectionOut;
Vadim Bendebury3a6b9cb2015-06-01 12:02:26 -070016} PCR_Read_Out;
17
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070018TPM_RC TPM2_PCR_Read(PCR_Read_In *in, // IN: input parameter list
19 PCR_Read_Out *out // OUT: output parameter list
20 );
Vadim Bendebury3a6b9cb2015-06-01 12:02:26 -070021
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070022#endif // __TPM2_PCR_READ_FP_H_