Jeffrey Walton
e1f2b69638
Removed vector_ptr
...
vector_ptr was added at Crypto++ 5.6.5 to manage an array acquired with new[] in C++03. We can now use a combination of SecBlock and SetMark(0) to achieve the same effect.
2018-01-22 09:37:04 -05:00
Jeffrey Walton
befd04312d
Remove unneeded Doxygen directive
2018-01-19 14:31:20 -05:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
...
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
...
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
894874fe75
Whitespace checkin
2016-09-10 04:57:48 -04:00
Enrico Pisko
90748eb3c2
replaced special character which caused warning C4819 with other system encoding
2016-04-25 10:16:59 +02: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
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
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
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
52b7fbbca6
Template type aliases compiled under Visual Studio 2015 (v19.00); and not VS2010 or VS2012. We have a winner...
2015-07-30 15:53:01 -04:00
Jeffrey Walton
17fd66f2ff
Visual Studio 2010 (v16.00) does not accept the template type alias. Bump to VS2012 (v17.00). Lather, rinse, repeat until we determine when...
2015-07-30 13:43:55 -04:00
Jeffrey Walton
77206baf56
Whitespace checkin
2015-07-30 13:07:33 -04:00
Jeffrey Walton
8c63032865
Cleared "name defined in alias declaration must be an identifier" error under LLVM's libc++ and C++11
2015-07-30 11:24:41 -04:00
Jeffrey Walton
5a35640912
Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11
2015-07-30 10:36:49 -04:00
Jeffrey Walton
ae0984b4b1
Cleaned up tests for OS X, TR1 names spaces and ancient versus modern libstdc++ and libc++. Thanks to Jonathan Wakely for devising the clever test
2015-07-29 13:37:52 -04:00
Jeffrey Walton
383d9636a8
Defined out the stuff that cross-polinated during testing
2015-07-27 19:03:14 -04:00
Jeffrey Walton
836cf237cf
Fixed compile error due to MS using _MSC_VER rather than __cplusplus
2015-07-27 16:46:25 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a
Added "trap.h" include for header and source files that assert
2015-07-26 15:51:16 -04:00
Jeffrey Walton
398bda4051
Removed cross-pollination during testing
2015-07-17 10:05:56 -04:00
Jeffrey Walton
c3c9f2f114
Cleared Issue #6 . Thanks to Jonathan Wakely for reporting
2015-07-16 00:43:38 -04:00
weidai
d60229a02a
fix possible race condition in Singleton::Ref()
...
tolerate double destruction of Singleton and g_nullNameValuePairs
fix #include of standard headers
2010-06-18 07:06:59 +00:00
weidai
d2510f30c7
fix compile for x64, DLL and VC 6
2007-05-04 15:24:09 +00:00
weidai
f78fccb3cc
port to GCC 3.4
2004-06-19 08:28:09 +00:00
weidai
c9f75009a5
misc optimizations
2003-05-16 00:02:31 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00