diff options
Diffstat (limited to 'src/selftest')
-rw-r--r-- | src/selftest/selftest.cpp | 28 | ||||
-rw-r--r-- | src/selftest/selftest.h | 16 |
2 files changed, 24 insertions, 20 deletions
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp index 4222dc3c9..ea032b04e 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -1,7 +1,9 @@ -/************************************************* -* Startup Self Tests Source File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ +/* +* Startup Self Tests +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #include <botan/selftest.h> #include <botan/filters.h> @@ -16,9 +18,9 @@ namespace Botan { namespace { -/************************************************* -* Perform a Known Answer Test * -*************************************************/ +/* +* Perform a Known Answer Test +*/ void do_kat(const std::string& in, const std::string& out, const std::string& algo_name, Filter* filter) { @@ -32,9 +34,9 @@ void do_kat(const std::string& in, const std::string& out, } } -/************************************************* -* Perform a KAT for a cipher * -*************************************************/ +/* +* Perform a KAT for a cipher +*/ void cipher_kat(const BlockCipher* proto, const std::string& key_str, const std::string& iv_str, @@ -73,9 +75,9 @@ void cipher_kat(const BlockCipher* proto, } -/************************************************* -* Perform Self Tests * -*************************************************/ +/* +* Perform Self Tests +*/ bool passes_self_tests(Algorithm_Factory& af) { try diff --git a/src/selftest/selftest.h b/src/selftest/selftest.h index 673ece225..9e36d2298 100644 --- a/src/selftest/selftest.h +++ b/src/selftest/selftest.h @@ -1,7 +1,9 @@ -/************************************************* -* Startup Self Test Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ +/* +* 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__ @@ -10,9 +12,9 @@ namespace Botan { -/************************************************* -* Self Tests * -*************************************************/ +/* +* Self Tests +*/ BOTAN_DLL bool passes_self_tests(Algorithm_Factory& af); } |