diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
commit | 40230dd3bf5400ec3fda20cc791fb05c7a1c5b62 (patch) | |
tree | 834a1ab74d205c54d55b801d5dc1ab949ebc5bca /modes.cpp | |
parent | 6eb2792bc26aebc83924e7e7be28c0444dca506c (diff) | |
download | cryptopp-git-40230dd3bf5400ec3fda20cc791fb05c7a1c5b62.tar.gz |
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)
Diffstat (limited to 'modes.cpp')
-rw-r--r-- | modes.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -25,13 +25,10 @@ void Modes_TestInstantiations() }
#endif
-// Thanks to Zireael, http://github.com/weidai11/cryptopp/pull/46
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
void CipherModeBase::ResizeBuffers()
{
m_register.New(m_cipher->BlockSize());
}
-#endif
void CFB_ModePolicy::Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount)
{
@@ -163,14 +160,11 @@ void BlockOrientedCipherModeBase::UncheckedSetKey(const byte *key, unsigned int }
}
-// Thanks to Zireael, http://github.com/weidai11/cryptopp/pull/46
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
void BlockOrientedCipherModeBase::ResizeBuffers()
{
CipherModeBase::ResizeBuffers();
m_buffer.New(BlockSize());
}
-#endif
void ECB_OneWay::ProcessData(byte *outString, const byte *inString, size_t length)
{
@@ -218,14 +212,11 @@ void CBC_CTS_Encryption::ProcessLastBlock(byte *outString, const byte *inString, memcpy(outString, m_register, BlockSize());
}
-// Thanks to Zireael, http://github.com/weidai11/cryptopp/pull/46
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
void CBC_Decryption::ResizeBuffers()
{
BlockOrientedCipherModeBase::ResizeBuffers();
m_temp.New(BlockSize());
}
-#endif
void CBC_Decryption::ProcessData(byte *outString, const byte *inString, size_t length)
{
|