aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash_quickly.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cull remaining mostly dubious examples. Also remove readme.txtlloyd2014-01-011-98/+0
|
* Enable TLS again (bad merge)lloyd2012-02-201-1/+1
| | | | | | | Fixes for examples. Remove locking from session manager in the asio example, now done by default in the lib.
* The benchmark examples ran very slowly because they were passinglloyd2012-02-201-1/+1
| | | | | | | 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/+98
|
* Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-98/+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.
* Use binary I/O where neededlloyd2010-10-151-1/+1
|
* Fix compilation of examples; benchmarking and RNG changes mostlylloyd2010-10-121-1/+1
|
* Fix minor errors and warnings in the examples. Remove boost dependency fromlloyd2010-03-031-10/+14
| | | | 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-3/+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.
* Update examples for changed 1.8 APIs, including:lloyd2008-11-211-1/+1
| | | | | | | | | | | | | EAX mode taking a BlockCipher* instead of a name. PK_Signer taking an EMSA* instead of a name. generate_dsa_primes using an Algorithm_Factory Changes to how new algorithms are added (look_add.h is gone entirely, replaced by Algorithm_Factory calls) in xor_ciph. Also update for new stream cipher key schedule function name and new directory for base class decl.
* Add an example of using the benchmark system to choose the fastest SHA-1lloyd2008-11-211-0/+90
implementation and then setting it as the default.