summaryrefslogtreecommitdiff
path: root/utility/include/tpmextras.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-20 17:43:50 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-28 07:32:05 +0000
commit9adf2aa24307937380debb703ac07b8093a25f61 (patch)
treeb95c5bbb5259714ef86c125894267d0476cd62fe /utility/include/tpmextras.h
parenta762fa782793e7b13ba13ceed474f20c54afbdd3 (diff)
downloadvboot-9adf2aa24307937380debb703ac07b8093a25f61.tar.gz
vboot: fix up some headers, includes, comments, spacing
BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Id97f544da845f7070555e5e8cc6e782b2d45c300 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758151 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'utility/include/tpmextras.h')
-rw-r--r--utility/include/tpmextras.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/utility/include/tpmextras.h b/utility/include/tpmextras.h
index 23813e82..10802fce 100644
--- a/utility/include/tpmextras.h
+++ b/utility/include/tpmextras.h
@@ -1,14 +1,12 @@
/* Copyright (c) 2010 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.
- */
-
-/*
+ *
* TPM definitions not available in any TSS include file :-(
*/
-#ifndef TPM_LITE_TPMEXTRAS_H_
-#define TPM_LITE_TPMEXTRAS_H_
+#ifndef VBOOT_REFERENCE_TPMEXTRAS_H_
+#define VBOOT_REFERENCE_TPMEXTRAS_H_
#define TPM_MAX_COMMAND_SIZE 4096
#define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */
@@ -21,4 +19,4 @@ typedef struct tdTPM_WRITE_INFO {
uint32_t dataSize;
} TPM_WRITE_INFO;
-#endif
+#endif /* VBOOT_REFERENCE_TPMEXTRAS_H_ */