Lines Matching refs:sha1_state
52 A = ctx->sha1_state[0]; in sha1_process()
53 B = ctx->sha1_state[1]; in sha1_process()
54 C = ctx->sha1_state[2]; in sha1_process()
55 D = ctx->sha1_state[3]; in sha1_process()
56 E = ctx->sha1_state[4]; in sha1_process()
81 ctx->sha1_state[0] += A; in sha1_process()
82 ctx->sha1_state[1] += B; in sha1_process()
83 ctx->sha1_state[2] += C; in sha1_process()
84 ctx->sha1_state[3] += D; in sha1_process()
85 ctx->sha1_state[4] += E; in sha1_process()
104 ctx->sha1_state[0] = 0x67452301; in sha1_init()
105 ctx->sha1_state[1] = 0xefcdab89; in sha1_init()
106 ctx->sha1_state[2] = 0x98badcfe; in sha1_init()
107 ctx->sha1_state[3] = 0x10325476; in sha1_init()
108 ctx->sha1_state[4] = 0xc3d2e1f0; in sha1_init()
206 PUT_UINT32_BE(ctx->sha1_state[0], output, 0); in sha1_final()
207 PUT_UINT32_BE(ctx->sha1_state[1], output, 4); in sha1_final()
208 PUT_UINT32_BE(ctx->sha1_state[2], output, 8); in sha1_final()
209 PUT_UINT32_BE(ctx->sha1_state[3], output, 12); in sha1_final()
210 PUT_UINT32_BE(ctx->sha1_state[4], output, 16); in sha1_final()