Commit Graph

94 Commits (a11c9e7574b29049bb20991de3732b4acfe287cc)

Author SHA1 Message Date
Jeffrey Walton a11c9e7574 Add SSE4.1 and SSE4.2 feature detection 2016-04-15 16:23:04 -04:00
Jeffrey Walton d8b02cfaaf Fixed m68k detection (Issue 153) 2016-04-06 01:47:45 -04:00
Jeffrey Walton 9b260cf75a Merge branch 'integer-master' of https://github.com/DevJPM/cryptopp into DevJPM-integer-master 2016-01-14 10:03:05 -05:00
DevJPM 36f5e4c4c8 updated to offer the option to hide the base
Added the config.h related changes of the Integer patch (show_no_base only)
2016-01-13 22:38:56 +01:00
Crayon2000 0892ee411b C++Builder: The problem with the CRYPTOPP_CONSTANT macro was corrected properly 2016-01-12 12:29:44 -05:00
Jeffrey Walton 3941be1889 Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo 2016-01-08 06:53:27 -05:00
Jeffrey Walton a0b078543a Added CRYPTOPP_DATA_DIR patch (Issue 82) 2015-12-25 23:50:28 -05:00
Marco Deckel f6499edf3a Microsoft ARM support
* Adjusted config to compile for Microsoft ARM (e.g. Windows Universal apps)
2015-12-14 16:11:17 +01:00
Jeffrey Walton 1e17620417 Fixed STLport detection for Android 14 and below 2015-12-09 04:09:30 -05:00
Jeffrey Walton c08cac0cd1 Fixed failed compile on OS X using "-arch i386" due to Clang defining __ILP32__ for everything that is 32-bit. MSVC, GCC, ICC and Comeau were OK 2015-12-02 15:54:35 -05:00
Jeffrey Walton 298988a5b9 Crypto++ 5.6.3 check-in 2015-11-22 19:17:15 -05:00
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