aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-10-15 15:09:03 +0000
committerlloyd <[email protected]>2007-10-15 15:09:03 +0000
commitd01947a8935ef34ee365958f5f91256fe72c3ff3 (patch)
treef591abd64dfc749e31a7e2768a8b48feff7b06d4 /src
parent4c10f9f00641d5826b388535bb76fc6ca6e48701 (diff)
Make some formatting between the encryption and decryption code equivalent.
Diffstat (limited to 'src')
-rw-r--r--src/twofish.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/twofish.cpp b/src/twofish.cpp
index 25359f635..f25891ebf 100644
--- a/src/twofish.cpp
+++ b/src/twofish.cpp
@@ -90,7 +90,10 @@ void Twofish::dec(const byte in[], byte out[]) const
B = rotate_right(B ^ Y, 1);
}
- C ^= round_key[0]; D ^= round_key[1]; A ^= round_key[2]; B ^= round_key[3];
+ C ^= round_key[0];
+ D ^= round_key[1];
+ A ^= round_key[2];
+ B ^= round_key[3];
store_le(out, C, D, A, B);
}