Jeffrey Walton
314fe13105
Cleanup FileStore::TransferTo2
2021-02-28 08:37:31 -05:00
Jeffrey Walton
d97aede813
Guard for exceptions in FileStore::MaxRetrievable (GH #968 )
2020-09-20 11:43:03 -04:00
Jeffrey Walton
c280ccd33b
Clear stream errors in FileStore::MaxRetrievable (GH #968 )
2020-09-20 06:08:15 -04:00
Tanzinul Islam
0763b9984c
Clear failbit after failed istream::seekg() ( #968 )
...
`std::istream` does not generally need to support seek-to-end behavior; it depends on the underlying `std::streambuf` implementation. If it fails the stream will set `failbit`, after which any further operation would fail until it is cleared.
Reference:
- https://en.cppreference.com/w/cpp/io/basic_istream/seekg
- https://en.cppreference.com/w/cpp/io/basic_streambuf/pubseekoff
This issue surfaced in my use case after 04dee2a46
, as I am using several `std::streambuf`-derived classes as streaming codecs and they do not support a seek-to-end functionality.
2020-09-19 20:41:35 -04: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
54d17c7361
Updated CRYPTOPP_ASSERT based on comments
...
Also see 399a1546de (commitcomment-19448453)
2016-10-17 22:00:31 -04:00
Jeffrey Walton
91ca6c117d
Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
2016-09-16 14:51:48 -04: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
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
22c3e41133
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
2015-07-30 17:35:58 -04:00
Jeffrey Walton
3ad53d9b68
Added stdcpp.h header
2015-07-30 02:39:26 -04:00
Jeffrey Walton
9d579ad208
Added CRYPTOPP_ASSERT to SafeConvert result because FileSink::Put2 does not throw. Maybe Put2 should work with std::streamsize::max() size blocks
2015-07-30 02:37:59 -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
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
80aaec3131
improve Unicode filename handling
2009-07-11 22:50:18 +00:00
weidai
92718c4754
handle Unicode filenames
2009-07-11 01:48:12 +00:00
weidai
4afd858ae4
port to Borland C++Builder 2006
2006-12-14 11:41:39 +00:00
weidai
1db8ea5084
port to MSVC .NET 2005 beta 2
2005-07-12 04:23:32 +00:00
weidai
b3924f2108
changes done for FIPS-140 lab code drop
2005-01-20 04:19:35 +00:00
weidai
e43a0491cd
fix for Unix
2003-07-11 19:48:49 +00:00
weidai
f278895908
create DLL version, fix GetNextIV() bug in CTR and OFB modes
2003-07-04 00:17:37 +00:00
weidai
d52b49c51f
fix bug in Grouper
...
add RIPEMD-???, Whirlpool, Shacal2, Camellia, Two-Track MAC (Kevin Springle)
change ChannelSwitch to allow non-blocking input (denis bider)
change Redirector to allow more options (denis bider)
fix MaurerRandomnessTest
optimize MD2 (Kevin Springle)
2003-04-15 00:38:48 +00:00
weidai
9ffe5ae035
fix whitespace problems
2003-02-24 01:11:57 +00:00
weidai
eee814871a
bug fixes
2002-10-06 03:23:16 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00