8134f2cd50Remove implementation of ResizeBuffer() from headers
Zireael
2015-10-26 05:11:59 +0300
844daf0eabUpdated SHA3 padding to NIST final FIPS 202 spec
Daniel Collins
2015-10-15 10:41:31 -0700
1d5bcc08fbFixes the warning on IntToString about comparison of unsigned and signed values, when boost::uint32_t and boost::uint64_t are used with the function
Alberto Curro
2015-10-01 14:35:45 +0100
aff5105569Removed "include <assert.h>" from files. Its now handled by "trap.h"
Jeffrey Walton
2015-08-03 19:21:57 -0400
973e48744bRemoved 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
Jeffrey Walton
2015-08-03 19:20:27 -0400
d96e0a3a19Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version)
Jeffrey Walton
2015-08-03 19:18:17 -0400
09b5d2f5ddSwitched to DebugBreak() for Windows machines to snap the debugger and allow a continue
Jeffrey Walton
2015-08-03 19:17:42 -0400
1e103c0e5bCompleted cutover to unscoped auto_ptr (which will use Crypto++'s namespace version)
Jeffrey Walton
2015-08-03 19:11:23 -0400
7e6c9438daCompanion checkin to 572506de3d. Salsa and Sosemanuk can no longer reach into a SecBlock for and touch its private members
Jeffrey Walton
2015-08-03 19:06:18 -0400
572506de3dThis 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
Jeffrey Walton
2015-08-03 18:59:02 -0400
57865b43ceImproved comment on use of __cplusplus macro
Jeffrey Walton
2015-08-03 17:24:41 -0400
651ba89176Added CRYPTOPP_POSIX_ASSERT to config.h for those who want original Posix behavior of abort(). Additional cleanup of CRYPTOPP_CXX11 defines
Jeffrey Walton
2015-08-03 17:14:55 -0400
8bfb29740fRemoved inline ASM for GCC. According to the GCC devs, the cast to volatile is all that's required
Jeffrey Walton
2015-08-03 14:01:31 -0400
69c6989e99Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64
Jeffrey Walton
2015-08-03 13:14:44 -0400
fd300a1c90Changed to dynamic_cast for GlobalRNG()
Jeffrey Walton
2015-08-03 12:48:12 -0400
c8860d6fa9Cleared "register is deprecated" warning on OS X with ancient versions of the C++ runtime library
Jeffrey Walton
2015-08-03 04:33:57 -0400
24047196b1Cleaned up code to tame the optimizer in smart_ptr and member_ptr. It should work on all platforms
Jeffrey Walton
2015-08-02 02:11:46 -0400
b44546be11Revert "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.
Jeffrey Walton
2015-08-01 19:00:31 -0400
ad352c64e0Wrapped SecByteBlock and SecWordBlock in DOCUMENTED_TYPEDEF
Jeffrey Walton
2015-08-01 16:53:33 -0400
9b552d06d2Changed cross-compile makefile to use "-Os" by default
Jeffrey Walton
2015-07-31 15:33:08 -0400
158bb2c94fAdded "system" target that dumps a number of internal variables for testing and troubleshooting
Jeffrey Walton
2015-07-31 14:24:49 -0400
c5b1adde3aAdded "system" target that dumps a number of internal variables for testing and troubleshooting
Jeffrey Walton
2015-07-31 14:00:24 -0400
b1085b7384Changed Cygwin to use -O2 instead of -O3 with GCC 4.9 due to crash
Jeffrey Walton
2015-07-31 10:22:15 -0400
5f2c32af37Cut-over to inline assembly to tame the optimizer
Jeffrey Walton
2015-07-31 10:05:14 -0400
79ec88f5a6Fixed optimize string under GCC
Jeffrey Walton
2015-07-31 09:52:23 -0400
d935fd80baPartial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes
Jeffrey Walton
2015-07-31 08:23:53 -0400
8796c9e684Removed IS_CENTOS feature test
Jeffrey Walton
2015-07-31 08:09:59 -0400
80b253c8d8Removed IS_CENTOS feature test
Jeffrey Walton
2015-07-31 08:09:32 -0400
cfb68699b0Fix "error: bad value (native) for -march= switch" on CentOS 5
Jeffrey Walton
2015-07-31 06:32:11 -0400
b84cd9013aSupress "-Wmaybe-unitiialized" warning under GCC; guard to ensure it does not produce unknown pragma warning under Clang
Jeffrey Walton
2015-07-31 04:44:28 -0400
3caada0a9eSwitch to static local/accessor pattern to avoid initialization order issues amoung translation units
Jeffrey Walton
2015-07-31 03:40:43 -0400
2a09da77d6Change _MSC_VER to 2300 (sometime around VS2019) for CRYPTOPP_CXX14. Its just a guess that won't collide in the near future...
Jeffrey Walton
2015-07-31 02:14:00 -0400
9fd44748c1Added define for CRYPTOPP_CXX14 so we can pick up operator "" and small string optimizations (SSO)
Jeffrey Walton
2015-07-31 02:11:32 -0400
bef0e79882Removed USING_NAMESPACE(std). Removed unneeded headers. Added minimum headers. Added "-Wunused-parameter" to warning ignore list due to argc and argv[]
Jeffrey Walton
2015-07-31 01:48:18 -0400
f7600dbbecAdded Microsoft compilers under <utility> guard
Jeffrey Walton
2015-07-31 01:14:31 -0400
2d82901165Added <utility> based on C++11 for R-values and std::move
Jeffrey Walton
2015-07-31 00:31:16 -0400
e9c086aaacAdded assert. Thanks to Jean-Pierre Münch for the suggestion
Jeffrey Walton
2015-07-30 18:58:11 -0400
da68ad21a2Removed USING_NAMESPACE(std). Changed hex → std::hex, etc (not sure how these six escaped the first time)...
Jeffrey Walton
2015-07-30 17:46:18 -0400
2799132fd7Added fipsalgt.cpp to list of Windows sources to be filtered. Its literally empty (everything is commented out)
Jeffrey Walton
2015-07-30 17:30:10 -0400
616a772eccAdded *.user files to list of artifacts to clean
Jeffrey Walton
2015-07-30 16:31:43 -0400
cfec803be8Added trap.h and hkdf.h to DSP project files
Jeffrey Walton
2015-07-30 16:29:07 -0400
52b7fbbca6Template type aliases compiled under Visual Studio 2015 (v19.00); and not VS2010 or VS2012. We have a winner...
Jeffrey Walton
2015-07-30 15:53:01 -0400
c7e5bebcf2Fixe compiler error under MinGW due to typedef'ing ssize_t. Cygwin OK
Jeffrey Walton
2015-07-30 14:38:54 -0400
458d582ab1Added 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)
Jeffrey Walton
2015-07-30 14:26:17 -0400
c9759f4ca1Updated information under "Building the Library". Added info on C++11 and LLVM's libc++
Jeffrey Walton
2015-07-30 14:03:28 -0400
21c4db07d9Added validat0.cpp to Windows and Borland project files
Jeffrey Walton
2015-07-30 13:52:11 -0400
17fd66f2ffVisual Studio 2010 (v16.00) does not accept the template type alias. Bump to VS2012 (v17.00). Lather, rinse, repeat until we determine when...
Jeffrey Walton
2015-07-30 13:43:55 -0400
8293570bd4Added self-assignment guards or comment indicating why the check is not needed
Jeffrey Walton
2015-07-30 13:24:37 -0400
7ad12ab5b0Cleared auto_ptr deprecation warning with C++11 under Debian 8/i686
Jeffrey Walton
2015-07-30 12:07:26 -0400
a8ca289b00Cleared "signed/unsigned" warning on Debian 8/i686. ROUNDS was already unsigned; suspect this was a compiler or port issue
Jeffrey Walton
2015-07-30 12:00:25 -0400
4d8ac2db7cCleared "reference to 'auto_ptr' is ambiguous" error under LLVM's libc++ and C++11
Jeffrey Walton
2015-07-30 11:25:24 -0400
8c63032865Cleared "name defined in alias declaration must be an identifier" error under LLVM's libc++ and C++11
Jeffrey Walton
2015-07-30 11:24:41 -0400
60291122aeCleared "no member named 'unique_ptr' in namespace 'std'" error under C++11 on OS X
Jeffrey Walton
2015-07-30 11:15:51 -0400
e5171450e2Fixed validation failure due to collision of type sizes between int and long
Jeffrey Walton
2015-07-30 10:57:25 -0400
5a35640912Added 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
Jeffrey Walton
2015-07-30 10:36:49 -0400
264018e8ecSuppressed "sign comparison" warning under GCC and Clang
Jeffrey Walton
2015-07-30 09:14:43 -0400
33e6a62c5eReverted to previous SafeConvert code. Its not as efficient as it could be, but it is darn sure correct. Self-tests for the verification to follow
Jeffrey Walton
2015-07-30 08:38:28 -0400
e507a4136eFixed "signed/unsigned" conversion warning when "-DDEBUG" defined
Jeffrey Walton
2015-07-30 03:51:17 -0400
f61577af9dIncluded "integer.h" in source files with Integer dependencies so make would rebuild stale object files
Jeffrey Walton
2015-07-30 03:30:27 -0400
9d579ad208Added CRYPTOPP_ASSERT to SafeConvert result because FileSink::Put2 does not throw. Maybe Put2 should work with std::streamsize::max() size blocks
Jeffrey Walton
2015-07-30 02:37:59 -0400
978b7149f2Removed USING_NAMESPACE(std). Switch cout and friends to use std::cout
Jeffrey Walton
2015-07-29 23:12:44 -0400
414b673706Added test for T1 is signed
Jeffrey Walton
2015-07-29 22:37:36 -0400
d41009f1dcAdded script to clean Visual Studio artifacts
Jeffrey Walton
2015-07-29 13:45:54 -0400
ae0984b4b1Cleaned up tests for OS X, TR1 names spaces and ancient versus modern libstdc++ and libc++. Thanks to Jonathan Wakely for devising the clever test
Jeffrey Walton
2015-07-29 13:37:52 -0400
becea0ef8dCleared "'register' storage class specifier is deprecated" warning under C++11
Jeffrey Walton
2015-07-29 11:22:33 -0400
2936447d05Updated IntToString and SafeConvert to squash the "signed/unsigned" warnings once and for all. Removed the specializations that caused more trouble than they were worth. (If all platforms offered size_t and ssizeT the same way, specializations would have been the preferred solution
Jeffrey Walton
2015-07-29 06:33:41 -0400
ffc5c11555Improved comment on xorbuff and GCC's selection of vmovdqa
Jeffrey Walton
2015-07-28 20:36:22 -0400
0b8ef06e08Updated intstall.txt to use'egrep "(error|FAILED)\'
Jeffrey Walton
2015-07-28 19:07:23 -0400
48187e4fe6Updated intstall.txt to include a Build section and Install section
Jeffrey Walton
2015-07-28 18:48:47 -0400
e79ae73295Finished alloca cleanup under the BSDs
Jeffrey Walton
2015-07-28 18:18:56 -0400
697ccb452bIssue 19 and comments on the 05076dbd
Jeffrey Walton
2015-07-28 18:00:19 -0400
cffba26fa1Fixed compiler error under OpenBSD for missing "alloca"
Jeffrey Walton
2015-07-27 19:43:43 -0400
185a2c8e83Used pragmas to disable the deprecated warnings under Visual Studio rather than _WINSOCK_DEPRECATED_NO_WARNINGS. Using _WINSOCK_DEPRECATED_NO_WARNINGS could cross-pollintae out of the library and into user code
Jeffrey Walton
2015-07-27 19:05:53 -0400
383d9636a8Defined out the stuff that cross-polinated during testing
Jeffrey Walton
2015-07-27 19:03:14 -0400
05076dbdea_WINSOCK_DEPRECATED_NO_WARNINGS was defined before including Winsock gear to avoid the warnings and the rewrite. Being tracked at GitHub, Issue 19, https://github.com/weidai11/cryptopp/issues/19
Jeffrey Walton
2015-07-27 18:05:08 -0400
d76a974625Added guard based on std::uncaught_exception so the class does not throw in an exception handler
Jeffrey Walton
2015-07-27 17:26:45 -0400
836cf237cfFixed compile error due to MS using _MSC_VER rather than __cplusplus
Jeffrey Walton
2015-07-27 16:46:25 -0400
25cc4c2db1Fixed compile error on MinGW due to including <alloca.h>
Jeffrey Walton
2015-07-27 16:36:05 -0400
69afee37b0Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE
Jeffrey Walton
2015-07-27 16:15:46 -0400
6cf9b6e081Updated comment on reason for the gyrations when including <memory>
Jeffrey Walton
2015-07-27 16:10:20 -0400
03f36f8655Placed guards on <alloca.> include
Jeffrey Walton
2015-07-27 16:07:46 -0400
ef318d5423Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed.
Jeffrey Walton
2015-07-27 16:01:55 -0400
418dd2a870Fixed #error left in header that was used for testing
Jeffrey Walton
2015-07-27 14:44:55 -0400
c42947e19bRearranged includes for consistency after testing
Jeffrey Walton
2015-07-27 13:03:18 -0400
efcc05e615Fixed compiler error "exception specification in declaration does not match previous declaration" under Clang
Jeffrey Walton
2015-07-27 12:45:22 -0400
5eff653a54Added guard and specialization for APple with and without "-std=c++11"
Jeffrey Walton
2015-07-27 12:40:06 -0400