Lines Matching refs:bytes
27 ctx->bytes = 0; in nxt_sha1_init()
36 used = (size_t) (ctx->bytes & 0x3f); in nxt_sha1_update()
37 ctx->bytes += size; in nxt_sha1_update()
67 used = (size_t) (ctx->bytes & 0x3f); in nxt_sha1_final()
82 ctx->bytes <<= 3; in nxt_sha1_final()
83 ctx->buffer[56] = (u_char) (ctx->bytes >> 56); in nxt_sha1_final()
84 ctx->buffer[57] = (u_char) (ctx->bytes >> 48); in nxt_sha1_final()
85 ctx->buffer[58] = (u_char) (ctx->bytes >> 40); in nxt_sha1_final()
86 ctx->buffer[59] = (u_char) (ctx->bytes >> 32); in nxt_sha1_final()
87 ctx->buffer[60] = (u_char) (ctx->bytes >> 24); in nxt_sha1_final()
88 ctx->buffer[61] = (u_char) (ctx->bytes >> 16); in nxt_sha1_final()
89 ctx->buffer[62] = (u_char) (ctx->bytes >> 8); in nxt_sha1_final()
90 ctx->buffer[63] = (u_char) ctx->bytes; in nxt_sha1_final()