diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-18 20:26:10 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-18 20:26:10 -0500 |
commit | 58b69992747d10561e65dd8b390a665063bdd619 (patch) | |
tree | a5d45d1b508facd006020e130ee32351ad3473e6 /validat1.cpp | |
parent | 1eca4fd940ba0f3f87e933c315dccc3cdd863958 (diff) | |
download | cryptopp-git-58b69992747d10561e65dd8b390a665063bdd619.tar.gz |
Convert Kalyna from variable block size (GH #535)
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validat1.cpp b/validat1.cpp index d3eafea2..9b1bd8e3 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -2082,7 +2082,7 @@ bool TestModeIV(SymmetricCipher &e, SymmetricCipher &d) const int BUF_SIZE=20480U;
AlignedSecByteBlock plaintext(BUF_SIZE);
- for (unsigned int i=1; i<20480; i*=2)
+ for (unsigned int i=1; i<BUF_SIZE; i*=2)
{
e.GetNextIV(GlobalRNG(), iv);
if (iv == lastIV)
|