Lines Matching refs:RC2_BLOCK_SIZE
202 unsigned char tmp[RC2_BLOCK_SIZE];
206 while (size >= RC2_BLOCK_SIZE) {
207 for (i = 0; i < RC2_BLOCK_SIZE; i++)
210 memcpy(iv, out, RC2_BLOCK_SIZE);
211 size -= RC2_BLOCK_SIZE;
212 in += RC2_BLOCK_SIZE;
213 out += RC2_BLOCK_SIZE;
218 for (i = size; i < RC2_BLOCK_SIZE; i++)
221 memcpy(iv, out, RC2_BLOCK_SIZE);
224 while (size >= RC2_BLOCK_SIZE) {
225 memcpy(tmp, in, RC2_BLOCK_SIZE);
227 for (i = 0; i < RC2_BLOCK_SIZE; i++)
229 memcpy(iv, tmp, RC2_BLOCK_SIZE);
230 size -= RC2_BLOCK_SIZE;
231 in += RC2_BLOCK_SIZE;
232 out += RC2_BLOCK_SIZE;
235 memcpy(tmp, in, RC2_BLOCK_SIZE);
239 memcpy(iv, tmp, RC2_BLOCK_SIZE);