• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/

Lines Matching refs:bytesPerIteration

45 	unsigned int bytesPerIteration = policy.GetBytesPerIteration();
47 if (length >= bytesPerIteration)
49 size_t iterations = length / bytesPerIteration;
51 outString += iterations * bytesPerIteration;
52 length -= iterations * bytesPerIteration;
57 size_t bufferByteSize = RoundUpToMultipleOf(length, bytesPerIteration);
58 size_t bufferIterations = bufferByteSize / bytesPerIteration;
84 unsigned int bytesPerIteration = policy.GetBytesPerIteration();
86 if (policy.CanOperateKeystream() && length >= bytesPerIteration)
88 size_t iterations = length / bytesPerIteration;
94 inString += iterations * bytesPerIteration;
95 outString += iterations * bytesPerIteration;
96 length -= iterations * bytesPerIteration;
103 size_t bufferIterations = bufferByteSize / bytesPerIteration;
116 bufferByteSize = RoundUpToMultipleOf(length, bytesPerIteration);
117 bufferIterations = bufferByteSize / bytesPerIteration;
138 unsigned int bytesPerIteration = policy.GetBytesPerIteration();
140 policy.SeekToIteration(position / bytesPerIteration);
141 position %= bytesPerIteration;
145 policy.WriteKeystream(KeystreamBufferEnd()-bytesPerIteration, 1);
146 m_leftOver = bytesPerIteration - (unsigned int)position;
182 unsigned int bytesPerIteration = policy.GetBytesPerIteration();
189 CombineMessageAndShiftRegister(outString, reg + bytesPerIteration - m_leftOver, inString, len);
201 if (policy.CanIterate() && length >= bytesPerIteration && IsAlignedOn(outString, alignment))
204 policy.Iterate(outString, inString, GetCipherDir(*this), length / bytesPerIteration);
208 policy.Iterate(outString, outString, GetCipherDir(*this), length / bytesPerIteration);
210 inString += length - length % bytesPerIteration;
211 outString += length - length % bytesPerIteration;
212 length %= bytesPerIteration;
215 while (length >= bytesPerIteration)
218 CombineMessageAndShiftRegister(outString, reg, inString, bytesPerIteration);
219 length -= bytesPerIteration;
220 inString += bytesPerIteration;
221 outString += bytesPerIteration;
228 m_leftOver = bytesPerIteration - length;