Lines Matching refs:buflen
67 ctx->buflen = 0; in sha1_init_ctx()
96 sha1_uint32 bytes = ctx->buflen; in sha1_finish_ctx()
206 if (ctx->buflen != 0) in sha1_process_bytes()
208 size_t left_over = ctx->buflen; in sha1_process_bytes()
212 ctx->buflen += add; in sha1_process_bytes()
214 if (ctx->buflen > 64) in sha1_process_bytes()
216 sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); in sha1_process_bytes()
218 ctx->buflen &= 63; in sha1_process_bytes()
222 ctx->buflen); in sha1_process_bytes()
254 size_t left_over = ctx->buflen; in sha1_process_bytes()
264 ctx->buflen = left_over; in sha1_process_bytes()