aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* s/check/test/glloyd2014-01-011-186/+0
|
* Remove filter based benchmark codelloyd2014-01-011-95/+39
|
* Move ECB to Transformation APIlloyd2013-08-151-1/+4
|
* Make XTS a Transformation under src/modeslloyd2013-08-141-3/+1
| | | | | | Move AEAD modes to src/modes/aead Add filters for Transformations (based on original AEAD filters)
* Rename ARC4 to RC4lloyd2013-04-191-1/+1
|
* Kill off old GCC 3.x workaroundlloyd2013-04-121-8/+2
|
* Working GCM. Add support for AEAD modes in self testslloyd2013-03-161-26/+3
|
* OCB decryptionlloyd2013-03-141-2/+5
|
* Add OCB mode, currently encrypt only, and an AEAD interfacelloyd2013-03-141-0/+1
|
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-251-12/+0
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * Fix various typos, and remove an unused macro in checks/bench.cpplloyd2012-04-231-12/+0
| | | | | | | | All reported by Patrick Pelletier.
* | Remove get_nanoseconds_clock as we'll rely on std::chrono's highlloyd2012-02-201-2/+3
| | | | | | | | | | | | | | | | | | resolution clock for this in C++11. Now that the only remaining function in time.h is calendar_point, rename the header to calendar.h. Hopefully that last use will go away once a TR2 datetime library becomes available. Use std::chrono inside the library benchmark code.
* | 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
|