aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest
Commit message (Collapse)AuthorAgeFilesLines
* Make startup self-test failures more verboselloyd2009-12-262-82/+92
|
* 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.
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-7/+0
|
* 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