Lines Matching refs:left_to_fill
200 unsigned int number_left, left_to_fill; in sctp_sha1_update() local
204 left_to_fill = sizeof(ctx->sha_block) - ctx->how_many_in_block; in sctp_sha1_update()
205 if (left_to_fill > number_left) { in sctp_sha1_update()
215 ptr, left_to_fill); in sctp_sha1_update()
218 number_left -= left_to_fill; in sctp_sha1_update()
219 ctx->running_total += left_to_fill; in sctp_sha1_update()
221 ptr = (const unsigned char *)(ptr + left_to_fill); in sctp_sha1_update()
241 int left_to_fill; in sctp_sha1_final() local
250 left_to_fill = sizeof(ctx->sha_block) - ctx->how_many_in_block; in sctp_sha1_final()
251 if (left_to_fill == 0) { in sctp_sha1_final()
260 } else if (left_to_fill == 1) { in sctp_sha1_final()