aboutsummaryrefslogtreecommitdiff
path: root/HandleProcess_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-05-31 14:41:18 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 21:18:54 +0000
commitda7250691b11dc6892b02900c5b51aaa9d6bda59 (patch)
tree04586fe5662c09a5d1b9b60ca0e618a12fa156b5 /HandleProcess_fp.h
parent0d658a0d91e2a44cc58fdd80d376b6ab5103d164 (diff)
downloadtpm2-da7250691b11dc6892b02900c5b51aaa9d6bda59.tar.gz
Changes to allow compilation of ExecCommand.c
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null ExecCommand.c Change-Id: I7aa3c738d96e47ae4e10e728257a557d5b248cff Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274057 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'HandleProcess_fp.h')
-rw-r--r--HandleProcess_fp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/HandleProcess_fp.h b/HandleProcess_fp.h
new file mode 100644
index 0000000..0811773
--- /dev/null
+++ b/HandleProcess_fp.h
@@ -0,0 +1,22 @@
+// This file was extracted from the TCG Published
+// Trusted Platform Module Library
+// Part 4: Supporting Routines
+// Family "2.0"
+// Level 00 Revision 01.16
+// October 30, 2014
+
+#ifndef _HANDLEPROCESS_FP_H_
+#define _HANDLEPROCESS_FP_H_
+TPM_RC
+ParseHandleBuffer(
+ TPM_CC commandCode, // IN: Command being processed
+ BYTE **handleBufferStart, // IN/OUT: command buffer where handles
+ // are located. Updated as handles
+ // are unmarshaled
+ INT32 *bufferRemainingSize, // IN/OUT: indicates the amount of data
+ // left in the command buffer.
+ // Updated as handles are unmarshaled
+ TPM_HANDLE handles[], // OUT: Array that receives the handles
+ UINT32 *handleCount // OUT: Receives the count of handles
+ );
+#endif // _HANDLEPROCESS_FP_H_