Lines Matching refs:buflen
93 ctx->buflen = 0; in sha256_init_ctx()
103 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
137 if (ctx->buflen != 0) { in sha256_process_bytes()
138 size_t left_over = ctx->buflen; in sha256_process_bytes()
142 ctx->buflen += add; in sha256_process_bytes()
144 if (ctx->buflen > 64) { in sha256_process_bytes()
145 sha256_process_block(ctx->buffer, ctx->buflen & ~63, ctx); in sha256_process_bytes()
147 ctx->buflen &= 63; in sha256_process_bytes()
150 ctx->buflen); in sha256_process_bytes()
188 size_t left_over = ctx->buflen; in sha256_process_bytes()
197 ctx->buflen = left_over; in sha256_process_bytes()