Lines Matching refs:left_over
138 size_t left_over = ctx->buflen; in sha256_process_bytes() local
139 size_t add = 128 - left_over > len ? len : 128 - left_over; in sha256_process_bytes()
141 memcpy(&ctx->buffer[left_over], buffer, add); in sha256_process_bytes()
149 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], in sha256_process_bytes()
188 size_t left_over = ctx->buflen; in sha256_process_bytes() local
190 memcpy(&ctx->buffer[left_over], buffer, len); in sha256_process_bytes()
191 left_over += len; in sha256_process_bytes()
192 if (left_over >= 64) { in sha256_process_bytes()
194 left_over -= 64; in sha256_process_bytes()
195 memcpy(ctx->buffer, &ctx->buffer[64], left_over); in sha256_process_bytes()
197 ctx->buflen = left_over; in sha256_process_bytes()