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
ade3b319a9
Assign t and v together in Sosemanuk (Issue 449)
...
This saved about 0.1 cpb, and increased throughput to 1536 MiB/s
2017-07-28 01:34:53 -04:00
Jeffrey Walton
ed4c345ce8
Clear Clang -Wsequence-point warning (Issue 449)
2017-07-28 00:33:45 -04:00
Jeffrey Walton
d0cd32f405
Make SecBlock<T,A> data members protected
...
Also see http://github.com/weidai11/cryptopp/issues/448
2017-07-27 20:28:23 -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
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -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
7e6c9438da
Companion checkin to 572506de3d
. Salsa and Sosemanuk can no longer reach into a SecBlock for and touch its private members
2015-08-03 19:06:18 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a
Added "trap.h" include for header and source files that assert
2015-07-26 15:51:16 -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
f03ab5cbd1
Removed execute bit from C++ header and source files
2015-06-24 14:15:29 -04:00
Jeffrey Walton
24a68684e8
Cleared unknown pragma warning with -Wall
2015-06-08 02:26:00 -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
cbcd1c7185
remove -msse2 since we don't use SSE2 intrinsics anymore
2007-09-24 04:16:29 +00:00
weidai
9ee3a25d0d
remove -msse2 since we don't use SSE2 intrinsics anymore
2007-09-24 03:52:17 +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
d2510f30c7
fix compile for x64, DLL and VC 6
2007-05-04 15:24:09 +00:00
weidai
adb4cc1700
add Sosemanuk
2007-04-15 22:52:19 +00:00