From d07fa25e04a19ccb9aa25bb6e2156d23d213db77 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 28 Nov 2023 20:11:05 +0100 Subject: Meta: Apply new clang-format rules to kernel --- kernel/crypto/ChaCha20/chacha20.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel/crypto/ChaCha20/chacha20.h') diff --git a/kernel/crypto/ChaCha20/chacha20.h b/kernel/crypto/ChaCha20/chacha20.h index 3278783..dd4a639 100644 --- a/kernel/crypto/ChaCha20/chacha20.h +++ b/kernel/crypto/ChaCha20/chacha20.h @@ -3,13 +3,13 @@ #include #define KEY 4 -#define KEY_SIZE 8*sizeof(u32) +#define KEY_SIZE 8 * sizeof(u32) #define COUNT 12 #define COUNT_SIZE sizeof(u32) -#define COUNT_MAX (0x100000000-1) // 2^32 - 1 +#define COUNT_MAX (0x100000000 - 1) // 2^32 - 1 #define NONCE 13 -#define NONCE_SIZE 2*sizeof(u32) -#define BLOCK_SIZE 16*sizeof(u32) +#define NONCE_SIZE 2 * sizeof(u32) +#define BLOCK_SIZE 16 * sizeof(u32) void chacha_block(u32 out[16], u32 const in[16]); #endif -- cgit v1.2.3