blob: cc04db59c8ce1af9ac97b57523099f896933a21b [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
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -07008#ifndef _HANDLEPROCESS_FP_H_
9#define _HANDLEPROCESS_FP_H_
10
11TPM_RC ParseHandleBuffer(
12 TPM_CC commandCode, // IN: Command being processed
13 BYTE **handleBufferStart, // IN/OUT: command buffer where handles are
14 // located. Updated as handles are unmarshaled
15 INT32 *bufferRemainingSize, // IN/OUT: indicates the amount of data left
16 // in the command buffer. Updated as handles
17 // are unmarshaled
18 TPM_HANDLE handles[], // OUT: Array that receives the handles
19 UINT32 *handleCount // OUT: Receives the count of handles
20 );
21
22#endif // _HANDLEPROCESS_FP_H_