aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix various typos, and remove an unused macro in checks/bench.cpplloyd2012-04-231-12/+0
| | | | All reported by Patrick Pelletier.
* 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