aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make startup self-test failures more verboselloyd2009-12-261-82/+90
|
* Tweak for easier debugginglloyd2009-12-231-2/+4
|
* Add missing BOTAN_DLL exports.lloyd2009-12-161-1/+1
| | | | Move most of the engine headers to internal
* Make many more headers internal-only.lloyd2009-12-161-1/+1
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* 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-061-144/+195
| | | | Convert hardcoded startup selftests to use the new selftest framework
* Add interface for general runtime self-testing of ciphers, hashes, etclloyd2009-09-291-8/+68
|
* Fix some unused variable nits pointed out by icc 10.1lloyd2009-07-211-1/+1
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-13/+15
| | | | | | | | | | | | | | | 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-111-97/+117
| | | | 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.
* Move libstate and selftest out of core/ dir to toplevellloyd2008-10-261-0/+163