blob: 012b3f5d0ccb6f2dfd97954cf28b2f50432b5ac3 [file] [log] [blame]
Vadim Bendebury05f80f62015-06-01 17:16:29 -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_QUOTE_FP_H_
8#define __TPM2_QUOTE_FP_H_
9
10typedef struct {
11 TPMI_DH_OBJECT signHandle;
12 TPMT_SIG_SCHEME inScheme;
13 TPM2B_DATA qualifyingData;
14 TPML_PCR_SELECTION PCRselect;
15} Quote_In;
16
17typedef struct {
18 TPM2B_ATTEST quoted;
19 TPMT_SIGNATURE signature;
20} Quote_Out;
21
22TPM_RC TPM2_Quote(
23 Quote_In *in, // IN: input parameter list
24 Quote_Out *out // OUT: output parameter list
25);
26
27#endif // __TPM2_QUOTE_FP_H_