aboutsummaryrefslogtreecommitdiff
path: root/ReadPublic_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-06-01 17:41:33 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 22:10:34 +0000
commit775f3b3a96b24ae205179d885d49efd3fd9607cd (patch)
tree33cc28baa4105f9255f79da70b8f171940c09749 /ReadPublic_fp.h
parent1538044eca19a1f2ca409165e9a22cb5f33bf7ea (diff)
downloadtpm2-775f3b3a96b24ae205179d885d49efd3fd9607cd.tar.gz
Changes to allow compilation of ReadPublic.c
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null ReadPublic.c Change-Id: I3d7db90464fccf6c283e19a41cca5cecf7cdd182 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274656 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'ReadPublic_fp.h')
-rw-r--r--ReadPublic_fp.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ReadPublic_fp.h b/ReadPublic_fp.h
new file mode 100644
index 0000000..a77c765
--- /dev/null
+++ b/ReadPublic_fp.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2015 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __TPM2_READPUBLIC_FP_H_
+#define __TPM2_READPUBLIC_FP_H_
+
+typedef struct {
+ TPMI_DH_OBJECT objectHandle;
+} ReadPublic_In;
+
+typedef struct {
+ TPM2B_PUBLIC outPublic;
+ TPM2B_NAME name;
+ TPM2B_NAME qualifiedName;
+} ReadPublic_Out;
+
+TPM_RC TPM2_ReadPublic(
+ ReadPublic_In *in, // IN: input parameter list
+ ReadPublic_Out *out // OUT: output parameter list
+);
+
+#endif // __TPM2_READPUBLIC_FP_H_