Backed-off assert for poly1305.cpp in Debug builds
parent
d91244a657
commit
406bec8fc7
|
|
@ -51,7 +51,8 @@ void Poly1305_Base<T>::UncheckedSetKey(const byte *key, unsigned int length, con
|
||||||
template <class T>
|
template <class T>
|
||||||
void Poly1305_Base<T>::Update(const byte *input, size_t length)
|
void Poly1305_Base<T>::Update(const byte *input, size_t length)
|
||||||
{
|
{
|
||||||
CRYPTOPP_ASSERT((input && length) || !(input || length));
|
CRYPTOPP_ASSERT((input && length) || !length);
|
||||||
|
if (!length) return;
|
||||||
|
|
||||||
size_t rem, num = m_idx;
|
size_t rem, num = m_idx;
|
||||||
if (num)
|
if (num)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue