summaryrefslogtreecommitdiff
path: root/donna_sse.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-14 13:44:10 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-14 13:44:10 -0500
commit52267616625ad82bad95b4d2fb12dd5917abdb80 (patch)
treeada44e43968b01c2e7ab3efcc84e1a4a2137b4e9 /donna_sse.cpp
parent1b49bdc420a1354738f20bcbf609087390653703 (diff)
downloadcryptopp-git-52267616625ad82bad95b4d2fb12dd5917abdb80.tar.gz
Whitespace check-in
Diffstat (limited to 'donna_sse.cpp')
-rw-r--r--donna_sse.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/donna_sse.cpp b/donna_sse.cpp
index 3ab13076..46dfd393 100644
--- a/donna_sse.cpp
+++ b/donna_sse.cpp
@@ -128,16 +128,16 @@ curve25519_expand(bignum25519 out, const byte in[32]) {
x6 = *(word32 *)(in + 24);
x7 = *(word32 *)(in + 28);
- out[0] = ( x0 ) & reduce_mask_26;
+ out[0] = ( x0 ) & reduce_mask_26;
out[1] = ((((word64)x1 << 32) | x0) >> 26) & reduce_mask_25;
out[2] = ((((word64)x2 << 32) | x1) >> 19) & reduce_mask_26;
out[3] = ((((word64)x3 << 32) | x2) >> 13) & reduce_mask_25;
- out[4] = (( x3) >> 6) & reduce_mask_26;
- out[5] = ( x4 ) & reduce_mask_25;
+ out[4] = (( x3) >> 6) & reduce_mask_26;
+ out[5] = ( x4 ) & reduce_mask_25;
out[6] = ((((word64)x5 << 32) | x4) >> 25) & reduce_mask_26;
out[7] = ((((word64)x6 << 32) | x5) >> 19) & reduce_mask_25;
out[8] = ((((word64)x7 << 32) | x6) >> 12) & reduce_mask_26;
- out[9] = (( x7) >> 6) & reduce_mask_25; /* ignore the top bit */
+ out[9] = (( x7) >> 6) & reduce_mask_25; /* ignore the top bit */
out[10] = 0;
out[11] = 0;