Changes to allow compilation of HashSequenceStart.c
am: cddcbfe201
* commit 'cddcbfe2013e90774afccfc39fb24596c5757bbd':
Changes to allow compilation of HashSequenceStart.c
diff --git a/HashSequenceStart_fp.h b/HashSequenceStart_fp.h
new file mode 100644
index 0000000..17ff32b
--- /dev/null
+++ b/HashSequenceStart_fp.h
@@ -0,0 +1,24 @@
+/*
+ * 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_HASHSEQUENCESTART_FP_H
+#define __TPM2_HASHSEQUENCESTART_FP_H
+
+typedef struct {
+ TPMI_ALG_HASH hashAlg;
+ TPM2B_AUTH auth;
+} HashSequenceStart_In;
+
+typedef struct {
+ TPMI_DH_OBJECT sequenceHandle;
+} HashSequenceStart_Out;
+
+TPM_RC TPM2_HashSequenceStart(
+ HashSequenceStart_In *in, // IN: input parameter list
+ HashSequenceStart_Out *out // OUT: output parameter list
+ );
+
+#endif // __TPM2_HASHSEQUENCESTART_FP_H
diff --git a/Object_fp.h b/Object_fp.h
index af7eb86..93ee9e1 100644
--- a/Object_fp.h
+++ b/Object_fp.h
@@ -26,6 +26,10 @@
OBJECT *object, // IN: object structure from saved context
TPMI_DH_OBJECT *handle // OUT: object handle
);
+TPM_RC ObjectCreateEventSequence(
+ TPM2B_AUTH *auth, // IN: authValue
+ TPMI_DH_OBJECT *newHandle // OUT: sequence object handle
+ );
TPM_RC ObjectCreateHMACSequence(
TPMI_ALG_HASH hashAlg, // IN: hash algorithm
TPM_HANDLE handle, // IN: the handle associated with sequence
@@ -33,6 +37,11 @@
TPM2B_AUTH *auth, // IN: authValue
TPMI_DH_OBJECT *newHandle // OUT: HMAC sequence object handle
);
+TPM_RC ObjectCreateHashSequence(
+ TPMI_ALG_HASH hashAlg, // IN: hash algorithm
+ TPM2B_AUTH *auth, // IN: authValue
+ TPMI_DH_OBJECT *newHandle // OUT: sequence object handle
+ );
TPMI_RH_HIERARCHY ObjectDataGetHierarchy(
OBJECT *object // IN :object
);