aboutsummaryrefslogtreecommitdiffstats
path: root/include/selftest.h
Commit message (Collapse)AuthorAgeFilesLines
* Add BOTAN_DLL macro in all needed spots for working DLL export. Basedlloyd2008-04-211-1/+1
| | | | | | | | | | | | on a patch from Joel Low for MSVC, modified and tested with GCC using -fvisibility=hidden and the visibility attribute. Getting this working completely requires making the shared object and static lib builds completely distinct (which is also a win since it allows avoiding -fPIC usage, etc in the static lib). Currently too many things are being exported, though it is an improvement as internal-only code like the bigint_* functions are hidden.
* Rename fips140.h to selftest.h, since it doesn't really have much to dolloyd2008-04-101-0/+20
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.