aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/bench.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the Turing and WiderWAKE4+1 stream cipher implementations.lloyd2013-03-191-1/+1
| | | | Both never saw much deployment or analysis.
* Merge fixupslloyd2012-02-201-8/+4
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2012-02-201-1/+1
|\ | | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * The benchmark examples ran very slowly because they were passinglloyd2012-02-201-2/+2
| | | | | | | | | | | | | | 16*1024 to an argument that treated those values as KiB, it took the RNG ~3 seconds to create 16 MiB of data to randomize the input. Change to 16. Also cap the value that can be passed to --buf-size to 1024, for a 1 MiB buffer.
| * More pubkey doc updateslloyd2011-04-081-0/+107
| |
| * Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-107/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
* | Fix examples. Use crazy hack of compiling asio tls server using 4.6.0lloyd2012-02-201-14/+27
| | | | | | | | | | | | but linking using 4.7.0 - asio seems to have problems with the 4.7.0 libstdc++ in C++11 mode, mostly related to missing noexcept and trying to copy things that are move only.
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-26/+14
|\ \ | |/ |/| | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-1/+0
| |\ | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-28/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-26/+16
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | | * | Fix some examples for changed APIs in C++0x branchlloyd2009-11-171-2/+1
| | | | |
| | | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-171-1/+2
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9ca6596a127964cb9795d22bc2a5642fab5de84) to branch 'net.randombit.botan.c++0x' (head 3c769a81bd357a14f8aca4502b67e8465cee0947)
| | | * | | Use <chrono> in the runtime benchmarking code instead of the locallloyd2009-09-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | timers.
* | | | | | Fix compilation of examples; benchmarking and RNG changes mostlylloyd2010-10-121-1/+1
| |_|_|_|/ |/| | | |
* | | | | 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
* / / / Fix minor errors and warnings in the examples. Remove boost dependency fromlloyd2010-03-031-0/+4
|/ / / | | | | | | | | | rng_test example.
* | | Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-2/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-171-17/+27
|/
* Remove some debug code from benchmark examplelloyd2009-09-151-6/+0
|
* Add an implementation of Blue Midnight Wish (512 bit version only)lloyd2009-09-151-23/+20
|
* Add a couple of new exampleslloyd2009-08-041-0/+98