Commit Graph

26 Commits

Author SHA1 Message Date
Jeffrey Walton
589c25264a Don't add semicolon to CRYPTOPP_CONSTANT abd DOCUMENTED_TYPEDEF (GH #889)
This issue is a recurring issue. Let's try fixing it in the #define this time.
2019-10-03 19:40:53 -04:00
Jeffrey Walton
92df2a685f
Clear Valgrind warnings on ARM
I don't believe these should have been findings. They were clear on x86, Aarch64 and PowerPC.
2019-05-25 03:41:05 -04:00
Jeffrey Walton
7c70b39d18
Cleanup DRBGs
The change picks up about 10 cpb or 20 MB/s on Power8.
2018-08-13 09:54:07 -04:00
Jeffrey Walton
b74a6f4445
Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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
ce5ac01193
Use consistent names like MinEntropyLength()
Avoid member function names like GetMinEntropy()
2017-05-29 02:44:55 -04:00
Jeffrey Walton
b0a151a8c0
Fix VS2015/MSVC 19.00 compiler crash 2017-03-19 10:10:56 -04:00
Jeffrey Walton
a3d0da2e0e
Fix VS2008/MSVC 14.00 compiler crash 2017-03-19 06:57:51 -04:00
Jeffrey Walton
e6817b73e5
Cleared -Wunused-but-set-variable for GCC when using word128 2017-03-18 04:51:43 -04:00
Jeffrey Walton
8ad6782bec
Clear Coverity UNINIT_CTOR (CID 177743, 177744)
This was a valid finding, but the only way to get into the codepath was leaving the drbg unkeyed.
2017-03-17 21:53:38 -04:00
Jeffrey Walton
76377f8219
Whitespace checkin 2017-03-11 15:55:44 -05:00
Jeffrey Walton
ef7a6a2f4e
Speedup Hash_DRBG and HMAC_DRBG
Add benchmarks for SHA1 and SHA256 variants
Hash_DRBG sped-up by about 2 MiB/s by using word128 and word64 in the initial update loop. It did not benefit other loops
HMAC_DRBG sped-up by about 5 MiB/s by reworking variables, access and loop control
2017-03-11 08:10:32 -05:00
Jeffrey Walton
ce38a411fc
Add Random Number Generator benchmarks (Issue 386)
Move HTML header and footer into benchmark functions
Switch to <cmath> and standard math routines
Switch to <ctime> and standard clock and time routines
Move static variable^Cinto anonymous namespace
Add TimeToString function for printing start and end times
2017-03-08 16:59:24 -05:00
Jeffrey Walton
78823bfd0c
Add StaticAlgorithmName to select RNGs for object registry (Issue 386) 2017-03-07 04:52:37 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
Jeffrey Walton
62f92dd592
Change next version from 5.7 to 6.0
Crypto++ 5.7 was the increment after the 5.6.5 release. Crypto++ 6.0 accurately reflects compatibility
2017-02-21 12:59:20 -05:00
Jeffrey Walton
8c20630c2d
Remove extra preamble for copyright.
Similar text may be added in the future
2017-02-21 02:54:09 -05:00
Jeffrey Walton
9d7c5fce55
Remove old VerifierFilter, switch to SignatureVerificationFilter
VerifierFilter was a typedef for SignatureVerificationFilter. The name changed at Crypto++ 5.0
Updated documentation
2017-02-07 18:51:44 -05:00
Jeffrey Walton
48b0d8ade5
Updated documentation 2017-02-07 17:13:27 -05:00
Jeffrey Walton
2868452193
Add NIST SP800-90A HMAC_DRBG generator
Move bodies out-of-line
Whitespace
2017-02-07 08:51:58 -05:00
Jeffrey Walton
84a4e25d07
Fix illegal character in comments
It looks like Gedit's Find/Replace did not work as expected when converting left-quote and right-quote to 8-bit clean ASCII
2017-01-01 07:17:42 -05:00
Jeffrey Walton
c0c2851352
Chnage to INT_MAX for NIST DRBGs. Updated documentation 2017-01-01 06:57:27 -05:00
Jeffrey Walton
841c37e347
Add NIST_DRBG::Err class. Add additional checking per SP 800-90A. Update documentation 2017-01-01 05:53:55 -05:00
Jeffrey Walton
ef185fa013
Add documentation for NIST_DRBG base class and Hash_DRBG generator 2016-12-31 12:28:41 -05:00
Jeffrey Walton
5c932fcc3b
Add NIST SP800-90A Hash_DRBG generator 2016-12-30 21:46:03 -05:00