diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-05-29 23:06:15 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-03 21:19:58 +0000 |
commit | 5bb7b9fcefd9f89e648aac6595530462aed1474c (patch) | |
tree | a932fa08214cfccbd0fe08aee03b81da86b9cca8 /Load_fp.h | |
parent | e92b614b8a3323a4232b404d18f3032ef7eb02b9 (diff) | |
download | tpm2-5bb7b9fcefd9f89e648aac6595530462aed1474c.tar.gz |
Changes to allow compilation of Load.c
BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null Load.c
Change-Id: I01b856386b5ef7ef15405aecf891b9dc7704cbf3
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274199
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'Load_fp.h')
-rw-r--r-- | Load_fp.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Load_fp.h b/Load_fp.h new file mode 100644 index 0000000..19df2d2 --- /dev/null +++ b/Load_fp.h @@ -0,0 +1,26 @@ +/* + * 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_LOAD_FP_H +#define __TPM2_LOAD_FP_H + +typedef struct { + TPM2B_PRIVATE inPrivate; + TPM2B_PUBLIC inPublic; + TPM_HANDLE parentHandle; +} Load_In; + +typedef struct { + TPM2B_NAME name; + TPMI_DH_OBJECT objectHandle; +} Load_Out; + +TPM_RC TPM2_Load( + Load_In *in, // IN: input parameter list + Load_Out *out // OUT: output parameter list + ); + +#endif // __TPM2_LOAD_FP_H |