Commit Graph

30 Commits

Author SHA1 Message Date
Jeffrey Walton
ddb8f36e88
Fix use of <x86intrin.h> for MSVC (GH #1198)
It seems Microsoft now defines GCC defines, like __BMI__
2023-04-15 18:21:03 -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
e007e98501
Update comments 2020-04-11 08:36:02 -04:00
Jeffrey Walton
6f21803445
Update file header comments 2020-04-11 05:57:26 -04:00
Jeffrey Walton
fa23a5ba16
Presplat SIMON and SPECK keys on Intel machines 2020-04-10 23:54:31 -04:00
Jeffrey Walton
be0dea49be
Add VecSplatElement64 for PowerPC 2020-04-08 22:19:50 -04:00
Jeffrey Walton
38df1c0024
Use VecSplatWord instaed of VecSplats 2020-04-08 21:43:28 -04:00
Jeffrey Walton
8d1760a8f9
Use vec_splat instead of load and permute 2020-04-08 21:22:34 -04:00
Jeffrey Walton
1bf683dd46
Update comments in ppc_simd.h 2020-04-08 18:47:44 -04:00
Jeffrey Walton
90491aab6d
Fis MSVC compile due to lack of ssize_t 2020-04-08 17:35:46 -04:00
Jeffrey Walton
b669775211
Add 32-bit Altivec implementation of Simon128 2020-04-08 10:09:04 -04:00
Jeffrey Walton
57ba87bdc9
Add 64-bit overload for VecLoadAligned 2020-04-05 09:51:34 -04:00
Jeffrey Walton
c831d6ffee
Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910)
SIMON and SPECK keys can be pre-splatted in the forward direction when Altivec instructions will be used. Pre-splatting does not work for the reverse transformation. It breaks modes like CBC, so the speed-up is only applied to the forward transformation.
2019-10-28 01:12:58 -04:00
Jeffrey Walton
6da6b7f5ac
Enable Power7 for Simon and Speck (PR #909) 2019-10-27 14:02:41 -04:00
Jeffrey Walton
77d6eab86b
Fix MS ARM64 compile 2019-10-16 21:39:21 -04:00
Jeffrey Walton
60eedb97ba
Fix ARM headers and Android compile (PR #896)
* Test fix ARM headers
This problem has been festering for some time. The header file includes are slightly different than the ISA options. Some platforms need an include, others don't.

* Fix cryptest-android.sh and cryptest-ios.sh

* Fix MSVC ARM32 and ARM64 compile

* Split ARM32 and ARM64 recipes in GNUmakefile
2019-10-16 21:00:45 -04:00
Jeffrey Walton
a7f2796dda
Update comments 2019-07-21 22:21:10 -04:00
Jeffrey Walton
eeb7dadc76
Fix missing _mm_roti_epi32 and _mm_roti_epi64 under GCC (GH #859) 2019-07-02 19:10:11 -04:00
Jeffrey Walton
fbbf0a08e8
Add missing XOP header for blake2b_simd.cpp (GH #859)
The Gentoo folks caught a bug at https://bugs.gentoo.org/689162. The 689162 bug uses -march=bdver1 -msse4.1 on a AMD Bulldozer machine.

Investigating the issue we are missing the XOP header blake2b_simd.cpp. However, adding the XOP header is not enough for this particular config. Four source files fail to compile with the expected headers. We are waiting on the GCC folks to get back to us with a fix.
2019-07-02 16:55:00 -04:00
Jeffrey Walton
fd2fd0c199
Remove unneeded permutes
Loading byte arrays does not suffer the endian swaps.
2019-04-27 23:09:30 -04:00
Jeffrey Walton
39418a8512
Use PowerPC unaligned loads and stores with Power8 (GH #825, PR #826)
Use PowerPC unaligned loads and stores with Power8. Formerly we were using Power7 as the floor because the IBM POWER Architecture manuals said unaligned loads and stores were available. However, some compilers generate bad code for unaligned loads and stores using `-march=power7`, so bump to a known good.
2019-04-27 20:35:01 -04:00
Jeffrey Walton
df4fc3faee
Cleanup headers after Microsoft ARM64 port 2019-01-04 11:43:38 -05:00
Jeffrey Walton
822ca11579
Cleanup headers after Microsoft ARM64 port 2019-01-04 11:33:28 -05:00
Jeffrey Walton
02f7fda54b
Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776) 2019-01-04 11:25:55 -05:00
Jeffrey Walton
a20c56ea49
Fix SIMON128 and SPECK128 NEON compile with MSVC compiler (GH #776) 2019-01-03 20:06:39 -05:00
Jeffrey Walton
58772f3491
Fix SIMON build when SSSE3 not available 2018-12-29 00:48:12 -05:00
Jeffrey Walton
0d44176fd1
Cleanup debug information from SIMON source files 2018-11-21 13:05:59 -05:00
Jeffrey Walton
f6e04e5f33
Rename PPC vector functions from VectorFunc to VecFunc 2018-11-15 15:17:49 -05:00
Jeffrey Walton
27b61d8752
Add CRYPTOPP_INLINE to SIMON and SPECk for debugging 2018-11-13 00:02:34 -05:00
Jeffrey Walton
896225069d
Rename files with dashes to underscores (GH #736)
Also see https://groups.google.com/forum/#!topic/cryptopp-users/HBz-6gZZFOA on the mailing list
2018-11-10 08:00:14 -05:00