summaryrefslogtreecommitdiff
path: root/datatest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-06 00:24:35 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-06 00:24:35 -0400
commita5c67cfdd6ad7eeb6e5414044ab3a992d3ce74b9 (patch)
tree565ec392ca22844cfe047a2ee6348e6ee066ff02 /datatest.cpp
parent06092259c2f6d9afa7a6d8457d078d1e83435c00 (diff)
downloadcryptopp-git-a5c67cfdd6ad7eeb6e5414044ab3a992d3ce74b9.tar.gz
Add Kalyna block cipher (Issue 411)
Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
Diffstat (limited to 'datatest.cpp')
-rw-r--r--datatest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datatest.cpp b/datatest.cpp
index 94a45149..95f7da3b 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -380,7 +380,7 @@ void TestSymmetricCipher(TestData &v, const NameValuePairs &overrideParameters)
SignalTestFailure();
ConstByteArrayParameter iv;
- if (pairs.GetValue(Name::IV(), iv) && iv.size() != encryptor->IVSize() && iv.size() != blockSize)
+ if (pairs.GetValue(Name::IV(), iv) && iv.size() != encryptor->IVSize() && (int)iv.size() != blockSize)
SignalTestFailure();
if (test == "Resync")