diff options
author | lloyd <[email protected]> | 2008-11-17 18:18:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-17 18:18:19 +0000 |
commit | d835338c5356b806fa5f4e1b4ee7a7d6f016a0de (patch) | |
tree | 12b50533bde4c9b614fda79a6a608a22ae19e6ed /checks/validate.h | |
parent | 33e15eb51ce0a2cd5c4b1dc0b36d1bb90b3a4d81 (diff) |
Reorganize all GF(p)/ECC tests to be called from pk.cpp
Diffstat (limited to 'checks/validate.h')
-rw-r--r-- | checks/validate.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/checks/validate.h b/checks/validate.h index 38f839ac4..f7cc4bdf9 100644 --- a/checks/validate.h +++ b/checks/validate.h @@ -6,27 +6,29 @@ #include <botan/rng.h> #include <string> +using Botan::RandomNumberGenerator; + using Botan::u32bit; u32bit do_validation_tests(const std::string&, - Botan::RandomNumberGenerator& rng, + RandomNumberGenerator& rng, bool = true); u32bit do_bigint_tests(const std::string&, - Botan::RandomNumberGenerator& rng); + RandomNumberGenerator& rng); -u32bit do_gfpmath_tests(Botan::RandomNumberGenerator& rng); +u32bit do_gfpmath_tests(RandomNumberGenerator& rng); u32bit do_pk_validation_tests(const std::string&, - Botan::RandomNumberGenerator&); + RandomNumberGenerator&); void do_ec_tests(RandomNumberGenerator& rng); -u32bit do_ecdsa_tests(Botan::RandomNumberGenerator& rng); -u32bit do_eckaeg_tests(Botan::RandomNumberGenerator& rng); -u32bit do_cvc_tests(Botan::RandomNumberGenerator& rng); +u32bit do_ecdsa_tests(RandomNumberGenerator& rng); +u32bit do_eckaeg_tests(RandomNumberGenerator& rng); +u32bit do_cvc_tests(RandomNumberGenerator& rng); -void do_x509_tests(Botan::RandomNumberGenerator&); +void do_x509_tests(RandomNumberGenerator&); #endif |