diff options
Diffstat (limited to 'src/tests/test_eckcdsa.cpp')
-rw-r--r-- | src/tests/test_eckcdsa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_eckcdsa.cpp b/src/tests/test_eckcdsa.cpp index f32ef92db..c6a8cdd7b 100644 --- a/src/tests/test_eckcdsa.cpp +++ b/src/tests/test_eckcdsa.cpp @@ -36,8 +36,8 @@ class ECKCDSA_Signature_KAT_Tests final : public PK_Signature_Generation_Test std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) override { - const std::string group_id = get_req_str(vars, "Group"); - const BigInt x = get_req_bn(vars, "X"); + const std::string group_id = vars.get_req_str("Group"); + const BigInt x = vars.get_req_bn("X"); Botan::EC_Group group(Botan::OIDS::lookup(group_id)); std::unique_ptr<Botan::Private_Key> key(new Botan::ECKCDSA_PrivateKey(Test::rng(), group, x)); @@ -46,7 +46,7 @@ class ECKCDSA_Signature_KAT_Tests final : public PK_Signature_Generation_Test std::string default_padding(const VarMap& vars) const override { - return "EMSA1(" + get_req_str(vars, "Hash") + ")"; + return "EMSA1(" + vars.get_req_str("Hash") + ")"; } Botan::RandomNumberGenerator* test_rng(const std::vector<uint8_t>& nonce) const override |