diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-05-06 00:24:35 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-06 00:24:35 -0400 |
commit | a5c67cfdd6ad7eeb6e5414044ab3a992d3ce74b9 (patch) | |
tree | 565ec392ca22844cfe047a2ee6348e6ee066ff02 /datatest.cpp | |
parent | 06092259c2f6d9afa7a6d8457d078d1e83435c00 (diff) | |
download | cryptopp-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.cpp | 2 |
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")
|