diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-02-10 23:08:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-10 23:08:14 -0500 |
commit | 0ca4c41a9780814de19b997f1635668781dd5fdb (patch) | |
tree | 88a6e132c17f01b8b1d8945abb94defce66ad482 /poly1305.cpp | |
parent | 1c6a96a57eadef520af26c61afc43e8aba6da910 (diff) | |
download | cryptopp-git-0ca4c41a9780814de19b997f1635668781dd5fdb.tar.gz |
Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797)
Diffstat (limited to 'poly1305.cpp')
-rw-r--r-- | poly1305.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poly1305.cpp b/poly1305.cpp index b25c8ad5..e22cb7f5 100644 --- a/poly1305.cpp +++ b/poly1305.cpp @@ -209,7 +209,7 @@ void Poly1305_Base<T>::UncheckedSetKey(const byte *key, unsigned int length, con if (params.GetValue(Name::IV(), t) && t.begin() && t.size())
{
CRYPTOPP_ASSERT(t.size() == m_nk.size());
- Resynchronize(t.begin(), t.size());
+ Resynchronize(t.begin(), (int)t.size());
}
Restart();
|