Commit Graph

102 Commits

Author SHA1 Message Date
Jeffrey Walton
d3bb0e13de
Add ARM SHA extensions for SHA1
Benchmarking on ARMv8/Aarch64 dev-board shows SHA-1 speeds up by 2.5x
2017-01-13 05:44:19 -05:00
klemens
5a5c633073 spelling fixes 2016-12-27 18:34:57 +01:00
Jeffrey Walton
6eb2792bc2
Silence select conversion warnings (Issue 340) 2016-12-02 14:47:31 -05:00
Jeffrey Walton
7ab9b00f90
Add Intel SHA1 extension support 2016-12-01 00:49:59 -05:00
Jeffrey Walton
ac01277d93
Add X86 SHA cpu feature detection 2016-10-26 22:35:24 -04:00
Jeffrey Walton
83d0332766
Removed extraneous '#include <emmintrin.h>' 2016-10-26 21:08:06 -04:00
Jeffrey Walton
49d7187255 Cleanup feature defines in <config.h>. Cleanup intrinsic includes in <cpu.h> 2016-09-20 00:35:27 -04:00
Jeffrey Walton
0e9da81311 Fix compile under CentOS 5 with GCC 4.1 2016-09-19 23:00:33 -04:00
Jeffrey Walton
03785199fd Add guard for X86/X64/X32 headers 2016-09-18 22:24:10 -04:00
Jeffrey Walton
fb6a11ff08 Remove library supplied aesenc, aesdec and friends (Issue 206) 2016-09-18 21:06:41 -04:00
Jeffrey Walton
90f9d1a9db Fix compile error on Pine64 dev-board under Aarch64 with GCC 4.9 2016-08-03 19:34:22 -04:00
Jeffrey Walton
3f6d499c19 Fix missing arm_acle.h under GCC 4.8. Rearrange some defines to better account for ARM and MIPS 2016-08-01 13:41:42 -04:00
Jeffrey Walton
57337a5479 Fix missing defines under Windows 2016-07-24 21:30:03 -04:00
Jeffrey Walton
f0f0408c89 Add polynomial multiply instruction detection 2016-07-24 09:48:28 -04:00
Jeffrey Walton
0c801ce822 Fix broken compile with GCC 4.9 and 4.9 in Debug configuration with -std=c++11 2016-07-22 03:25:25 -04:00
Jeffrey Walton
77b36f5a0a Add AVX and AVX2 for Sun Studio 2016-07-13 02:13:18 -04:00
Jeffrey Walton
6c0b120072 Go back to Commit 66ada4cc61 2016-07-06 14:39:18 -04:00
Mouse
87be783cd1 Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be merged by me
This reverts commit 762c315566, reversing
changes made to b48866631a.
2016-07-06 12:01:28 -04:00
Jeffrey Walton
66ada4cc61 Updated documentation 2016-07-05 11:49:13 -04:00
Jeffrey Walton
fb72dbc8cb Add MacPorts GCC compiler and Clang integrated assembler support. This is a merge of the development branch 'clang-ia' 2016-07-05 02:48:27 -04:00
Jeffrey Walton
1a58e2205c Revert "Fix "expected ')' before __builtin_ia32_pclmulqdq128" under GCC 4.8/4.9 with -std=c++11 (Issue 206)"
This reverts commit 6c88c3bf65. It broke GCC 4.8 and 4.9.
2016-06-28 09:35:48 -04:00
Jeffrey Walton
6c88c3bf65 Fix "expected ')' before __builtin_ia32_pclmulqdq128" under GCC 4.8/4.9 with -std=c++11 (Issue 206) 2016-06-27 08:12:40 -04:00
Jeffrey Walton
58ef92d0e3 Fix "SSE instruction set not enabled" (Issue 196) 2016-06-20 11:31:15 -04:00
Jeffrey Walton
2bae175257 Fix " error: expected unqualified-id before ‘int’" when using GCC 5.3/i686 with -std=c++11 or -std=c++14 2016-06-19 11:22:06 -04:00
Jeffrey Walton
6b1a9d5ca8 Fix compiler include detection under LLVM and Apple Clanm (Issue 182) 2016-06-12 08:09:46 -04:00
Jeffrey Walton
c3d61ef78a Fix AMD RDRAND detection. Add VIA Padlock extension detection 2016-05-19 08:32:51 -04:00
Jeffrey Walton
2a163e0b14 Add test for AES, SHA1 and SHA2 from ARM Crypto extension from arm-neon branch 2016-05-19 04:45:35 -04:00
Jeffrey Walton
392c55d573 Add runtime detection code for ARM NEON, CRC32 and Crypto extensions 2016-05-16 18:47:43 -04:00
Jeffrey Walton
480532931b Improve Apple iOS support for ARM and NEON. Add ARM Crypto detection 2016-05-15 08:24:51 -04:00
Jeffrey Walton
01f77765d4 Add basic ARM and Windows Store support 2016-05-15 02:30:08 -04:00
Jeffrey Walton
a11c9e7574 Add SSE4.1 and SSE4.2 feature detection 2016-04-15 16:23:04 -04:00
Jeffrey Walton
0e3ee98ff6 Fixed Clang 3.4 compiler error on Linux 2015-12-25 08:00:05 -05:00
Jeffrey Walton
6ac1e46a1f Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton
5daa168a93 Cleaned up CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER and WORKAROUND_LLVM_BUG_18916 defines 2015-07-23 03:29:21 -04:00
Jeffrey Walton
6d0dd41eb0 Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain 2015-07-22 03:48:10 -04:00
Jeffrey Walton
5e8b114e58 Added macro to abstract differences in sytax string parsing between GAS and Clang integrated assembler. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) 2015-07-21 13:48:48 -04:00
Jeffrey Walton
a56f07709e g_hasISSE -> h_hasSSE. That's how old this function is... 2015-07-19 13:39:57 -04:00
Jeffrey Walton
11eb9957d4 HasISSE -> HasSSE. That's how old this function is... 2015-07-19 13:33:41 -04:00
Jeffrey Walton
f03ab5cbd1 Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
weidai
d43f0c7321 fix compile with Intel C++ Compiler 11.1 2010-08-04 23:42:11 +00:00
weidai
a3f2091bcd fix compile on GCC 4.4 and greater 2010-07-29 08:51:39 +00:00
weidai
7adbf89681 add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM 2010-07-24 05:55:22 +00:00
weidai
46832de97a add AESNI and CLMUL detection 2010-07-07 22:46:18 +00:00
weidai
d8a644fc4e changes for 5.6:
- added AuthenticatedSymmetricCipher interface class and Filter wrappers
    - added CCM, GCM (with SSE2 assembly), CMAC, and SEED
    - improved AES speed on x86 and x64
    - removed WORD64_AVAILABLE; compiler 64-bit int support is now required
2009-03-02 02:39:17 +00:00
weidai
18366293b2 fix missing CRYPTOPP_API 2007-09-25 07:25:47 +00:00
weidai
4c18c1720d fix compile with GAS 2.15 2007-09-24 01:19:38 +00:00
weidai
23accd43c5 - port x64 assembly code to MASM
- improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly
2007-09-24 00:43:57 +00:00
weidai
ae88c18bf7 fixed Whirlpool crash on Pentium 2 machines 2007-08-13 23:53:09 +00:00
weidai
d2510f30c7 fix compile for x64, DLL and VC 6 2007-05-04 15:24:09 +00:00
weidai
3a3fef7436 fix compile on Sun CC 2007-04-16 05:40:37 +00:00
weidai
ab6b054cf4 CPU feature detection and assembly helpers 2007-04-16 00:45:50 +00:00