diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
| commit | b7de164d6251dc066123b59bc15d30c74e920756 (patch) | |
| tree | 650e67242386d55616a2038c5cbc7042568ed377 /panama.cpp | |
| parent | 7b64ca489a7e1da36b02b4a35d149275914d8268 (diff) | |
| download | cryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz | |
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'panama.cpp')
| -rw-r--r-- | panama.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -442,14 +442,14 @@ void PanamaHash<B>::TruncatedFinal(byte *hash, size_t size) template <class B> void PanamaCipherPolicy<B>::CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length) { - assert(length==32); + CRYPTOPP_ASSERT(length==32); memcpy(m_key, key, 32); } template <class B> void PanamaCipherPolicy<B>::CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length) { - assert(length==32); + CRYPTOPP_ASSERT(length==32); this->Reset(); this->Iterate(1, m_key); if (iv && IsAligned<word32>(iv)) |
