Skip to content

Commit 0021ef5

Browse files
committed
Fix checkstyle in sha2_generic.c
- sha2_generic.c: 61: comma or semicolon followed by non-blank - sha2_generic.c: 62: comma or semicolon followed by non-blank Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
1 parent 8c3ee61 commit 0021ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/icp/algs/sha2/sha2_generic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ static const uint32_t SHA256_K[64] = {
5858
0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
5959
};
6060

61-
#define Ch(x,y,z) ((z) ^ ((x) & ((y) ^ (z))))
62-
#define Maj(x,y,z) (((y) & (z)) | (((y) | (z)) & (x)))
61+
#define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z))))
62+
#define Maj(x, y, z) (((y) & (z)) | (((y) | (z)) & (x)))
6363

6464
#define rotr32(x, n) (((x) >> n) | ((x) << (32 - n)))
6565
#define sum0(x) (rotr32((x), 2) ^ rotr32((x), 13) ^ rotr32((x), 22))

0 commit comments

Comments
 (0)