diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-06-05 12:57:27 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-06 00:06:56 +0000 |
commit | f788ffb5e5b4493cb4c1deaa12a97c80c2694b01 (patch) | |
tree | 452e5eac43a20a60bc6b822dd810ea0c66165409 /Hash_fp.h | |
parent | 99e88835efdddfb4e01ebfe07f668379d64dda64 (diff) | |
download | tpm2-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 'Hash_fp.h')
-rw-r--r-- | Hash_fp.h | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -8,19 +8,18 @@ #define __TPM2_HASH_FP_H typedef struct { - TPMI_ALG_HASH hashAlg; - TPMI_RH_HIERARCHY hierarchy; - TPM2B_DATA data; + TPMI_ALG_HASH hashAlg; + TPMI_RH_HIERARCHY hierarchy; + TPM2B_DATA data; } Hash_In; typedef struct { - TPM2B_DIGEST outHash; - TPMT_TK_HASHCHECK validation; + TPM2B_DIGEST outHash; + TPMT_TK_HASHCHECK validation; } Hash_Out; -TPM_RC TPM2_Hash( - Hash_In *in, // IN: input parameter list - Hash_Out *out // OUT: output parameter list +TPM_RC TPM2_Hash(Hash_In *in, // IN: input parameter list + Hash_Out *out // OUT: output parameter list ); -#endif // __TPM2_HASH_FP_H +#endif // __TPM2_HASH_FP_H |