aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2022-11-10 23:10:11 +0000
committerdrh <>2022-11-10 23:10:11 +0000
commita6303704a3a4ff9604f2ff19c9f99bf85df94f1a (patch)
tree1fa20e8bc4433431f302c81a57ca75e2056ad104 /src
parent2c4d62f013fb923118c13af6b7f038e3c3de0516 (diff)
downloadsqlite-a6303704a3a4ff9604f2ff19c9f99bf85df94f1a.tar.gz
sqlite-a6303704a3a4ff9604f2ff19c9f99bf85df94f1a.zip
Remove unnecessary tabs in the ChaCha20 implementation.
[forum:/forumpost/0cdce5db8c|Forum post 0cdce5db8c]. FossilOrigin-Name: b7179efbdb2bdc878acec0abfe272821f7e0d7d9e5ef06cd7fd796ef295e54ab
Diffstat (limited to 'src')
-rw-r--r--src/random.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/random.c b/src/random.c
index 9335fc49d..ea8431ba9 100644
--- a/src/random.c
+++ b/src/random.c
@@ -31,10 +31,10 @@ static SQLITE_WSD struct sqlite3PrngType {
/* The RFC-7539 ChaCha20 block function
*/
#define ROTL(a,b) (((a) << (b)) | ((a) >> (32 - (b))))
-#define QR(a, b, c, d) ( \
- a += b, d ^= a, d = ROTL(d,16), \
- c += d, b ^= c, b = ROTL(b,12), \
- a += b, d ^= a, d = ROTL(d, 8), \
+#define QR(a, b, c, d) ( \
+ a += b, d ^= a, d = ROTL(d,16), \
+ c += d, b ^= c, b = ROTL(b,12), \
+ a += b, d ^= a, d = ROTL(d, 8), \
c += d, b ^= c, b = ROTL(b, 7))
static void chacha_block(u32 *out, const u32 *in){
int i;