aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest
Commit message (Collapse)AuthorAgeFilesLines
* Use auto for long iterator names, etc.lloyd2009-11-161-2/+1
| | | | It will be nice to convert to the range-based for loop once that's available.
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-2/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Remove a dead functionlloyd2009-10-071-9/+0
|
* Remove includes of stdio.hlloyd2009-10-071-2/+0
|
* Add cipher mode selftesting in selftest.cpplloyd2009-10-063-151/+198
| | | | Convert hardcoded startup selftests to use the new selftest framework
* Add interface for general runtime self-testing of ciphers, hashes, etclloyd2009-09-292-8/+75
|
* Fix some unused variable nits pointed out by icc 10.1lloyd2009-07-211-1/+1
|
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-13/+10
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-302-20/+24
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Remove support for provider identifiers from SCAN_Name - it turns out thislloyd2008-11-121-5/+5
| | | | | | | | | | | | was not the right place to keep track of this information. Also modify all Algorithm_Factory constructor functions to take instead of a SCAN_Name a pair of std::strings - the SCAN name and an optional provider name. If a provider is specified, either that provider will be used or the request will fail. Otherwise, the library will attempt best effort, based on user-set algorithm implementation settings (combine with benchmark.h for choosing the fastest implementation at runtime) or if not set, a static ordering (preset in static_provider_weight in prov_weight.cpp, though it would be nice to make this easier to toggle).
* Change self tests to not use lookup (instead passes_self_tests takes anlloyd2008-11-112-101/+121
| | | | Algorithm_Factory)
* Move engine to libstate/ directory, since there is a mutual dependencylloyd2008-11-091-1/+0
| | | | | | (messy). Remove unused libstate.h includes from a few files.
* Split base.h into block_cipher.h and stream_cipher.hlloyd2008-11-081-1/+1
| | | | | | It turned out many files were including base.h merely to get other includes (like types.h, secmem.h, and exceptn.h). Those have been changed to directly include the files containing the declarations that code needs.
* Move libstate and selftest out of core/ dir to toplevellloyd2008-10-263-0/+207