aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-111-5/+14
|\ | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-291-0/+12
| |\ | | | | | | | | | | | | | | | fc8daa606ab7954eab48778d7236986747b719e4) to branch 'net.randombit.botan.c++0x' (head 2bf71b0a2e0e468d7eb3631e4ca284234f554729)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-041-5/+14
| |\ \ | | | | | | | | | | | | | | | | | | | | 303b2518a80553214b1e5ab4d9b96ef54629cbc7) to branch 'net.randombit.botan.c++0x' (head d734eefabe4816be4dd3e3e6e7bb13b7ab5be148)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-5/+14
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-09-031-5/+14
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29c41b4a949207b1544096c3afab668f8b5179e) to branch 'net.randombit.botan.c++0x' (head a9d0c2f805b3c20a4c648575d7256959db8329fe)
| | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-041-5/+14
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 717a9d103aa80e6d66c04e3a23cf173aadf56ceb) to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
| | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-091-5/+14
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 161b5c0300b72baa746f101fda1e2b4a7c71818c) to branch 'net.randombit.botan.c++0x' (head 1fc3875bb8daf4ad0e90ba66db72642203cb9984)
| | | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-3/+6
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-05-191-5/+14
| | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66b216669d7ac91303378281d760236153955ae4) to branch 'net.randombit.botan.c++0x' (head b911a76971563afcde85935a44a43248a3f5b4a6)
| | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-5/+14
| | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-241-1/+1
| | | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 367d157c1221a162f5b4098492944a509ef6d019) to branch 'net.randombit.botan.c++0x' (head 1b9e8c4e92663f30b7d57b0fd8f57eb13cfce155)
| | | | | | | | * | | | Fix for removal of Default_Benchmark_Timerlloyd2009-10-131-6/+15
| | | | | | | | | | | |
* | | | | | | | | | | | More VC warning fixeslloyd2010-12-131-2/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Add a simple but functioning implementation of Keccak. Only thelloyd2010-12-101-0/+4
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proposed SHA-3 parameter sets are supported.
* | | | | | | | | | | Thomas Keller reports that Mac OS X 10.5 still uses gcc 4.0.1 and it haslloyd2010-11-121-0/+12
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the same reverse iterator bug. Use the workaround for gcc 4.0.*
* / / / / / / / / / Compile fixlloyd2010-10-291-1/+1
|/ / / / / / / / /
* | | | | | | | | s/BLOCK_SIZE/block_size()/lloyd2010-10-131-1/+1
| | | | | | | | |
* | | | | | | | | My version of Sun Studio has the same reverse iterator bug as GCC 3lloyd2010-09-071-1/+1
|/ / / / / / / /
* / / / / / / / Use the standalone version of the hex decoder instead of the wrapper thatlloyd2010-09-031-0/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | previously existed in misc.cpp that emulated it via a pipe and filter.
* / / / / / / Add a new option for benchmarking --buf-size which specifies the size oflloyd2010-07-301-4/+5
|/ / / / / / | | | | | | | | | | | | | | | | | | the buffer (in KiB) to process.
* | | | | / Fix ECB benchmarkinglloyd2010-06-301-1/+3
| |_|_|_|/ |/| | | |
* | | | | Work around GCC 3.x bug with reverse iteratorslloyd2010-06-111-2/+6
| | | | |
* | | | | Remove FORK-256; it's obscure and has been definitively broken.lloyd2010-05-251-1/+0
|/ / / / | | | | | | | | | | | | | | | | More commentary posted to the list: http://lists.randombit.net/pipermail/botan-devel/2010-May/001123.html
* / / / Prevent crash if asked to benchmark unknown block cipher with a modelloyd2010-05-051-4/+11
|/ / / | | | | | | | | | (eg "NoSuchCipher/CBC")
* | | Add block cipher cascadelloyd2010-01-111-2/+5
| | |
* | | Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-0/+5
| |/ |/| | | | | | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* | Force line flush in benchmark, useful when tee'ing outputlloyd2009-12-231-1/+1
| |
* | Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-4/+4
|/ | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function.
* Fix benchmarking of PK stufflloyd2009-09-291-1/+1
|
* Modify the self test program to use the builtin runtime benchmarking goop.lloyd2009-09-241-123/+191
| | | | | | | | | Features dropped: RNG benchmarking, the --bench-type option. New feature: Anything the library understands can be benchmarked using --bench-algo. Use 3DES and Serpent for mode benchmarking along with AES-128.
* Remove support for HTML benchmark output. Easier/simpler to parse thelloyd2009-08-141-46/+10
| | | | | output with a script after the fact to generate such things, especially as often for HTML I want to do multiple side-by-side results.
* Use std::vector instead of SecureVector to hold random input for filter ↵lloyd2008-11-171-3/+3
| | | | benchmark
* Use heap rather than stack for data input. Increase size to 128klloyd2008-10-221-5/+5
|
* s/Mbyte/MiB/ to be precise about meaning (2^20 bytes/second)lloyd2008-09-301-2/+2
|
* Use the Timer class for all benchmarkinglloyd2008-09-051-13/+12
|
* Remove most of the direct references to the global_rng() calllloyd2008-06-281-8/+14
|
* Remove uses of global PRNG from self-test and benchmark code. Assumeslloyd2008-06-271-3/+2
| | | | access to /dev/random (will be cleaned up shortly)
* Fix some -Wmissing-declarations warningslloyd2008-06-121-0/+5
|
* Add a full set of tests for the ANSI X9.31 PRNG, using data takenlloyd2008-06-071-2/+6
| | | | | | | | from the NIST CAVS dataset, taken on June 7 2008 from http://csrc.nist.gov/groups/STM/cavp/standards.html AES-128, AES-192, AES-256, and 2 and 3-key TripleDES variants are all tested.
* Remove the Global_RNG namespace, along with rng.h and rng.cpp. This waslloyd2008-04-071-2/+2
| | | | | | | | | essentially a facade for the RNG object living in the global library state. Rewrite all callers to directly invoke the global state object: this makes it more clear what functions are actually accessing mutable state outside of the normal reference graph (and thus, which functions will have to be altered in order to remove this dependency). Other facades remain in place for the configuration object and the memory allocator factory.
* Replace C-style casts with static_cast (found by GCC's -Wold-style-cast)lloyd2007-11-171-4/+4
|
* Use the get_clock/get_ticks code instead of calling std::clock directly. Allowslloyd2007-07-231-5/+6
| | | | (nominally) more accurate results.
* Respect the --seconds command line argument with --bench-algolloyd2006-08-131-2/+2
|
* Remove the public domain notices from the self-test/benchmark code,lloyd2006-08-091-1/+0
| | | | because it turns out to be something of a legal minefield.
* Initial checkin1.5.6lloyd2006-05-181-0/+185