summaryrefslogtreecommitdiff
path: root/modes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modes.cpp')
-rw-r--r--modes.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/modes.cpp b/modes.cpp
index b51afe9..5605922 100644
--- a/modes.cpp
+++ b/modes.cpp
@@ -24,15 +24,6 @@ void Modes_TestInstantiations()
}
#endif
-void CipherModeBase::GetNextIV(byte *IV)
-{
- if (!IsForwardTransformation())
- throw NotImplemented("CipherModeBase: GetNextIV() must be called on an encryption object");
-
- m_cipher->ProcessBlock(m_register);
- memcpy(IV, m_register, BlockSize());
-}
-
void CTR_ModePolicy::SeekToIteration(lword iterationCount)
{
int carry=0;
@@ -45,11 +36,6 @@ void CTR_ModePolicy::SeekToIteration(lword iterationCount)
}
}
-void CTR_ModePolicy::CipherGetNextIV(byte *IV)
-{
- IncrementCounterByOne(IV, m_counterArray, BlockSize());
-}
-
inline void CTR_ModePolicy::ProcessMultipleBlocks(byte *output, const byte *input, size_t n)
{
unsigned int s = BlockSize(), j = 0;