diff options
author | lloyd <[email protected]> | 2009-09-29 18:51:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-29 18:51:42 +0000 |
commit | a5e83abdf7d63dd52147ff72bfb15593dcf63046 (patch) | |
tree | 00c22dfa62a61b874875bc5cc7fc3db9e65e6d77 /src/selftest/selftest.h | |
parent | f6f5270f04aaee5a29c3562991a1f2378b63652c (diff) |
Add interface for general runtime self-testing of ciphers, hashes, etc
Diffstat (limited to 'src/selftest/selftest.h')
-rw-r--r-- | src/selftest/selftest.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/selftest/selftest.h b/src/selftest/selftest.h index 9e36d2298..b5fc9f80a 100644 --- a/src/selftest/selftest.h +++ b/src/selftest/selftest.h @@ -9,6 +9,8 @@ #define BOTAN_SELF_TESTS_H__ #include <botan/algo_factory.h> +#include <map> +#include <string> namespace Botan { @@ -17,6 +19,11 @@ namespace Botan { */ BOTAN_DLL bool passes_self_tests(Algorithm_Factory& af); +BOTAN_DLL std::map<std::string, bool> +algorithm_kat(const std::string& name, + const std::map<std::string, std::string>& vars, + Algorithm_Factory& af); + } #endif |