Lines Matching refs:MAXCHUNK
21 # define MAXCHUNK ((size_t)1 << 30) macro
248 while (len >= MAXCHUNK) { \
249 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, &num); \
250 len -= MAXCHUNK; \
251 in += MAXCHUNK; \
252 out += MAXCHUNK; \
283 while (len >= MAXCHUNK) { \
284 FUNC_PREFIX##_encrypt(in, out, MAXCHUNK, key, ctx->iv, ctx->enc); \
285 len -= MAXCHUNK; \
286 in += MAXCHUNK; \
287 out += MAXCHUNK; \
299 size_t chunk = MAXCHUNK; \