Jeffrey Walton
a074722bfa
Switch to rotlConstant and rotrConstant
...
This will help Clang and its need for a constexpr
2017-11-25 02:52:19 -05: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
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
Anton Gorev
1df5fc1e21
Revert "Some fixes related to SunCC compiler bugs."
...
This reverts commit 72d8cbe917
.
2017-04-27 13:50:47 -05:00
Anton Gorev
72d8cbe917
Some fixes related to SunCC compiler bugs.
...
Fixes for "invalid address alignment" errors. See https://groups.google.com/d/topic/cryptopp-users/OYaByDEbSI0/discussion for details.
Changed config.h in accordance to Jeffrey Walton's request;
2017-04-21 15:26:16 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342)
2016-12-03 05:05:56 -05:00
Jeffrey Walton
54d17c7361
Updated CRYPTOPP_ASSERT based on comments
...
Also see 399a1546de (commitcomment-19448453)
2016-10-17 22:00:31 -04:00
Jeffrey Walton
91ca6c117d
Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
2016-09-16 14:51:48 -04:00
Jeffrey Walton
894874fe75
Whitespace checkin
2016-09-10 04:57:48 -04: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
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
11eb9957d4
HasISSE -> HasSSE. That's how old this function is...
2015-07-19 13:33:41 -04:00
weidai
3202bf2809
fix compile on OpenSolaris 8.11
2009-03-13 11:15:21 +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
a145a37068
do not align to 16 when not needed
2007-10-26 09:50:49 +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
643b302227
MMX/SSE2 optimizations
2007-04-15 23:00:27 +00:00
weidai
fd0683ba19
Updated to Whirlpool version 3.0
2006-12-09 17:08:13 +00:00
weidai
1db8ea5084
port to MSVC .NET 2005 beta 2
2005-07-12 04:23:32 +00:00
weidai
0ad5a52c9a
use memset instead of assignment to clear memory
2003-09-05 20:29:39 +00:00
weidai
f278895908
create DLL version, fix GetNextIV() bug in CTR and OFB modes
2003-07-04 00:17:37 +00:00
weidai
1a1fca3f87
work around GCC 3.2 code generation bug
2003-05-18 00:38:56 +00:00
weidai
15ff200298
add new algorithms (Kevin Springle)
2003-04-16 00:48:47 +00:00