aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-10 14:35:43 +0000
committerlloyd <[email protected]>2008-04-10 14:35:43 +0000
commite540b08fcc5ccf5c56093a278a417b274eda0ae6 (patch)
tree1391172b3b8d17651b1385f6c6846802f2c2c4de /include
parenta4af97b93eafdacfd26c55d37e4c06e20ff95258 (diff)
Rename fips140.h to selftest.h, since it doesn't really have much to do
with FIPS-140 aside from being a startup self test. Remove the test of X9.19 MAC at startup because it's not that important, and loading it in the startup means a prototypical object will be created and exist in memory for the entire process runtime. This actually raises an interesting idea, that periodically the cache of objects could be cleared and, if one is needed again, it can be created again as if it was the first time.
Diffstat (limited to 'include')
-rw-r--r--include/selftest.h (renamed from include/fips140.h)12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/fips140.h b/include/selftest.h
index b0cae081e..1283b3dd4 100644
--- a/include/fips140.h
+++ b/include/selftest.h
@@ -1,24 +1,20 @@
/*************************************************
-* FIPS 140 Header File *
+* Startup Self Test Header File *
* (C) 1999-2007 Jack Lloyd *
*************************************************/
-#ifndef BOTAN_FIPS140_H__
-#define BOTAN_FIPS140_H__
+#ifndef BOTAN_SELF_TEST_H__
+#define BOTAN_SELF_TEST_H__
#include <botan/base.h>
namespace Botan {
-namespace FIPS140 {
-
/*************************************************
-* FIPS 140-2 Self Tests *
+* Self Tests *
*************************************************/
bool passes_self_tests();
}
-}
-
#endif