summaryrefslogtreecommitdiff
path: root/lsh256.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-20 09:30:26 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-20 09:30:26 -0400
commit551c428166296c7bdd395173b2f7dce506624d35 (patch)
tree3b86d27ec0436474c5079157be31fe90a85f94a7 /lsh256.cpp
parenta9df0237eaa0af84fec460b4aad6420ea9f0ba32 (diff)
downloadcryptopp-git-551c428166296c7bdd395173b2f7dce506624d35.tar.gz
Whitespace check-in
Diffstat (limited to 'lsh256.cpp')
-rw-r--r--lsh256.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lsh256.cpp b/lsh256.cpp
index 6bb574ba..9351e935 100644
--- a/lsh256.cpp
+++ b/lsh256.cpp
@@ -315,9 +315,6 @@ inline void msg_exp_even(LSH256_Internal* i_state)
lsh_u32* submsg_o_l = i_state->submsg_o_l;
lsh_u32* submsg_o_r = i_state->submsg_o_r;
- //submsg_e_l[0] = ADD(submsg_o_l[0], SHUFFLE8(submsg_e_l[0], perm_step));
- //submsg_e_r[0] = ADD(submsg_o_r[0], SHUFFLE8(submsg_e_r[0], perm_step));
- //0x0f0e0d0c, 0x0b0a0908, 0x03020100, 0x07060504, 0x1f1e1d1c, 0x13121110, 0x17161514, 0x1b1a1918
#if defined(CRYPTOPP_LSH256_AVX2_AVAILABLE)
__m256i mask = _mm256_set_epi32(0x1b1a1918, 0x17161514, 0x13121110,
0x1f1e1d1c, 0x07060504, 0x03020100, 0x0b0a0908, 0x0f0e0d0c);
@@ -388,9 +385,6 @@ inline void msg_exp_odd(LSH256_Internal* i_state)
lsh_u32* submsg_o_l = i_state->submsg_o_l;
lsh_u32* submsg_o_r = i_state->submsg_o_r;
- //submsg_o_l[0] = ADD(submsg_e_l[0], SHUFFLE8(submsg_o_l[0], perm_step));
- //submsg_o_r[0] = ADD(submsg_e_r[0], SHUFFLE8(submsg_o_r[0], perm_step));
- //0x0f0e0d0c, 0x0b0a0908, 0x03020100, 0x07060504, 0x1f1e1d1c, 0x13121110, 0x17161514, 0x1b1a1918
#if defined(CRYPTOPP_LSH256_AVX2_AVAILABLE)
__m256i mask = _mm256_set_epi32(0x1b1a1918, 0x17161514, 0x13121110,
0x1f1e1d1c, 0x07060504, 0x03020100, 0x0b0a0908, 0x0f0e0d0c);