Commit Graph

5658 Commits

Author SHA1 Message Date
Jeffrey Walton
5bae476e5d
Fix spelling 2020-12-18 20:04:43 -05:00
Jeffrey Walton
1b4b67952c
Use DEREncode for x25519 keys 2020-12-17 02:31:31 -05:00
Jeffrey Walton
bb29b5e10e
Use better names than Benchmark1, Benchmark2, etc 2020-12-15 23:03:10 -05:00
Jeffrey Walton
d7b2982e32
Reduce benchmark running time to 10 seconds if excessive (GH #983) 2020-12-15 22:53:09 -05:00
Jeffrey Walton
bfeba0d300
Update documentation 2020-12-15 04:05:17 -05:00
Jeffrey Walton
45ce17c492
Update documentation 2020-12-15 03:58:05 -05:00
Jeffrey Walton
fe4f9a0748
Update documentation 2020-12-15 03:52:56 -05:00
Jeffrey Walton
1d29d4c15d
Clear Clang -Wdocumentation warnings 2020-12-15 03:37:48 -05:00
Jeffrey Walton
03c4290bdf
Update documentation 2020-12-15 03:03:57 -05:00
Jeffrey Walton
16db9fa57b
Update documentation 2020-12-15 02:46:46 -05:00
Jeffrey Walton
e44e90a371
Tighten assert on Integer::OpenPGPEncode 2020-12-08 01:03:11 -05:00
Jeffrey Walton
0789948815
Update documentation 2020-12-08 00:15:19 -05:00
Jeffrey Walton
ac6987f3ae
Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
Jeffrey Walton
4d2b58c8fe
Whitespace check-in 2020-12-07 01:02:26 -05:00
Jeffrey Walton
f2d726b092
Fix DebugTrapHandler
The class should have used SIGTRAP, not SIGILL
2020-12-07 00:48:40 -05:00
Jeffrey Walton
c6c575aa49
Update documentation 2020-12-07 00:42:03 -05:00
Jeffrey Walton
fec03b02a9
Fix cryptest.sh C++11 test 2020-12-07 00:25:59 -05:00
Jeffrey Walton
d6f4a75431
Update documentation 2020-12-06 23:12:36 -05:00
Jeffrey Walton
49157a3652
Whitespace checkin 2020-12-02 20:10:57 -05:00
Jeffrey Walton
c1d8d81e85
Update CHAM64 and CHAM128 key setup 2020-12-02 19:53:13 -05:00
Jeffrey Walton
f51dc25c12
Update documentation 2020-12-02 16:43:44 -05:00
Jeffrey Walton
301c169f9a
Add some signature length validation to DL_VerifierBase
Based on testing during GH #981 we found an undersized buffer caused an out-of-bounds read.
2020-12-02 16:40:25 -05:00
Jeffrey Walton
aa4cf301b4
Tighten test for CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS (GH #980)
Formerly we were just testing for __cpp_lib_uncaught_exceptions. Now we test for __cpp_lib_uncaught_exceptions >= 201411L
2020-11-30 17:59:07 -05:00
Jeffrey Walton
6f1aa13d22
Fix CHAM64 AlgorithmProvider
We removed the template based SIMD code for 64-bit algorithms due to incorrect results for CFB and OFB modes
2020-11-29 18:43:16 -05:00
Jeffrey Walton
7177df3068
Fix include for MSVC compiler (GH #972)
Thanks @wyattoday
2020-11-20 19:14:35 -05:00
Jeffrey Walton
d85a68625a
Update documentation 2020-10-01 12:27:39 -04:00
Thomas-Barbier-1A
4357824155
Fix GCC11 C++20 compile error (PR #970)
```
filters.h:1369:49: error: expected ‘)’ before ‘*’ token
    SourceTemplate<T>(BufferedTransformation *attachment)
````
2020-09-30 20:13:32 -04:00
Jeffrey Walton
38e6763249
Fix compile error on Solaris 2020-09-30 14:44:03 -04:00
Jeffrey Walton
ba286e6780
Fix missing include for MSVC compiler (GH #972) 2020-09-30 13:41:40 -04:00
Jeffrey Walton
5248185a69
Fix spelling 2020-09-25 11:34:57 -04:00
Jeffrey Walton
d97aede813
Guard for exceptions in FileStore::MaxRetrievable (GH #968) 2020-09-20 11:43:03 -04:00
Jeffrey Walton
58e7247a9c
Update documentation 2020-09-20 06:29:13 -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
2ec97f4676
Fix Clang version numbers for memset_z 2020-09-15 00:37:47 -04:00
Jeffrey Walton
a6ca1f3195
Update documentation (GH #966) 2020-09-15 00:34:39 -04:00
Jeffrey Walton
631b7082c3
Add asserts to detect allocation problems in ByteQueue (GH #962) 2020-09-13 03:05:38 -04:00
Jeffrey Walton
21992b9403
Update comments 2020-09-12 09:31:02 -04:00
Jeffrey Walton
6c1f0e4727
Clear MSVC warning using VS2019 2020-09-11 06:22:18 -04:00
Jeffrey Walton
999090a3ca
Fix MSVC compile error with VS2019 2020-09-11 06:03:55 -04:00
Jeffrey Walton
afba9f4a87
Fix MSVC compile error with VS2019 2020-09-11 05:59:46 -04:00
Jeffrey Walton
4f2ba562e7
Clear MSVC warnings 2020-09-11 05:42:29 -04:00
Jeffrey Walton
04dee2a467
Fix bad allocation size due to BufferedTransformation::TransferMessagesTo2 (GH #962) 2020-09-11 03:17:44 -04:00
Jeffrey Walton
e16be7a380
Change pem_eol.exe program name for consistency 2020-08-26 02:29:15 -04:00
Jeffrey Walton
227fb68f1b
Update cryptest-pem.sh 2020-08-26 00:28:12 -04:00
Jeffrey Walton
82d8257b36
Fix ARM32 compile with Clang 2020-08-09 03:11:12 -04:00
Jeffrey Walton
5856c5bf4a
Use old and new macro names in configure.sh 2020-08-08 03:26:03 -04:00
Jeffrey Walton
2c6e4b17d7
Use define CRYPTOPP_CXX11_STATIC_INIT name 2020-08-07 19:11:47 -04:00
Jeffrey Walton
7d0859d9db
Rename test program 2020-08-07 19:09:45 -04:00
Jeffrey Walton
1d6f04eb8b
Fix alignas test on ARM32 2020-08-07 11:24:07 -04:00