126
111
void CTR_ModePolicy::CipherResynchronize(byte *keystreamBuffer, const byte *iv)
128
113
unsigned int s = BlockSize();
130
115
m_counterArray.New(s * m_cipher->OptimalNumberOfParallelBlocks());
134
void BlockOrientedCipherModeBase::UncheckedSetKey(const NameValuePairs ¶ms, const byte *key, unsigned int length)
119
void BlockOrientedCipherModeBase::UncheckedSetKey(const NameValuePairs ¶ms, const byte *key, unsigned int length, const byte *iv)
136
121
m_cipher->SetKey(key, length, params);
142
127
void BlockOrientedCipherModeBase::ProcessData(byte *outString, const byte *inString, unsigned int length)