blob: 405060373dacd2a3195aacad5c6c8ee83b18f6ab [file] [log] [blame]
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -07001// Copyright 2015 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Vadim Bendebury59727bd2015-05-28 14:58:08 -07004
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -07005// THIS CODE IS GENERATED - DO NOT MODIFY!
Vadim Bendebury59727bd2015-05-28 14:58:08 -07006
Vadim Bendebury776e2362015-09-04 16:14:53 -07007#ifndef TPM2_CHANGEEPS_FP_H_
8#define TPM2_CHANGEEPS_FP_H_
Vadim Bendebury59727bd2015-05-28 14:58:08 -07009
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070010#include "tpm_generated.h"
Vadim Bendebury59727bd2015-05-28 14:58:08 -070011
Vadim Bendebury9de49d32019-01-15 09:36:48 -080012typedef struct {
13 TPMI_RH_PLATFORM authHandle;
14} ChangeEPS_In;
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070015
16// Executes ChangeEPS with request handles and parameters from |in|.
17TPM_RC TPM2_ChangeEPS(ChangeEPS_In* in);
18
Vadim Bendebury776e2362015-09-04 16:14:53 -070019// Unmarshals any request parameters starting at |request_parameter_buffer|.
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070020// Executes command. Marshals any response handles and parameters to the
Vadim Bendebury776e2362015-09-04 16:14:53 -070021// global response buffer and computes |*response_handle_buffer_size| and
22// |*response_parameter_buffer_size|. If |tag| == TPM_ST_SESSIONS, marshals
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070023// parameter_size indicating the size of the parameter area. parameter_size
24// field is located between the handle area and parameter area.
25TPM_RC Exec_ChangeEPS(TPMI_ST_COMMAND_TAG tag,
Vadim Bendebury776e2362015-09-04 16:14:53 -070026 BYTE** request_parameter_buffer,
27 INT32* request_parameter_buffer_size,
28 TPM_HANDLE request_handles[],
29 UINT32* response_handle_buffer_size,
30 UINT32* response_parameter_buffer_size);
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070031
32#endif // TPM2_CHANGEEPS_FP_H