Lines Matching defs:chunk
89 size_t chunk = LONG_MAX & ~0xff;
91 while (inl >= chunk) {
92 BF_cbc_encrypt(in, out, (long)chunk, &((EVP_BF_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
93 inl -= chunk;
94 in += chunk;
95 out += chunk;
107 size_t chunk = LONG_MAX & ~0xff;
109 if (inl < chunk)
110 chunk = inl;
112 while (inl && inl >= chunk) {
113 BF_cfb64_encrypt(in, out, (long)chunk, &((EVP_BF_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num, ctx->encrypt);
114 inl -= chunk;
115 in += chunk;
116 out += chunk;
117 if (inl < chunk)
118 chunk = inl;
145 size_t chunk = LONG_MAX & ~0xff;
147 while (inl >= chunk) {
148 BF_ofb64_encrypt(in, out, (long)chunk, &((EVP_BF_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
149 inl -= chunk;
150 in += chunk;
151 out += chunk;