Commit Graph

283 Commits (9ab3f61810f11529e8e5736aecba9d91063ad5dc)

Author SHA1 Message Date
Jeffrey Walton 62618fda97 Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding garbage to the end of some source files during drag and drop from guest to host.
This reverts commit c454358122.
2015-11-22 19:11:31 -05:00
Jeffrey Walton c454358122 Crypto++ 5.6.3 check-in 2015-11-20 19:15: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 651ba89176 Added CRYPTOPP_POSIX_ASSERT to config.h for those who want original Posix behavior of abort(). Additional cleanup of CRYPTOPP_CXX11 defines 2015-08-03 17:14:55 -04:00
Jeffrey Walton 2a09da77d6 Change _MSC_VER to 2300 (sometime around VS2019) for CRYPTOPP_CXX14. Its just a guess that won't collide in the near future... 2015-07-31 02:14:00 -04:00
Jeffrey Walton 9fd44748c1 Added define for CRYPTOPP_CXX14 so we can pick up operator "" and small string optimizations (SSO) 2015-07-31 02:11:32 -04:00
Jeffrey Walton c7e5bebcf2 Fixe compiler error under MinGW due to typedef'ing ssize_t. Cygwin OK 2015-07-30 14:38:54 -04:00
Jeffrey Walton efaaea4a90 Whitespace checkin 2015-07-30 14:33:17 -04:00
Jeffrey Walton 458d582ab1 Added typedef for missing ssize_t on Windows. We used the same definitions Windows provided for the datatypes on MSDN, so it should not cause compiler problems (at least under Windows compilers) 2015-07-30 14:26:17 -04:00
Jeffrey Walton e79ae73295 Finished alloca cleanup under the BSDs 2015-07-28 18:18:56 -04:00
Jeffrey Walton 418dd2a870 Fixed #error left in header that was used for testing 2015-07-27 14:44:55 -04:00
Jeffrey Walton 8dd3a77e11 Fixed compiler error " error: missing binary operator before token 'defined'" 2015-07-27 14:43:18 -04:00
Jeffrey Walton 23d28aa123 Fixed complier error "error: missing ')' after 'defined'" 2015-07-27 14:41:13 -04:00
Jeffrey Walton e40ff65269 Fixed spelling error: __cpluplus → __cplusplus 2015-07-27 09:40:36 -04:00
Jeffrey Walton 66ff5e14f1 Improved GCC test by adding "__GNUC__ >= 5" 2015-07-27 01:32:10 -04:00
Jeffrey Walton 23f59f6b28 Added tests for Intel compilers. Tightened tests on GCC since the others claim to be GCC, but fail to compile programs that GCC can compile 2015-07-27 00:17:41 -04:00
Jeffrey Walton 8e868bf2e5 Tuned preprocessor tests. Added CRYPTOPP_THROW to AlgorithmParametersBase 2015-07-26 21:57:10 -04:00
Jeffrey Walton 46edae68a5 Added C++11 R-value and noexcept feature detection 2015-07-26 20:36:24 -04: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 5daa168a93 Cleaned up CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER and WORKAROUND_LLVM_BUG_18916 defines 2015-07-23 03:29:21 -04:00
Jeffrey Walton 6d0dd41eb0 Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain 2015-07-22 03:48:10 -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 06ea2d2952 Cleared Cygwin i386 crash at -O3 due to unaligned data access and vectorization 2015-07-16 00:50:13 -04:00
Jeffrey Walton 9bf0eed0f6 Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction 2015-07-13 22:53:16 -04:00
Jeffrey Walton c6abf130eb Moved GCC_DIAGNOSTIC_AWARE and GCC_OPTIMIZE_AWARE into misc.h 2015-07-13 00:39:13 -04:00
Jeffrey Walton f2379159f8 Added COUNTOF to misc.h to count elements in an array (fails on pointers). Moved CRYPTOPP_UNUSED to misc.h 2015-07-03 15:40:44 -04:00
Jeffrey Walton e67480dd9e Enabled security related warnings; see http://blogs.msdn.com/b/vcblog/archive/2010/12/14/off-by-default-compiler-warnings-in-visual-c.aspx 2015-06-29 05:49:40 -04:00
Jeffrey Walton a14a5696e1 Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD 2015-06-29 02:09:02 -04:00
Jeffrey Walton 1d237fe79d Added test case for CRYPTOPP_UNUSED by applying it to argc and argv in tes.cpp (even though they are used) 2015-06-07 20:56:49 -04:00
Jeffrey Walton 5f25c73635 Add CRYPTOPP_UNUSED to help supress unused variable warnings. Applied to AlgorithmParametersTemplate because its use is nearly ubiquitous 2015-06-04 23:24:15 -04:00
weidai 2fb44ea6db add SHA-3
update DSA to FIPS 186-3
update version numbers
2013-01-19 02:20:00 +00:00
weidai 045d804f9b fix compile with GCC 4.4 and -march=i386
fix minor documentation issues
fix compile w/o GAS 2.19 or later
2010-08-08 23:02:36 +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 954fed3d5d update version number to 5.6.1 2010-06-29 02:48:56 +00:00
weidai 0c8667344c fix endianess test on MIPS (Zhang Le) 2009-09-04 10:37:59 +00:00
weidai 5e19e65655 fix compile on OpenBSD 4.4 2009-03-13 22:13:21 +00:00
weidai 3202bf2809 fix compile on OpenSolaris 8.11 2009-03-13 11:15:21 +00:00
weidai d6b4e54448 fix compile on MSVC 6 2009-03-13 02:55:23 +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 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 fa25129ac9 port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16 2009-02-13 12:18:26 +00:00
weidai f871754502 fix compile with GCC 4.0.1 on MacOS X 64-bit 2008-12-22 06:55:08 +00:00
weidai c9c1fdbcb4 fix compile with ICC 9.1 on x64 2007-09-24 07:05:29 +00:00
weidai b240c52bd9 fix warning on MSVC Orcas Beta 2 2007-08-15 23:36:16 +00:00
weidai ae88c18bf7 fixed Whirlpool crash on Pentium 2 machines 2007-08-13 23:53:09 +00:00
weidai 83abc985b2 fix compile for VC6 without processor pack, and GCC 4 on MINGW 2007-06-01 17:28:31 +00:00
weidai 87356fd44e fix compile with ICC for ia64 2007-05-05 04:12:36 +00:00
weidai d2f4175c59 fix compile with Sun CC 2007-05-05 02:15:11 +00:00
weidai f46f0d73c5 fix compile on Mac OS X 2007-05-04 20:46:32 +00:00
weidai a740a0ff83 fix warning with Intel compiler 2007-05-04 19:56:16 +00:00
weidai 240a14e561 add word128 2007-05-04 15:25:08 +00:00
weidai 3a3fef7436 fix compile on Sun CC 2007-04-16 05:40:37 +00:00
weidai a30a7f4ed3 changes to support optimizations 2007-04-16 00:39:09 +00:00
weidai 146e78f4c9 fix compile on MSVC2002 and MSVC6 without Processor Pack 2006-12-25 08:10:19 +00:00
weidai 826889105d fix compile with Sun CC 64-bit 2006-12-20 15:20:02 +00:00
weidai 43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai 4afd858ae4 port to Borland C++Builder 2006 2006-12-14 11:41:39 +00:00
weidai 0efd938656 improved method of disable inlining, fix compile on NetBSD 2006-12-11 09:13:12 +00:00
weidai c8e2f89594 AES timing attack countermeasures 2006-07-17 14:48:59 +00:00
weidai 58f6207c4d fix TYPE_OF_SOCKLEN_T for Darwin 2006-01-30 13:59:16 +00:00
weidai 09bb1aab64 port to GCC 4 2005-09-05 21:43:43 +00:00
weidai 1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai b3924f2108 changes done for FIPS-140 lab code drop 2005-01-20 04:19:35 +00:00
weidai d617e3d925 fix compile with -msse2 on systems without memalign() 2004-07-18 09:23:13 +00:00
weidai ebbfa72763 allow compile with STLport again 2004-07-03 01:20:11 +00:00
weidai bdf3852cf0 port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
weidai cbcd7b07f8 *** empty log message *** 2004-06-19 11:16:59 +00:00
weidai 5bee373ff3 disable x86 assembly on systems without GNU as 2.10 or later 2004-06-19 11:00:52 +00:00
weidai 42ec076020 add ThreadUserTimer 2004-04-08 01:23:05 +00:00
weidai 57109b3120 fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
weidai 4e67d23468 fix 64-bit CPU issues 2003-07-19 05:16:49 +00:00
weidai 5307588c57 remove Diamond2, code size reductions 2003-07-19 03:47:20 +00:00
weidai 38b49e4543 added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
weidai e43a0491cd fix for Unix 2003-07-11 19:48:49 +00:00
weidai cadf4f866a fix for Unix 2003-07-11 19:46:28 +00:00
weidai 12157494b2 fix GCC compile 2003-07-11 19:16:35 +00:00
weidai 473e5df89b merge in 5.0.4 changes (exclude DES and SHA-2 from DLL),
attempt (failed) to build DLL with GCC
2003-07-10 04:34:23 +00:00
weidai f278895908 create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
weidai c9f75009a5 misc optimizations 2003-05-16 00:02:31 +00:00
weidai 538de80a91 various changes for 5.1 2003-03-20 01:24:12 +00:00
weidai 1e45c2d305 compatibility fixes for MacOS X 2002-10-04 21:45:04 +00:00
weidai a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00