summaryrefslogtreecommitdiff
path: root/bench1.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove bold from algorithm name in benchmarksJeffrey Walton2017-11-131-4/+6
|
* Add "stdcpp.h" to bench1.cpp and bench2.cpp (GH #520)Jeffrey Walton2017-10-121-0/+1
| | | | 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
* Use ::time() and ::log() instead of std::time() and std::log() (GH #512)Jeffrey Walton2017-09-201-4/+4
| | | | The 35c0fa82fd4c change broke GCC 4.8
* Fix benchmark selection code (GH #464)Jeffrey Walton2017-08-221-1/+1
|
* Add VIA Padlock RNGJeffrey Walton2017-08-191-0/+6
|
* Split source files to support Base Implementation + SIMD implementation (GH ↵Jeffrey Walton2017-08-171-4/+4
| | | | | #461) Split source files to support Base Implementation + SIMD implementation
* Add HMAC(SHA256) benchmarkJeffrey Walton2017-08-071-0/+1
|
* Fix multiple output of shared key benchmarksJeffrey Walton2017-07-231-16/+2
| | | | Benchmark2 is used to benchmark shared key algorithms. At the moment Benchmark2 is all or nothing. It does not understand SharedKeyMAC, SharedKeyStream, SharedKeyBlock. It will be fixed in the future.
* Revert "Revert "Clear Visual Studio warnings (Issue 412)""Jeffrey Walton2017-06-021-0/+8
| | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
* Revert "Clear Visual Studio warnings (Issue 412)"Jeffrey Walton2017-06-021-8/+0
| | | | This reverts commit eb3b27a6a543. 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.
* Clear Visual Studio warnings (Issue 412)Jeffrey Walton2017-05-301-0/+8
|
* Use consistent names like MinEntropyLength()Jeffrey Walton2017-05-291-1/+1
| | | | Avoid member function names like GetMinEntropy()
* Rework benchmark codeJeffrey Walton2017-05-191-3/+35
| | | | This change moves test selections from test.cpp into bench.cpp. It also allows us finer control over test classes and algorithms
* Add Threefish block cipher (Issue 422)Jeffrey Walton2017-05-141-3/+3
|
* Add Kalyna block cipher (Issue 411)Jeffrey Walton2017-05-061-5/+5
| | | | Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
* Add variable block size support to test and benchmarksJeffrey Walton2017-05-041-3/+8
| | | | CRYPTOPP_COVERAGE was added at 9614307ab7f4a4a4 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
* Fix table whitespaceJeffrey Walton2017-04-171-6/+12
|
* Split regtest.cpp into regtest{1|2|3}.cppJeffrey Walton2017-04-131-10/+10
| | | | | regtest.cpp is where ciphers register by name. The library has added a number of ciphers over the last couple of years and the source file has experienced bloat. Most of the ARM and MIPS test borads were suffering Out of Memory (OOM) kills as the compiler processed the source fille and the included header files. This won't stop the OOM kills, but it will help the situation. An early BeagleBoard with 512 MB of RAM is still going to have trouble, but it can be worked around by building with 1 make job as opposed to 2 or 4.
* Add ARIA block cipherJeffrey Walton2017-04-101-0/+2
| | | | | | This is the reference implementation, test data and test vectors from the ARIA.zip package on the KISA website. The website is located at http://seed.kisa.or.kr/iwt/ko/bbs/EgovReferenceList.do?bbsId=BBSMSTR_000000000002. We have optimized routines that improve Key Setup and Bulk Encryption performance, but they are not being checked-in at the moment. The ARIA team is updating its implementation for contemporary hardware and we would like to use it as a starting point before we wander too far away from the KISA implementation.
* Remove style from TABLE tag for benchmarksJeffrey Walton2017-03-121-2/+2
|
* Add AES/OFB RNG benchmarkJeffrey Walton2017-03-111-0/+11
|
* Speedup Hash_DRBG and HMAC_DRBGJeffrey Walton2017-03-111-0/+2
| | | | | | 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
* Add Random Number Generator benchmarks (Issue 386)Jeffrey Walton2017-03-081-165/+340
| | | | | | | | 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
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-6/+6
|
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-56/+44
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Use AES/GCM for PMULL benchmarkingJeffrey Walton2017-01-191-0/+4
|
* Add Aumasson and Bernstein's SipHash (Issue 348)Jeffrey Walton2016-12-171-0/+2
|
* Removed VC++ 5.0 and 6.0 workarounds (Issue 342)Jeffrey Walton2016-12-031-13/+7
|
* Add Poly1305 class (Issue 338)Jeffrey Walton2016-11-271-0/+1
|
* Add Keccak-224 through Keccak-512 benchmarksJeffrey Walton2016-09-221-0/+4
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-2/+2
| | | | 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
* Squashed commit of the following:Jeffrey Walton2016-09-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 47c75c6e9397e240919207e50e5a611d3e2a2428 Merge: d7685c2 42085ee Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 20:20:39 2016 -0400 Attempting to fix binary file merge conflict commit d7685c2d946beecc419ddb6901c24e972c7cf3ee Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 16:39:23 2016 -0400 Add vsClean.cmd to vs2010.zip commit 4b96fdf1c551260da60eb021f324bcc3fcfec626 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 16:15:38 2016 -0400 Add Keccak to vs2010.zip commit 3962db73b7113ee805b46a5bb4da64e204fe6bb0 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 15:40:35 2016 -0400 Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files commit 44401448cbb6c8125b0f1ab4419c5b174408ffd7 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 15:39:23 2016 -0400 Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files commit 847bfccb8d5c388e67745dc8c69768fa503c5135 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 14:48:02 2016 -0400 Whitespace cleanup commit 46a37be6fef361704dcf852bc9a099ce0a1da4c8 Merge: aefb8f8 3697867 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 14:43:01 2016 -0400 Merge 'master' into 'keccak' commit aefb8f8ff2b81b967089c53b457a92fc6f7544d6 Merge: 51a828b 3c91d93 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 12:39:51 2016 -0400 Merge 'master' into 'keccak' commit 51a828b88e37a4d18abb00300cd5522bd0e110c5 Merge: 4152870 e7c7722 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 10:41:36 2016 -0400 Merge 'master' into 'keccak' commit 415287041e69ddadf5ca1f6fc794b87e145fc2db Merge: 357a0c5 83ac849 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 10:34:45 2016 -0400 Merge 'master' into 'keccak' commit 357a0c510f75e4e58078b500dd469462e90f7650 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 10:13:32 2016 -0400 Removed deprecated warning from SHA3 classes commit 5cf9ec10d53b895b5a583e265e4e1298ed402195 Merge: 10ce0ed c2d60cc Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 09:43:15 2016 -0400 Merge 'master' into 'keccak' commit 10ce0ed4c5b8a1ea230062fd2dfdec0d87ec5b42 Author: Jeffrey Walton <noloader@gmail.com> Date: Thu Sep 8 09:37:40 2016 -0400 Add Keccak implementation based on early SHA3. Change SHA3 to NIST FIPS 202 conforming implementation
* Stub-out HMQV and FHMQV benchmarksJeffrey Walton2016-07-131-4/+4
|
* Add CRC-32C using CXX and SSE4 (Issue 160)Jeffrey Walton2016-04-241-0/+1
|
* Change default key size to output size per BLAKE2 recommendationJeffrey Walton2016-04-221-0/+2
|
* Add benchmarks for BLAKE2 and ChaChaJeffrey Walton2016-04-221-0/+5
|
* Rename bench.cpp to bench1.cppJeffrey Walton2016-04-221-0/+390