blob: 239071e4106c33a265ebcde533f74d87860922c0 [file] [log] [blame]
Vadim Bendeburyf5cc58b2015-05-31 14:09:19 -07001// This file was extracted from the TCG Published
2// Trusted Platform Module Library
3// Part 4: Supporting Routines
4// Family "2.0"
5// Level 00 Revision 01.16
6// October 30, 2014
7
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -07008#ifndef TPM2_HANDLEPROCESS_FP_H_
9#define TPM2_HANDLEPROCESS_FP_H_
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070010
11TPM_RC ParseHandleBuffer(
Jocelyn Bohra4ed3aa2015-07-30 10:44:16 -070012 TPM_CC command_code, // IN: Command being processed
13 BYTE **req_handle_buffer_start, // IN/OUT: command buffer where handles are
14 // located. Updated as handles are unmarshaled
15 INT32 *req_buffer_remaining_size, // IN/OUT: indicates the amount of data left
16 // in the command buffer. Updated as handles
17 // are unmarshaled
18 TPM_HANDLE req_handles[], // OUT: Array that receives the handles
19 UINT32 *req_handles_num // OUT: Receives the count of handles
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070020 );
21
Jocelyn Bohr764a7d62015-07-30 12:57:09 -070022#endif // _TPM2_HANDLEPROCESS_FP_H_