Lines Matching refs:left_over
266 size_t left_over = ctx->buflen; in sha256_process_bytes() local
267 size_t add = 128 - left_over > len ? len : 128 - left_over; in sha256_process_bytes()
269 memcpy(&ctx->buffer[left_over], buffer, add); in sha256_process_bytes()
276 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ctx->buflen); in sha256_process_bytes()
306 size_t left_over = ctx->buflen; in sha256_process_bytes() local
308 memcpy(&ctx->buffer[left_over], buffer, len); in sha256_process_bytes()
309 left_over += len; in sha256_process_bytes()
310 if (left_over >= 64) { in sha256_process_bytes()
312 left_over -= 64; in sha256_process_bytes()
313 memcpy(ctx->buffer, &ctx->buffer[64], left_over); in sha256_process_bytes()
315 ctx->buflen = left_over; in sha256_process_bytes()