From 6f48921cd5cd9567c17b154e930a4cbdbe1b99f4 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Tue, 15 Jan 2019 16:58:24 +0100 Subject: [PATCH] Manually format MUSH macros in randombytes The previous formatting did not immediately stabilize, and the resulting formatting is somewhat arbitrary. Manually inserting linebreaks seems to make more sense. --- common/notrandombytes.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/common/notrandombytes.c b/common/notrandombytes.c index ff8dc176..fe2ae5ca 100644 --- a/common/notrandombytes.c +++ b/common/notrandombytes.c @@ -36,8 +36,17 @@ static void surf(void) { for (r = 0; r < 16; ++r) { sum += 0x9e3779b9; MUSH(0, 5) - MUSH(1, 7) MUSH(2, 9) MUSH(3, 13) MUSH(4, 5) MUSH(5, 7) MUSH(6, 9) - MUSH(7, 13) MUSH(8, 5) MUSH(9, 7) MUSH(10, 9) MUSH(11, 13) + MUSH(1, 7) + MUSH(2, 9) + MUSH(3, 13) + MUSH(4, 5) + MUSH(5, 7) + MUSH(6, 9) + MUSH(7, 13) + MUSH(8, 5) + MUSH(9, 7) + MUSH(10, 9) + MUSH(11, 13) } for (i = 0; i < 8; ++i) out[i] ^= t[i + 4];