diff options
author | Jack Lloyd <[email protected]> | 2018-05-29 14:48:15 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-05-29 14:48:15 -0400 |
commit | 48fb47c2aad3d39c51d971685b0be3f6a9292e15 (patch) | |
tree | faeca0d57adec9f76bc5fbe0f5f84383b79f787f /src/tests/test_newhope.cpp | |
parent | 5b60dae056a652c9eb0b480db8bfa020ead9d4e1 (diff) |
Make the tests VarMap an actual type instead of a hashmap typedef.
Diffstat (limited to 'src/tests/test_newhope.cpp')
-rw-r--r-- | src/tests/test_newhope.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/test_newhope.cpp b/src/tests/test_newhope.cpp index 171ddd22e..38e1539ce 100644 --- a/src/tests/test_newhope.cpp +++ b/src/tests/test_newhope.cpp @@ -112,12 +112,12 @@ class NEWHOPE_Tests final : public Text_Based_Test { Test::Result result("NEWHOPE"); - const std::vector<uint8_t> h_output_a = get_req_bin(vars, "H_OutputA"); - const std::vector<uint8_t> h_output_b = get_req_bin(vars, "H_OutputB"); - const std::vector<uint8_t> shared_key = get_req_bin(vars, "SharedKey"); + const std::vector<uint8_t> h_output_a = vars.get_req_bin("H_OutputA"); + const std::vector<uint8_t> h_output_b = vars.get_req_bin("H_OutputB"); + const std::vector<uint8_t> shared_key = vars.get_req_bin("SharedKey"); - NEWHOPE_RNG drbg_a(get_req_bin(vars, "DRBG_SeedA")); - NEWHOPE_RNG drbg_b(get_req_bin(vars, "DRBG_SeedB")); + NEWHOPE_RNG drbg_a(vars.get_req_bin("DRBG_SeedA")); + NEWHOPE_RNG drbg_b(vars.get_req_bin("DRBG_SeedB")); Botan::SHA_3_256 sha3; |