From 345f0881bc44b7a8344ea943e96b1dad4a8d484b Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 26 Nov 2016 11:38:01 -0500 Subject: Add test for various functions previously missed (T::clone, PBKDF::name, AEAD::output_length) Fix a bug in CCM, GCM, and OCB decryption which caused `output_length(tag_size())` to fail even though empty plaintexts are certainly defined for all three modes. --- src/tests/tests.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/tests.h') diff --git a/src/tests/tests.h b/src/tests/tests.h index 7d168be72..733e948ea 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -230,6 +230,8 @@ class Test bool test_ne(const std::string& what, size_t produced, size_t expected); + bool test_ne(const std::string& what, const std::string& str1, const std::string& str2); + #if defined(BOTAN_HAS_BIGINT) bool test_eq(const std::string& what, const BigInt& produced, const BigInt& expected); bool test_ne(const std::string& what, const BigInt& produced, const BigInt& expected); -- cgit v1.2.3