summaryrefslogtreecommitdiffstats
path: root/botan/checks/validate.h
diff options
context:
space:
mode:
authorKeith Isdale <keith.isdale@nokia.com>2010-07-26 14:56:53 +1000
committerKeith Isdale <keith.isdale@nokia.com>2010-07-26 14:56:53 +1000
commit9f034793bcfc51c2b7c1dd14db806f7258f9a9eb (patch)
tree63bd0f50ce5b77828ad8205eafd7b9412810499e /botan/checks/validate.h
parent619d92cfef29e653bfdf852e83888e50cfc4348f (diff)
parent65271649dbc90f3af1184ad1b23bdb64c0c07d07 (diff)
Merge branch 'master' of git://git-nokia.trolltech.com.au/qtsoftware/research/qtuitest
Diffstat (limited to 'botan/checks/validate.h')
-rw-r--r--botan/checks/validate.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/botan/checks/validate.h b/botan/checks/validate.h
new file mode 100644
index 0000000..f7cc4bd
--- /dev/null
+++ b/botan/checks/validate.h
@@ -0,0 +1,34 @@
+
+#ifndef BOTAN_TEST_VALIDATE_H__
+#define BOTAN_TEST_VALIDATE_H__
+
+#include <botan/types.h>
+#include <botan/rng.h>
+#include <string>
+
+using Botan::RandomNumberGenerator;
+
+using Botan::u32bit;
+
+u32bit do_validation_tests(const std::string&,
+ RandomNumberGenerator& rng,
+ bool = true);
+
+u32bit do_bigint_tests(const std::string&,
+ RandomNumberGenerator& rng);
+
+u32bit do_gfpmath_tests(RandomNumberGenerator& rng);
+
+
+u32bit do_pk_validation_tests(const std::string&,
+ RandomNumberGenerator&);
+
+void do_ec_tests(RandomNumberGenerator& rng);
+
+u32bit do_ecdsa_tests(RandomNumberGenerator& rng);
+u32bit do_eckaeg_tests(RandomNumberGenerator& rng);
+u32bit do_cvc_tests(RandomNumberGenerator& rng);
+
+void do_x509_tests(RandomNumberGenerator&);
+
+#endif