39 Commits

Author SHA1 Message Date
Jeffrey Walton
32375fe322 Fixed comments in macro magic 2016-09-12 19:17:18 -04:00
Jeffrey Walton
abd14a4b0a Improved comments in macro magic 2016-09-12 19:05:09 -04:00
Jeffrey Walton
4f7fb2067d Cleaned up use of assembler mnemonics 2016-09-12 17:47:12 -04:00
Jeffrey Walton
d83a7e08a9 Re-enable AES-NI/CLMUL when using Clang Integrated Assembler (part of Issue 226) 2016-09-11 23:22:02 -04:00
Jeffrey Walton
737f5b0b72 Disable CLMUL for SunCC 5.13 and below (Issue 226) 2016-09-11 22:52:26 -04:00
Jeffrey Walton
954c3bb82b Enable AES-NI intrinsics for Clang. Add ARM NEON and PMULL implementation 2016-08-24 12:28:54 -04:00
Jeffrey Walton
0b8cea5c51 Add guard for SunCC 2016-07-25 08:03:56 -04:00
Jeffrey Walton
aae1f27dee Fix SunCC crash and failed compile for gcm.cpp. This is the hammer - we don't enable any ASM for the source file (Issue 227) 2016-07-15 15:46:31 -04:00
Jeffrey Walton
bdd1c12fab Fix SunCC 12.x compile error with -std=c++11 (Issue 226) 2016-07-15 04:57:00 -04:00
Jeffrey Walton
6c78aaa7e3 Cleared "assertion failed in function pr_post_process_node() @ preopt.c" under Sun Studio 12.5 (Issue 220) 2016-07-09 06:24:11 -04:00
Jeffrey Walton
6c0b120072 Go back to Commit 66ada4cc61d62afc 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 762c315566bce681e380641d1894251f984eac10, reversing
changes made to b48866631a5587e9348245fedd6f1e0871df35db.
2016-07-06 12:01:28 -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
b1df5736a7 Merge 'solaris' dev branch into 'master' 2016-06-15 05:02:28 -04:00
Jeffrey Walton
c1f025343a Add C++11 alignas support. Deleting 'alignas' branch 2016-06-14 19:14:09 -04:00
Jeffrey Walton
de9cebb50f Cleared -Wcast-align (Issue 122) 2016-01-27 18:36:53 -05:00
Jeffrey Walton
9e92f79932 Cleared -Wcast-align (Issue 122) 2016-01-25 10:47:48 -05:00
Jeffrey Walton
cdcff65a35 Cleared -Wcast-align (Issue 122) 2016-01-25 00:12:37 -05:00
Jeffrey Walton
0e3ee98ff6 Fixed Clang 3.4 compiler error on Linux 2015-12-25 08:00:05 -05:00
Jeffrey Walton
885b94707c Fixed Clang 3.3 integrated assembler crash on Linux 2015-12-25 03:37:14 -05:00
Jeffrey Walton
c08cac0cd1 Fixed failed compile on OS X using "-arch i386" due to Clang defining __ILP32__ for everything that is 32-bit. MSVC, GCC, ICC and Comeau were OK 2015-12-02 15:54:35 -05:00
Jeffrey Walton
b3e49d8c96 Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class 2015-11-19 13:09:33 -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
3fd7a239f0 Backed out Clang integrated assembler changes. LLVM Bug 24232 pushed us over the edge. There is some skeleton code remaining for testing. To activate it, perform "make FORCE_ASM=1" 2015-07-23 16:47:03 -04:00
Jeffrey Walton
fcd5f6df72 Cleared "invalid operand size" under Clang's integrated assembler. After more testing, this might be applied to other assemblers because Clang is probably correct in this instance 2015-07-22 06:14:37 -04:00
Jeffrey Walton
3c56063c3f Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX 2015-07-21 18:05:48 -04:00
Jeffrey Walton
444d1f1a3b Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) 2015-07-21 14:37:55 -04:00
Jeffrey Walton
2fa682e699 Cleared GCC/Clang waning on unknown pragma 2015-06-08 03:49:39 -04:00
weidai
a3f2091bcd fix compile on GCC 4.4 and greater 2010-07-29 08:51:39 +00:00
weidai
0403d122e1 fix compile on Sun CC
fix compile for non-x86 CPUs
2010-07-28 23:45:28 +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
5a9739c922 add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
weidai
13c3aa2f4e fix compile on MSVC 6 and MSVC 2003 2009-03-15 03:53:58 +00:00
weidai
35820c22c2 speed up GCM key setup 2009-03-13 11:33:45 +00:00
weidai
8ebe2744f2 fix Sun Studio compile 2009-03-13 07:32:58 +00:00
weidai
2779fc6050 - add EAX mode, XSalsa20
- speed up GCM key setup
- wipe stack in AES assembly code
- speed up CFB mode
2009-03-12 11:24:12 +00:00
weidai
8565900724 tweaks/fixes for 5.6 2009-03-03 03:28:39 +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