aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_aead.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-05 12:00:24 +0000
committerlloyd <[email protected]>2014-11-05 12:00:24 +0000
commit4f474481f46bffc095ae104485b8da95bcb03973 (patch)
tree2da1bf58bdce2a2e9a1a8a6f8d27dbdb3a87e174 /src/tests/test_aead.cpp
parentf78e5e3fbd87d2e903f5ff4a230b65ac6d44f281 (diff)
Replace Transformatio::nstart with start_raw so we can do a full set
of overloads in the base class with the same name.
Diffstat (limited to 'src/tests/test_aead.cpp')
-rw-r--r--src/tests/test_aead.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp
index f716c0554..2cc7a0c50 100644
--- a/src/tests/test_aead.cpp
+++ b/src/tests/test_aead.cpp
@@ -41,7 +41,7 @@ size_t aead_test(const std::string& algo,
const auto expected_ct = hex_decode_locked(expected);
auto vec = pt;
- enc->start_vec(nonce);
+ enc->start(nonce);
// should first update if possible
enc->finish(vec);
@@ -54,7 +54,7 @@ size_t aead_test(const std::string& algo,
vec = expected_ct;
- dec->start_vec(nonce);
+ dec->start(nonce);
dec->finish(vec);
if(vec != pt)
@@ -67,7 +67,7 @@ size_t aead_test(const std::string& algo,
{
vec = expected_ct;
vec[0] ^= 1;
- dec->start_vec(nonce);
+ dec->start(nonce);
try
{
dec->finish(vec);
@@ -82,7 +82,7 @@ size_t aead_test(const std::string& algo,
bad_nonce[0] ^= 1;
vec = expected_ct;
- dec->start_vec(bad_nonce);
+ dec->start(bad_nonce);
try
{
@@ -105,7 +105,7 @@ size_t aead_test(const std::string& algo,
aead_dec->set_associated_data_vec(bad_ad);
vec = expected_ct;
- dec->start_vec(nonce);
+ dec->start(nonce);
try
{