• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // 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 
8 #ifndef TPM2_HANDLEPROCESS_FP_H_
9 #define TPM2_HANDLEPROCESS_FP_H_
10 
11 TPM_RC ParseHandleBuffer(
12     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
20     );
21 
22 #endif  // _TPM2_HANDLEPROCESS_FP_H_
23