aboutsummaryrefslogtreecommitdiff
path: root/PCR_SetAuthValue_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-06-01 12:15:52 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 21:46:51 +0000
commit025269aba5f6247b24ad1eaf40167b97c0a695c9 (patch)
tree02c607d06e696e6de296ab18d6ccc69c01ef6da2 /PCR_SetAuthValue_fp.h
parentf0a510e8d8f4b3e6ce7dbfd73720de74ccc1b6e3 (diff)
downloadtpm2-025269aba5f6247b24ad1eaf40167b97c0a695c9.tar.gz
Changes to allow compilation of PCR_SetAuthValue.c
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null PCR_SetAuthValue.c Change-Id: I620439d114aac05fb31b5b302d9ed893f2ed43ac Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274628 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'PCR_SetAuthValue_fp.h')
-rw-r--r--PCR_SetAuthValue_fp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/PCR_SetAuthValue_fp.h b/PCR_SetAuthValue_fp.h
new file mode 100644
index 0000000..ccf08e7
--- /dev/null
+++ b/PCR_SetAuthValue_fp.h
@@ -0,0 +1,19 @@
+/*
+ * 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_PCR_SETAUTHVALUE_FP_H_
+#define __TPM2_PCR_SETAUTHVALUE_FP_H_
+
+typedef struct {
+ TPMI_DH_PCR pcrHandle;
+ TPM2B_DIGEST auth;
+} PCR_SetAuthValue_In;
+
+TPM_RC TPM2_PCR_SetAuthValue(
+ PCR_SetAuthValue_In *in // IN: input parameter list
+);
+
+#endif // __TPM2_PCR_SETAUTHVALUE_FP_H_