aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pubkey.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-31 17:20:53 -0400
committerJack Lloyd <[email protected]>2018-05-31 17:20:53 -0400
commitc82667e15d2ac1be856bbdfd74002f2f52e5c277 (patch)
tree17fae016354326b8211a5da30741916eeb571b15 /src/tests/test_pubkey.h
parent58ce0b4be4f359416e078382ddd863b14b26f254 (diff)
Add ECDSA tests from Wycheproof
Diffstat (limited to 'src/tests/test_pubkey.h')
-rw-r--r--src/tests/test_pubkey.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/test_pubkey.h b/src/tests/test_pubkey.h
index 2fde5de3c..f828a8134 100644
--- a/src/tests/test_pubkey.h
+++ b/src/tests/test_pubkey.h
@@ -76,6 +76,10 @@ class PK_Signature_Verification_Test : public PK_Test
const std::string& optional_keys = "")
: PK_Test(algo, test_src, required_keys, optional_keys) {}
+ virtual Botan::Signature_Format sig_format() const;
+
+ virtual bool test_random_invalid_sigs() const { return true; }
+
virtual std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) = 0;
private:
Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;