Commit Graph

38 Commits

Author SHA1 Message Date
Jeffrey Walton
493ccd0e3b
Clear Clang warnings on Android 2021-04-26 05:54:22 -04:00
Jeffrey Walton
d57357d944
Clear Clang warnings on Android 2021-04-26 05:41:58 -04:00
Jeffrey Walton
a0e21c77ae
Add LSH dynamic dispatch (PR #1032)
This commit adds dynamic dispatch to LSH. The implementation pivots on AVX2 and SSSE3.
2021-04-26 04:50:48 -04:00
Jeffrey Walton
d17f037ed0
Remove unneeded asserts 2021-04-23 14:10:27 -04:00
Jeffrey Walton
dd57c4c7f7
Cut-in LSH512 AVX2 rotate_msg_gamma 2021-04-23 09:46:11 -04:00
Jeffrey Walton
3123bf4a55
Enable AVX2 for word_perm 2021-04-22 13:27:06 -04:00
Jeffrey Walton
643348f759
Update LSH 2021-04-22 13:07:54 -04:00
Jeffrey Walton
400009fbd9
Fix LSH256 compile when AVX is present without AVX2 2021-04-21 09:04:30 -04:00
Jeffrey Walton
11e3435d03
Fix non-Intel compiles 2021-04-21 07:48:34 -04:00
Jeffrey Walton
47e1535607
Fix typo 2021-04-21 06:40:22 -04:00
Jeffrey Walton
29cfba8463
Fix compile on Apple with -march=native when AVX2 is available 2021-04-21 06:35:27 -04:00
Jeffrey Walton
08a34cc8aa
Add zero_iv for LSH 2021-04-21 04:07:24 -04:00
Jeffrey Walton
42097e2798
Align LSH IV's for AVX 2021-04-21 03:24:15 -04:00
Jeffrey Walton
75e0b4979b
Update comments 2021-04-21 01:52:24 -04:00
Jeffrey Walton
b49d7c8baf
Tighten use of AVX_Cleanup 2021-04-21 01:44:24 -04:00
Jeffrey Walton
551c428166
Whitespace check-in 2021-04-20 09:30:26 -04:00
Jeffrey Walton
d1cea852f0
Make XOP its own define in LSH 2021-04-20 08:31:52 -04:00
Jeffrey Walton
fee14910ea
Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -04:00
Jeffrey Walton
dd2da99079
Clear Clang warning 2021-04-20 00:20:16 -04:00
Jeffrey Walton
dd97f0686b
Fix LSH compile on 32-bit machines 2021-04-19 15:45:32 -04:00
Jeffrey Walton
c7c1f26676
Move GCC target attribute into config_misc.h 2021-04-19 13:58:29 -04:00
Jeffrey Walton
eedd0ac934
Update comments 2021-04-19 09:14:11 -04:00
Jeffrey Walton
f1049c78bc
Fix LLVM Clang compile 2021-04-19 08:54:33 -04:00
Jeffrey Walton
07da15a8bb
Fix Apple Clang compile 2021-04-19 06:47:41 -04:00
Jeffrey Walton
4f2a7b4749
Update comments 2021-04-19 06:22:33 -04:00
Jeffrey Walton
f221231472
Add SSSE3 and AVX support to LSH (GH #1025) 2021-04-19 06:14:05 -04:00
Jeffrey Walton
381e039354
Use CRYPTOPP_LSH256_SSE2_AVAILABLE and CRYPTOPP_LSH512_SSE2_AVAILABLE defines 2021-04-18 05:26:23 -04:00
Jeffrey Walton
4b4e89ac21
Fix unaligned buffer loads 2021-04-17 08:54:32 -04:00
Jeffrey Walton
54ec7e588b
Use SSE2 for 64-bit machines only 2021-04-17 04:53:33 -04:00
Jeffrey Walton
7d6a259140
Update LSH-512
Fix a couple of typos
2021-04-16 23:09:08 -04:00
Jeffrey Walton
6f57b27d83
Remove unneeded using statements 2021-04-16 19:11:50 -04:00
Jeffrey Walton
57c5458d42
Whitespace check-in 2021-04-16 07:02:34 -04:00
Jeffrey Walton
f2eab729bb
Use CV_WORD_LEN for LSH IVs 2021-04-16 06:59:12 -04:00
Jeffrey Walton
eb91b05f60
Use SSE2 code paths on Windows machines (GH #1025) 2021-04-16 06:57:12 -04:00
Jeffrey Walton
43de471a6a
Clear MSVC warnings (GH #1025) 2021-04-16 06:32:10 -04:00
Jeffrey Walton
995d287500
Clear Clang warnings (GH #1025) 2021-04-16 06:03:10 -04:00
Jeffrey Walton
78e37de843
Whitespace check-in 2021-04-16 05:51:53 -04:00
Jeffrey Walton
11eee26d76
Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026)
Add South Korea's LSH-256 and LSH-512 families of hash functions.
2021-04-16 03:23:15 -04:00