aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2012-02-201-4/+0
|\ | | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * Remove debug printfs, stdio includeslloyd2012-01-301-4/+0
| |
* | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-02-201-2/+1
|\ \ | |/ |/| | | | | | | 0ceb9cde62a2b3614901ae85a53546d9fc641326) to branch 'net.randombit.botan.cxx11' (head 777e65950ef3706a82e5df20dcca7fcc999ca533)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-2/+1
| |\ | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-041-2/+1
| | |\ | | | | | | | | | | | | | | | | | | | | 717a9d103aa80e6d66c04e3a23cf173aadf56ceb) to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
| | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-221-2/+17
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | 647eeb4f4cf8fa4cf487cdc463d48f09fe18658e) to branch 'net.randombit.botan.c++0x' (head 2539675db91883b11895ddc5244721e93c413321)
| | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-4/+13
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | * \ \ 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-162-8/+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.
* | | | | | | | | | Add a slow but functional implementation of Camellialloyd2012-01-281-1/+5
|/ / / / / / / / /
* / / / / / / / / size_t in selftestlloyd2010-10-121-1/+1
|/ / / / / / / /
* | | | | | | / Rename Default_Engine to Core_Engine which describes its purposeslloyd2010-07-272-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | (slightly) better.
* | | | | | | Doxygenlloyd2010-06-211-2/+17
| |_|_|_|_|/ |/| | | | |
* | | | | | In the cipher KAT selftest, query if the IV length we got waslloyd2010-06-161-4/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | supported before setting it. If it's not, then check if a 0 length IV is supported (eg, ECB mode). If neither is true, throw Invalid_IV_Length.
* | | | / 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