diff options
Diffstat (limited to 'ccm.cpp')
-rw-r--r-- | ccm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ void CCM_Base::Resync(const byte *iv, size_t len) BlockCipher &cipher = AccessBlockCipher();
m_L = REQUIRED_BLOCKSIZE-1-(int)len;
- assert(m_L >= 2);
+ CRYPTOPP_ASSERT(m_L >= 2);
if (m_L > 8)
m_L = 8;
@@ -66,7 +66,7 @@ void CCM_Base::UncheckedSpecifyDataLengths(lword headerLength, lword messageLeng if (headerLength>0)
{
- assert(m_bufferedDataLength == 0);
+ CRYPTOPP_ASSERT(m_bufferedDataLength == 0);
if (headerLength < ((1<<16) - (1<<8)))
{
|