blob: b46ad45cc1b7fb66d2584076d6c291a83c0ca660 [file] [log] [blame]
Vadim Bendeburyef5c3332015-05-29 23:01:20 -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_GETTIME_FP_H
8#define __TPM2_GETTIME_FP_H
9
10typedef struct {
11 TPMI_DH_OBJECT signHandle; // IN: handle of signing object
12 TPMT_SIG_SCHEME inScheme; // IN/OUT: scheme to be used for signing
13 TPM2B_DATA qualifyingData; // IN: qualifying data
14} GetTime_In;
15
16typedef struct {
17 TPM2B_ATTEST timeInfo;
18 TPMT_SIGNATURE signature;
19} GetTime_Out;
20
21TPM_RC TPM2_GetTime(
22 GetTime_In *in, // IN: input parameter list
23 GetTime_Out *out // OUT: output parameter list
24 );
25
26#endif // __TPM2_GETTIME_FP_H