aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-2/+1
|\ | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-241-2/+4
| |\ | | | | | | | | | | | | | | | 367d157c1221a162f5b4098492944a509ef6d019) to branch 'net.randombit.botan.c++0x' (head 1b9e8c4e92663f30b7d57b0fd8f57eb13cfce155)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-161-2/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | 22c82e10d78ad0e2cdaa56cb02f3d846ed0ead5e) to branch 'net.randombit.botan.c++0x' (head 74dbf310b7fcc11f94a16cd63046219acd5d62bc)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-161-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 744dccf92270cf16b80b50ee2759424c9866b256) to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
| | * | | 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.
* | | | | 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