Home
last modified time | relevance | path

Searched refs:left_to_fill (Results 1 – 1 of 1) sorted by relevance

/external/usrsctp/usrsctplib/netinet/
Dsctp_sha1.c200 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()
[all …]