Commit Graph

49 Commits (ba596654af6a06f26c4c51a80bc3d2ce642f309b)

Author SHA1 Message Date
Jeffrey Walton 22f493dda9 Fix the Rijndael timing attack counter measure (Issue 146) 2016-04-12 14:43:39 -04:00
Jeffrey Walton 50e5c14c18 Improve constant propagation of fix for Issue 146 2016-04-07 19:20:33 -04:00
Jeffrey Walton ab393851ec Revert "Improve performance of fix to Issue 146"
This reverts commit 5cce8c33ca. It was an incomplete remediation because it was applied to one area of the code, and not both areas of the code. The complete remediation will be checked-in next.
2016-04-07 19:14:11 -04:00
Jeffrey Walton 5cce8c33ca Improve performance of fix to Issue 146 2016-04-07 19:05:30 -04:00
Pierre Lestringant 9f335d719e Fix the Rijndael timing attack counter measure 2016-04-06 15:51:17 +02:00
Jeffrey Walton 823bc93357 Add call for _malloca/_freea. They are SDLC compliance items on Windows platform 2016-02-09 16:37:19 -05:00
Jeffrey Walton b773052b3d Temporary fix for Issue 42 and 132 2016-02-07 04:52:59 -05:00
Jeffrey Walton c8de423ab5 Fix missing CryptoPP::rdtable::Te symbol for Microsoft SSE2 non-AESNI X64 platforms when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS defined 2016-02-06 22:19:53 -05:00
Jeffrey Walton 58ed2fcd37 Removed CRYPTOPP_ALLOW_RIJNDAEL_UNALIGNED_DATA_ACCESS. No longer necessary 2016-02-05 02:46:26 -05:00
Jeffrey Walton d55d7fe90a Removed garbage charcters suffixed to CRYPTOPP_GENERATE_X64_MASM. They appear to have entered on November 15, 2015 with commit 48809d4e85 2016-02-05 00:27:23 -05:00
Jeffrey Walton ab320ad59b Cleared -Wcast-align (Issue 122) 2016-01-25 22:03:07 -05:00
Jeffrey Walton a44e823c3c Re-constify intermediate void* cast 2016-01-25 19:56:17 -05:00
Jeffrey Walton c76114705c Cleared -Wcast-align (Issue 122). No asserts added because X86/X32/X64 uses unaligned accesses with the compressed tables 2016-01-25 19:30:35 -05: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 25cc4c2db1 Fixed compile error on MinGW due to including <alloca.h> 2015-07-27 16:36:05 -04:00
Jeffrey Walton 6b2129afb3 Added "include <alloca.h>" due to compile failure on Cygwin 2015-07-27 02:06:11 -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 4d5be2d690 Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) 2015-07-26 01:14:59 -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 8f59d9af35 Cleared unused variable and function warnings 2015-07-19 10:22:16 -04:00
Jeffrey Walton f5e4f6318e Cleared unknown pragma warning with -Wall 2015-06-08 02:30:53 -04:00
weidai 4621a652a8 fix for Valgrind error http://tahoe-lafs.org/trac/pycryptopp/ticket/67 2011-01-28 01:22:27 +00:00
weidai 5b3f486767 fix for https://sourceforge.net/apps/trac/cryptopp/ticket/6 2011-01-07 01:38:48 +00:00
weidai a3f2091bcd fix compile on GCC 4.4 and greater 2010-07-29 08:51:39 +00:00
weidai 797192ea60 fix compile on Linux 2010-07-24 06:12:23 +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 d60229a02a fix possible race condition in Singleton::Ref()
tolerate double destruction of Singleton and g_nullNameValuePairs
fix #include of standard headers
2010-06-18 07:06:59 +00:00
weidai 1f00d79595 fix bugs in AES assembly (from trantrungan and Andrew Bromba) 2009-07-05 22:30:24 +00:00
weidai 5b809d7931 fix compile on MacOS X and MinGW 2009-04-05 19:58:48 +00:00
weidai 13c3aa2f4e fix compile on MSVC 6 and MSVC 2003 2009-03-15 03:53:58 +00:00
weidai 3202bf2809 fix compile on OpenSolaris 8.11 2009-03-13 11:15:21 +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 8ca6148ad5 add x86/x64 assembly for SHA-256,
add DEFAULT_CHANNEL and AAD_CHANNEL,
fix macChannel for AuthenticatedEncryptionFilter
2009-03-10 02:56:19 +00:00
weidai 8565900724 tweaks/fixes for 5.6 2009-03-03 03:28:39 +00:00
weidai 7d88bbd9ed fix compile on non-x86 2009-03-02 05:23: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 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 643b302227 MMX/SSE2 optimizations 2007-04-15 23:00:27 +00:00
weidai 146e78f4c9 fix compile on MSVC2002 and MSVC6 without Processor Pack 2006-12-25 08:10:19 +00:00
weidai 4afd858ae4 port to Borland C++Builder 2006 2006-12-14 11:41:39 +00:00
weidai f05ea58bb3 port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
weidai c8e2f89594 AES timing attack countermeasures 2006-07-17 14:48:59 +00:00
weidai f278895908 create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
weidai a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00