Commit Graph

32 Commits

Author SHA1 Message Date
Jeffrey Walton
eb894d2d5a
Remove bold from algorithm name in benchmarks 2017-11-13 23:01:04 -05:00
Jeffrey Walton
642cf3aa74
Add "stdcpp.h" to bench1.cpp and bench2.cpp (GH #520)
This is the first of possibly two or three for Borland compilers. We have to be careful because its very easy to break something due to math overloads with other compilers like SunCC or XL/C
2017-10-12 21:52:23 -04:00
Jeffrey Walton
c40a4dc9f7
Fix Clang warning on missing template definitions 2017-08-16 12:21:07 -04:00
Jeffrey Walton
7ac77ca9ac Revert "Revert "Clear Visual Studio warnings (Issue 412)""
This reverts commit c3871aec94.
2017-06-02 05:18:52 -04:00
Jeffrey Walton
c3871aec94 Revert "Clear Visual Studio warnings (Issue 412)"
This reverts commit eb3b27a6a5. The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
2017-06-02 05:06:56 -04:00
Jeffrey Walton
eb3b27a6a5
Clear Visual Studio warnings (Issue 412) 2017-05-30 16:37:41 -04:00
Jeffrey Walton
2297dd000a
Removed "typedef SHA1 SHA" (Issue 369)
This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Its not practical move SHA1 into Weak:: namespace or "typedef SHA256 SHA" because SHA1 is too intertwined at the moment.

In the interim, maybe we can place SHA1 in both CryptoPP:: and Weak:: namespaces. This will allow us to transition into Weak::SHA1 over time, and signal to users SHA1 should be avoided.
2017-04-24 05:05:14 -04:00
Jeffrey Walton
2b4ec92dbe
Remove style from TABLE tag for benchmarks 2017-03-12 09:30:16 -04: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
73836e58a5
Add Test namespace within CryptoPP namespace (Issue 379) 2017-02-21 02:03:29 -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
08c0e26020
Add CRYPTOPP_ASSERT to Validate routines
Since we switched to CRYPTOPP_ASSERT we don't have to worry about an accidental assert in production. We can now assert ValidateElement and ValidateGroup and let the code warn of potential problems during development.
This came about because ECGDSA inadvertently used GetGroupOrder() rather than GetSubgroupOrder(). The assert alerted to the problem area without the need for debugging
2017-01-20 06:10:14 -05:00
Jeffrey Walton
9739ba8afe
Add Aumasson and Bernstein's SipHash (Issue 348) 2016-12-17 03:58:36 -05:00
Jeffrey Walton
2f1187c799
Fix copy/paste typo in ECGDSA benchmarks 2016-12-13 19:20:38 -05:00
Jeffrey Walton
379e76d27d
Add ECGDSA benchmarks using secp256k1 and sect233r1
Also add missing validation functions to test.cpp. The test and functions were present, but only accessible with 'cryptest.ex v', where all the tests were run
2016-12-13 19:16:21 -05:00
Jeffrey Walton
7e42780517
Add Deterministic DSA and ECDSA Signatures (Issue 121)
Based on Douglas Roark PR 131
2016-12-11 01:02:00 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05:00
Jeffrey Walton
060ba1a696 Add EC prefix to classes which operate over elliptic curves 2016-07-21 00:21:48 -04:00
Jeffrey Walton
168c6250de Stub-out BenchMarkAgreement for HMQV and FHMQV benchmarks 2016-07-14 17:30:37 -04:00
Jeffrey Walton
a97e61c1dc Stub-out HMQV and FHMQV benchmarks 2016-07-13 17:10:19 -04:00
Jeffrey Walton
a0b078543a Added CRYPTOPP_DATA_DIR patch (Issue 82) 2015-12-25 23:50:28 -05: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
weidai
97cf1c813a re-enable accidentally disabled benchmarks 2011-04-26 16:11:00 +00:00
weidai
c1b94aa0b2 use GlobalRNG(), improved benchmarking of AuthenticatedSymmetricCipher 2010-06-29 01:11:47 +00:00
weidai
08556abc3f fix ECNR name to ECDSA 2009-04-05 20:03:10 +00:00
weidai
2779fc6050 - add EAX mode, XSalsa20
- speed up GCM key setup
- wipe stack in AES assembly code
- speed up CFB mode
2009-03-12 11:24:12 +00:00
weidai
64af4560dc fixed wrong name shown for ECDSA 2009-03-12 01:58:15 +00:00
weidai
c2397a4600 benchmark key and IV setup. remove low security benchmarks 2007-04-15 23:42:58 +00:00
weidai
1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai
259ee22eba split bench.cpp in 2 for alpha (.got subsegment exceeds 64K) 2003-07-29 01:16:22 +00:00