Lines Matching refs:left_over
287 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes() local
288 size_t add = (size_t)(256 - left_over > len ? len : 256 - left_over); in sha512_process_bytes()
290 memcpy(&ctx->buffer[left_over], buffer, add); in sha512_process_bytes()
298 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~127], in sha512_process_bytes()
333 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes() local
335 memcpy(&ctx->buffer[left_over], buffer, len); in sha512_process_bytes()
336 left_over += len; in sha512_process_bytes()
337 if (left_over >= 128) { in sha512_process_bytes()
339 left_over -= 128; in sha512_process_bytes()
340 memcpy(ctx->buffer, &ctx->buffer[128], left_over); in sha512_process_bytes()
342 ctx->buflen = left_over; in sha512_process_bytes()