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 |
Jeffrey Walton
|
cfb68699b0
|
Fix "error: bad value (native) for -march= switch" on CentOS 5
|
2015-07-31 06:32:11 -04:00 |
Jeffrey Walton
|
b84cd9013a
|
Supress "-Wmaybe-unitiialized" warning under GCC; guard to ensure it does not produce unknown pragma warning under Clang
|
2015-07-31 04:44:28 -04:00 |
Jeffrey Walton
|
3caada0a9e
|
Switch to static local/accessor pattern to avoid initialization order issues amoung translation units
|
2015-07-31 03:40:43 -04:00 |
Jeffrey Walton
|
b27ca38ad7
|
fat libraries → fat binaries
|
2015-07-31 03:05:07 -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
|
bef0e79882
|
Removed USING_NAMESPACE(std). Removed unneeded headers. Added minimum headers. Added "-Wunused-parameter" to warning ignore list due to argc and argv[]
|
2015-07-31 01:48:18 -04:00 |
Jeffrey Walton
|
f7600dbbec
|
Added Microsoft compilers under <utility> guard
|
2015-07-31 01:14:31 -04:00 |
Jeffrey Walton
|
2d82901165
|
Added <utility> based on C++11 for R-values and std::move
|
2015-07-31 00:31:16 -04:00 |
Jeffrey Walton
|
e9c086aaac
|
Added assert. Thanks to Jean-Pierre Münch for the suggestion
|
2015-07-30 18:58:11 -04:00 |