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 /SessionProcess_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 'SessionProcess_fp.h')
-rw-r--r-- | SessionProcess_fp.h | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/SessionProcess_fp.h b/SessionProcess_fp.h index fdfc274..ca1487f 100644 --- a/SessionProcess_fp.h +++ b/SessionProcess_fp.h @@ -8,30 +8,29 @@ #define __TPM2_SESSIONPROCESS_FP_H void BuildResponseSession( - TPM_ST tag, // IN: tag - TPM_CC commandCode, // IN: commandCode - UINT32 resHandleSize, // IN: size of response handle buffer - UINT32 resParmSize, // IN: size of response parameter buffer - UINT32 *resSessionSize // OUT: response session area - ); + TPM_ST tag, // IN: tag + TPM_CC commandCode, // IN: commandCode + UINT32 resHandleSize, // IN: size of response handle buffer + UINT32 resParmSize, // IN: size of response parameter buffer + UINT32 *resSessionSize // OUT: response session area + ); TPM_RC CheckAuthNoSession( - TPM_CC commandCode, // IN: Command Code - UINT32 handleNum, // IN: number of handles in command - TPM_HANDLE handles[], // IN: array of handle - BYTE *parmBufferStart, // IN: start of parameter buffer - UINT32 parmBufferSize // IN: size of parameter buffer - ); -BOOL IsDAExempted( - TPM_HANDLE handle // IN: entity handle - ); + TPM_CC commandCode, // IN: Command Code + UINT32 handleNum, // IN: number of handles in command + TPM_HANDLE handles[], // IN: array of handle + BYTE *parmBufferStart, // IN: start of parameter buffer + UINT32 parmBufferSize // IN: size of parameter buffer + ); +BOOL IsDAExempted(TPM_HANDLE handle // IN: entity handle + ); TPM_RC ParseSessionBuffer( - TPM_CC commandCode, // IN: Command code - UINT32 handleNum, // IN: number of element in handle array - TPM_HANDLE handles[], // IN: array of handle - BYTE *sessionBufferStart, // IN: start of session buffer - UINT32 sessionBufferSize, // IN: size of session buffer - BYTE *parmBufferStart, // IN: start of parameter buffer - UINT32 parmBufferSize // IN: size of parameter buffer - ); + TPM_CC commandCode, // IN: Command code + UINT32 handleNum, // IN: number of element in handle array + TPM_HANDLE handles[], // IN: array of handle + BYTE *sessionBufferStart, // IN: start of session buffer + UINT32 sessionBufferSize, // IN: size of session buffer + BYTE *parmBufferStart, // IN: start of parameter buffer + UINT32 parmBufferSize // IN: size of parameter buffer + ); -#endif // __TPM2_SESSIONPROCESS_FP_H +#endif // __TPM2_SESSIONPROCESS_FP_H |