aboutsummaryrefslogtreecommitdiff
path: root/PCR_Read_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-06-05 12:57:27 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-06 00:06:56 +0000
commitf788ffb5e5b4493cb4c1deaa12a97c80c2694b01 (patch)
tree452e5eac43a20a60bc6b822dd810ea0c66165409 /PCR_Read_fp.h
parent99e88835efdddfb4e01ebfe07f668379d64dda64 (diff)
downloadtpm2-f788ffb5e5b4493cb4c1deaa12a97c80c2694b01.tar.gz
reformat added files
This patch is the result of running the following script inside chroot: $ for f in $(git diff bfc1e79 | grep -A1 '^\-\-\- /dev/null' | \ grep '^\+\+' awk -F/ '{print $2}'); do # for all added files rm -f /tmp/clf.h # remove the placeholder file mcomms $f > /tmp/clf.h # a hepler script putting multiline comments in one line rm -f $f clang-format --style=Google /tmp/clf.h > $f done BUG=none TEST=verified that make still succeeds and that $ objdump -d build/tpm2lib | md5sum returns the same value before and after this patch Change-Id: I7e2dca6a1fdd1d77b1c77f3b6cdd3433556d9c1d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/275681 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'PCR_Read_fp.h')
-rw-r--r--PCR_Read_fp.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/PCR_Read_fp.h b/PCR_Read_fp.h
index 2787d7a..a1856ac 100644
--- a/PCR_Read_fp.h
+++ b/PCR_Read_fp.h
@@ -7,19 +7,16 @@
#ifndef __TPM2_PCR_READ_FP_H_
#define __TPM2_PCR_READ_FP_H_
-typedef struct {
- TPML_PCR_SELECTION pcrSelectionIn;
-} PCR_Read_In;
+typedef struct { TPML_PCR_SELECTION pcrSelectionIn; } PCR_Read_In;
typedef struct {
- TPML_DIGEST pcrValues;
- UINT32 pcrUpdateCounter;
- TPML_PCR_SELECTION pcrSelectionOut;
+ TPML_DIGEST pcrValues;
+ UINT32 pcrUpdateCounter;
+ TPML_PCR_SELECTION pcrSelectionOut;
} PCR_Read_Out;
-TPM_RC TPM2_PCR_Read(
- PCR_Read_In *in, // IN: input parameter list
- PCR_Read_Out *out // OUT: output parameter list
-);
+TPM_RC TPM2_PCR_Read(PCR_Read_In *in, // IN: input parameter list
+ PCR_Read_Out *out // OUT: output parameter list
+ );
-#endif // __TPM2_PCR_READ_FP_H_
+#endif // __TPM2_PCR_READ_FP_H_