diff options
author | Anton Kling <anton@kling.gg> | 2023-11-28 20:11:05 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-28 20:12:20 +0100 |
commit | d07fa25e04a19ccb9aa25bb6e2156d23d213db77 (patch) | |
tree | 25f2e4a6301f3ad7c5b158e74966a394862fdf39 /kernel/crypto/xoshiro256plusplus | |
parent | 636858dbbd48ed9f5073793b46740302aa202f43 (diff) |
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/crypto/xoshiro256plusplus')
-rw-r--r-- | kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c b/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c index 414a5a4..f4833d6 100644 --- a/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c +++ b/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c @@ -26,7 +26,9 @@ static inline uint64_t rotl(const uint64_t x, int k) { static uint64_t s[4]; -void seed_xoshiro_256_pp(uint64_t input[4]) { memcpy(s, input, sizeof(s)); } +void seed_xoshiro_256_pp(uint64_t input[4]) { + memcpy(s, input, sizeof(s)); +} uint64_t xoshiro_256_pp(void) { const uint64_t result = rotl(s[0] + s[3], 23) + s[0]; |