diff options
author | lloyd <[email protected]> | 2008-04-10 14:35:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-10 14:35:43 +0000 |
commit | e540b08fcc5ccf5c56093a278a417b274eda0ae6 (patch) | |
tree | 1391172b3b8d17651b1385f6c6846802f2c2c4de /include/selftest.h | |
parent | a4af97b93eafdacfd26c55d37e4c06e20ff95258 (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/selftest.h')
-rw-r--r-- | include/selftest.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/selftest.h b/include/selftest.h new file mode 100644 index 000000000..1283b3dd4 --- /dev/null +++ b/include/selftest.h @@ -0,0 +1,20 @@ +/************************************************* +* Startup Self Test Header File * +* (C) 1999-2007 Jack Lloyd * +*************************************************/ + +#ifndef BOTAN_SELF_TEST_H__ +#define BOTAN_SELF_TEST_H__ + +#include <botan/base.h> + +namespace Botan { + +/************************************************* +* Self Tests * +*************************************************/ +bool passes_self_tests(); + +} + +#endif |