aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_siv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_siv.cpp')
-rw-r--r--src/tests/test_siv.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/test_siv.cpp b/src/tests/test_siv.cpp
index 99fb35f9b..d7380a9ba 100644
--- a/src/tests/test_siv.cpp
+++ b/src/tests/test_siv.cpp
@@ -25,12 +25,12 @@ class SIV_Tests final : public Text_Based_Test
Test::Result run_one_test(const std::string& algo, const VarMap& vars) override
{
- const std::vector<uint8_t> key = get_req_bin(vars, "Key");
- const std::vector<uint8_t> nonce = get_opt_bin(vars, "Nonce");
- const std::vector<uint8_t> input = get_req_bin(vars, "In");
- const std::vector<uint8_t> expected = get_req_bin(vars, "Out");
+ const std::vector<uint8_t> key = vars.get_req_bin("Key");
+ const std::vector<uint8_t> nonce = vars.get_opt_bin("Nonce");
+ const std::vector<uint8_t> input = vars.get_req_bin("In");
+ const std::vector<uint8_t> expected = vars.get_req_bin("Out");
const std::vector<std::string> ad_list =
- Botan::split_on(get_req_str(vars, "ADs"), ',');
+ Botan::split_on(vars.get_req_str("ADs"), ',');
Test::Result result(algo + "/SIV");