From 4f474481f46bffc095ae104485b8da95bcb03973 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 5 Nov 2014 12:00:24 +0000 Subject: Replace Transformatio::nstart with start_raw so we can do a full set of overloads in the base class with the same name. --- src/tests/test_aead.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tests/test_aead.cpp') 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 { -- cgit v1.2.3