aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.h
blob: df71e6f8e43b8d0c3fc777b9b5142d30d06697c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Startup Self Test
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/

#ifndef BOTAN_SELF_TESTS_H__
#define BOTAN_SELF_TESTS_H__

#include <botan/algo_factory.h>
#include <botan/scan_name.h>
#include <map>
#include <string>

namespace Botan {

/*
* Self Tests
*/
BOTAN_DLL void confirm_startup_self_tests(Algorithm_Factory& af);

BOTAN_DLL bool passes_self_tests(Algorithm_Factory& af);

BOTAN_DLL std::map<std::string, bool>
algorithm_kat(const SCAN_Name& algo_name,
              const std::map<std::string, std::string>& vars,
              Algorithm_Factory& af);

}

#endif