Commit Graph

81 Commits (6ac1e46a1fb01f01705b67dd553d5ba317b1dc3e)

Author SHA1 Message Date
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