Commit Graph

886 Commits (298988a5b9687f64de733ce01319e90e94b0b688)

Author SHA1 Message Date
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 5f70a7c85e Added missing <rng.h> to validat1.cpp. MaurerRandomnessTest requires the header when -DNO_OS_DEPENDENCE 2015-11-19 17:28:37 -05:00
Jeffrey Walton baa19fb2b4 Added config.h due to privately reported issue 2015-11-19 16:48:56 -05:00
Jeffrey Walton b3e49d8c96 Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class 2015-11-19 13:09:33 -05:00
Jeffrey Walton 6911cc9e91 Updated release notes 2015-11-18 16:43:53 -05:00
Jeffrey Walton 3203d7db54 Change __MINGW__ → __MINGW32__ 2015-11-18 15:52:54 -05:00
Jeffrey Walton c15be9178a Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:45:32 -05:00
Jeffrey Walton 628f40755a Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:35:35 -05:00
Jeffrey Walton 9f6a942218 Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:34:27 -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 d2fda9bd42 Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:19:02 -05:00
Jeffrey Walton 1993a8b7b9 Merge pull request #63 from Zireael-N/master
Override a pure virtual function inherited from WindowsPipe
2015-11-13 09:15:47 -05:00
Zireael 9b140da272
Override a pure virtual function inherited from WindowsPipe
Fixes "undefined reference to non-virtual thunk" when compiling
cryptest.exe on MinGW.
2015-11-06 20:57:20 +03:00
Jeffrey Walton 2fbdeb70b4 Remove unneeded test file 2015-11-05 02:04:59 -05:00
Jeffrey Walton 48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton 025337a94a CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:50:12 -05:00
Jeffrey Walton 8a02fe1787 Merge pull request #35 from bertothunder/master
Fixes the warning on IntToString about comparison of unsigned and sig…
2015-10-25 22:50:57 -04:00
Jeffrey Walton 0291c1318f Merge pull request #7 from jwakely/issue-5
Remove VC6 hacks in AssignFromHelperClass.
2015-10-25 22:50:31 -04:00
Jeffrey Walton 47571eebe8 Merge pull request #46 from Zireael-N/master
Remove implementation of ResizeBuffer() from headers
2015-10-25 22:38:35 -04:00
Zireael 8134f2cd50 Remove implementation of ResizeBuffer() from headers
Fixes issue #45
2015-10-26 05:11:59 +03:00
Alberto Curro 1d5bcc08fb Fixes the warning on IntToString about comparison of unsigned and signed values, when boost::uint32_t and boost::uint64_t are used with the function 2015-10-01 14:35:45 +01:00
Jeffrey Walton aff5105569 Removed "include <assert.h>" from files. Its now handled by "trap.h" 2015-08-03 19:21:57 -04:00
Jeffrey Walton 973e48744b Removed guard on memcpy_s call to memcpy. All the Undefined Behavior has been removed. The CRYPTOPP_ASSERT remains to guard the use of the functions, as does Clang/GCC Undefined Behavior sanitizer 2015-08-03 19:20:27 -04:00
Jeffrey Walton d96e0a3a19 Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version) 2015-08-03 19:18:17 -04:00
Jeffrey Walton 09b5d2f5dd Switched to DebugBreak() for Windows machines to snap the debugger and allow a continue 2015-08-03 19:17:42 -04:00
Jeffrey Walton 1e103c0e5b Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version) 2015-08-03 19:11:23 -04: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 572506de3d This patch (1) documents the interface, including when the underlying array is uninitialized versus set to 0; (2) adds move semantics; (3) makes its members private; (4) adds asserts for some sanity checks in Debug builds; (5) guards calls to memset and memcpy for NULL pointers and 0-sizes; (6) prefers initialization over assignment; and (7) switches to numeric_limits::max() for sizes 2015-08-03 18:59:02 -04:00
Jeffrey Walton 57865b43ce Improved comment on use of __cplusplus macro 2015-08-03 17:24:41 -04: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 8bfb29740f Removed inline ASM for GCC. According to the GCC devs, the cast to volatile is all that's required 2015-08-03 14:01:31 -04:00
Jeffrey Walton 69c6989e99 Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64 2015-08-03 13:14:44 -04:00
Jeffrey Walton fd300a1c90 Changed to dynamic_cast for GlobalRNG() 2015-08-03 12:48:12 -04:00
Jeffrey Walton c8860d6fa9 Cleared "register is deprecated" warning on OS X with ancient versions of the C++ runtime library 2015-08-03 04:33:57 -04:00
Jeffrey Walton 491e8dbd74 Whitespace checkin 2015-08-03 04:03:23 -04:00
Jeffrey Walton 24047196b1 Cleaned up code to tame the optimizer in smart_ptr and member_ptr. It should work on all platforms 2015-08-02 02:11:46 -04:00
Jeffrey Walton b44546be11 Revert "Hid inline assembly behind a macro". The MEMORY_BARRIER code is OK, and the use of inline assembly code is OK to tame the optimizer is OK; but its confusing because the interactions are not readily apparent. 2015-08-01 19:00:31 -04:00
Jeffrey Walton 390d27b6cd Hid inline assembly behind a macro 2015-08-01 18:02:03 -04:00
Jeffrey Walton ad352c64e0 Wrapped SecByteBlock and SecWordBlock in DOCUMENTED_TYPEDEF 2015-08-01 16:53:33 -04:00
Jeffrey Walton 9b552d06d2 Changed cross-compile makefile to use "-Os" by default 2015-07-31 15:33:08 -04:00
Jeffrey Walton 158bb2c94f Added "system" target that dumps a number of internal variables for testing and troubleshooting 2015-07-31 14:24:49 -04:00
Jeffrey Walton c5b1adde3a Added "system" target that dumps a number of internal variables for testing and troubleshooting 2015-07-31 14:00:24 -04:00
Jeffrey Walton b1085b7384 Changed Cygwin to use -O2 instead of -O3 with GCC 4.9 due to crash 2015-07-31 10:22:15 -04:00
Jeffrey Walton 5f2c32af37 Cut-over to inline assembly to tame the optimizer 2015-07-31 10:05:14 -04:00
Jeffrey Walton 79ec88f5a6 Fixed optimize string under GCC 2015-07-31 09:52:23 -04:00
Jeffrey Walton d935fd80ba Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes 2015-07-31 08:23:53 -04:00
Jeffrey Walton 8796c9e684 Removed IS_CENTOS feature test 2015-07-31 08:09:59 -04:00
Jeffrey Walton 80b253c8d8 Removed IS_CENTOS feature test 2015-07-31 08:09:32 -04:00