aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-23 19:26:57 -0500
committerJack Lloyd <[email protected]>2018-02-23 19:26:57 -0500
commitc686924dd96f13899999647e1bcd6981a11f0211 (patch)
treea354245bf43c6be494ebb98355fb8d62c624a27f /src/tests
parentadd911beb725b9582d731bc51dfc5f90a6533c63 (diff)
Specify in test message that input is misaligned
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_block.cpp b/src/tests/test_block.cpp
index 78e828e17..cb2eff807 100644
--- a/src/tests/test_block.cpp
+++ b/src/tests/test_block.cpp
@@ -123,7 +123,7 @@ class Block_Cipher_Tests final : public Text_Based_Test
cipher->encrypt_n(buf.data() + 1, buf.data() + 1, blocks);
}
- result.test_eq(provider.c_str(), "encrypt",
+ result.test_eq(provider.c_str(), "encrypt misaligned",
buf.data() + 1, buf.size() - 1,
expected.data(), expected.size());
@@ -135,7 +135,7 @@ class Block_Cipher_Tests final : public Text_Based_Test
cipher->decrypt_n(buf.data() + 1, buf.data() + 1, blocks);
}
- result.test_eq(provider.c_str(), "decrypt",
+ result.test_eq(provider.c_str(), "decrypt misaligned",
buf.data() + 1, buf.size() - 1,
input.data(), input.size());