Lines Matching defs:chunk
126 size_t chunk = LONG_MAX & ~0xff;
128 while (inl >= chunk) {
129 idea_cbc_encrypt(in, out, (long)chunk, &((EVP_IDEA_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
130 inl -= chunk;
131 in += chunk;
132 out += chunk;
144 size_t chunk = LONG_MAX & ~0xff;
146 while (inl >= chunk) {
147 idea_ofb64_encrypt(in, out, (long)chunk, &((EVP_IDEA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
148 inl -= chunk;
149 in += chunk;
150 out += chunk;
162 size_t chunk = LONG_MAX & ~0xff;
164 if (inl < chunk)
165 chunk = inl;
167 while (inl && inl >= chunk) {
168 idea_cfb64_encrypt(in, out, (long)chunk, &((EVP_IDEA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num, ctx->encrypt);
169 inl -= chunk;
170 in += chunk;
171 out += chunk;
172 if (inl < chunk)
173 chunk = inl;