Vadim Bendebury | f5cc58b | 2015-05-31 14:09:19 -0700 | [diff] [blame] | 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 | |
Jocelyn Bohr | a4ed3aa | 2015-07-30 10:44:16 -0700 | [diff] [blame] | 8 | #ifndef TPM2_HANDLEPROCESS_FP_H_ |
| 9 | #define TPM2_HANDLEPROCESS_FP_H_ |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 10 | |
| 11 | TPM_RC ParseHandleBuffer( |
Jocelyn Bohr | a4ed3aa | 2015-07-30 10:44:16 -0700 | [diff] [blame] | 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 |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 20 | ); |
| 21 | |
Jocelyn Bohr | 764a7d6 | 2015-07-30 12:57:09 -0700 | [diff] [blame] | 22 | #endif // _TPM2_HANDLEPROCESS_FP_H_ |