Commit Graph

78 Commits

Author SHA1 Message Date
Jeffrey Walton
9ff731824b
Prepare for POWER8 carryless multiplies using vpmsum 2018-08-06 05:40:38 -04:00
Jeffrey Walton
d11a7b3436
Add ARMv8 CPU feature queries (GH #685)
CPU feature probes are still outstanding. They are going to be trickier because if CRYPTOPP_XXX_FEATURE_AVAILABLE
2018-07-14 08:20:16 -04:00
Jeffrey Walton
517d552a91
Add ARMv7 cpu detection 2018-07-08 02:49:21 -04:00
Jeffrey Walton
0ccdc197b7
Add AVX and AVX2 runtime feature detection (GH #671)
There are no corresponding defines in config.h at the moment. Programs will have to use the preprocessor macros __AVX__ and __AVX2__ to determine when they are available.
2018-06-18 18:33:17 -04:00
alanbirtles
a4acbb38da
Workaround for #636
Temporarily switch to AT&T syntax in ASJ for clang 5.0.0+ and apple clang 9.0.0+ to workaround https://bugs.llvm.org/show_bug.cgi?id=36144
2018-04-12 14:59:15 +01:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
8734cfaa07
Add sse-simd.cpp to nmake file and vcxproj filters 2017-11-16 15:29:24 -05:00
Jeffrey Walton
241ff3065e
Update documentation 2017-11-16 13:36:43 -05:00
Jeffrey Walton
8b52a03d08
Fix SunCC 12.2 compiler crash with GCM_Xor16_SSE2
SunCC 12.3 through 12.5 still cannot handle CLMUL, though. It would be nice if Sun fixed the regression.
2017-11-16 02:38:53 -05:00
Jeffrey Walton
b40ca97550
Update documentation 2017-11-12 16:35:44 -05:00
Jeffrey Walton
7ba8c6bc81
Cleanup Altivec and Power7 code paths
This changes the dependency from Altivec to Power7. Internally we needed Power7 but it was cut-in as a pseudo Altivec dependency. Also see http://groups.google.com/forum/#!topic/cryptopp-users/fmEKOG41SG8
2017-10-17 22:50:45 -04:00
Jeffrey Walton
3bd01f73ba
Add Power8 SHA256 and SHA512 support (GH #513) 2017-09-22 08:58:50 -04:00
Jeffrey Walton
e2072ae635
Update documentation 2017-09-11 03:43:37 -04:00
Jeffrey Walton
fb78afba29
Add PowerPC support to cpu.h and validate.cpp 2017-09-11 03:05:04 -04:00
Jeffrey Walton
b2693c4327
Fix IS_ARMV8 in GNUmakefile
Fix guard for HasPMULL()
2017-08-30 10:00:46 -04:00
Jeffrey Walton
7851a0d510 Remove BOOL macro value (GH #462)
Currently the CRYPTOPP_BOOL_XXX macros set the macro value to 0 or 1. If we remove setting the 0 value (the #else part of the expression), then the self tests speed up by about 0.3 seconds. I can't explain it, but I have observed it repeatedly.
This check-in prepares for the removal in Upstream master
2017-08-20 21:25:29 -04:00
Jeffrey Walton
ae84826d4b
Update documentation 2017-08-17 16:24:54 -04:00
Jeffrey Walton
803c1a78e7
Update documentation 2017-08-17 14:24:51 -04:00
Jeffrey Walton
e2c377effd Split source files to support Base Implementation + SIMD implementation (GH #461)
Split source files to support Base Implementation + SIMD implementation
2017-08-17 12:33:43 -04:00
Jeffrey Walton
7779fa3e7a
Fix NEON detection on Aarch32 and Aarch64
I wish GCC would get its head out of its ass and define the apprpriate defines. NEON/ASIMD cannot be disgorged from Aarch32/Aarch64 just like SSE2 cannot be disgorged from x86_64. They are core instruction sets
2017-08-17 02:15:42 -04:00
Jeffrey Walton
bc0f943c6b
Add defines for GCC_INLINE and GCC_INLINE_ATTRIB (Issues 427 and 428) 2017-05-20 17:59:21 -04:00
Jeffrey Walton
12b5074c72
Fix SunCC and "_mm_set_epi8 must have prototype" 2017-04-22 00:17:45 -04:00
Jeffrey Walton
2ea91ba1b9
Fix ARM compile under VS2013 2017-03-20 15:11:27 -04:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
14f5305c92
VEXT_8 -> VEXT_U8 2017-01-22 20:53:19 -05:00
Jeffrey Walton
3584c4025a
Begin fix of cpu.h under Apple and LLVM Clang (Issue 362) 2017-01-13 06:47:53 -05:00
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