Lines Matching refs:total
55 uint64_t total[2]; member
142 ctx->total[0] += len; in sha512_process_block()
143 if (ctx->total[0] < len) { in sha512_process_block()
144 ++ctx->total[1]; in sha512_process_block()
236 ctx->total[0] = ctx->total[1] = 0; in sha512_init_ctx()
253 ctx->total[0] += bytes; in sha512_finish_ctx()
254 if (ctx->total[0] < bytes) { in sha512_finish_ctx()
255 ++ctx->total[1]; in sha512_finish_ctx()
262 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
263 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
264 (ctx->total[0] >> 61)); in sha512_finish_ctx()