From f788ffb5e5b4493cb4c1deaa12a97c80c2694b01 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Fri, 5 Jun 2015 12:57:27 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/275681 Reviewed-by: Utkarsh Sanghi --- SessionProcess_fp.h | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) (limited to 'SessionProcess_fp.h') 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 -- cgit v1.2.3