Lines Matching refs:state

43 	ctx->state[0] = 0x7380166F;  in sm3_init()
44 ctx->state[1] = 0x4914B2B9; in sm3_init()
45 ctx->state[2] = 0x172442D7; in sm3_init()
46 ctx->state[3] = 0xDA8A0600; in sm3_init()
47 ctx->state[4] = 0xA96F30BC; in sm3_init()
48 ctx->state[5] = 0x163138AA; in sm3_init()
49 ctx->state[6] = 0xE38DEE4D; in sm3_init()
50 ctx->state[7] = 0xB0FB0E4E; in sm3_init()
113 A = ctx->state[0]; in sm3_process()
114 B = ctx->state[1]; in sm3_process()
115 C = ctx->state[2]; in sm3_process()
116 D = ctx->state[3]; in sm3_process()
117 E = ctx->state[4]; in sm3_process()
118 F = ctx->state[5]; in sm3_process()
119 G = ctx->state[6]; in sm3_process()
120 H = ctx->state[7]; in sm3_process()
152 ctx->state[0] ^= A; in sm3_process()
153 ctx->state[1] ^= B; in sm3_process()
154 ctx->state[2] ^= C; in sm3_process()
155 ctx->state[3] ^= D; in sm3_process()
156 ctx->state[4] ^= E; in sm3_process()
157 ctx->state[5] ^= F; in sm3_process()
158 ctx->state[6] ^= G; in sm3_process()
159 ctx->state[7] ^= H; in sm3_process()
167 crypto_accel_sm3_compress(ctx->state, input, block_count); in sm3_process_blocks()
235 PUT_UINT32_BE(ctx->state[0], output, 0); in sm3_final()
236 PUT_UINT32_BE(ctx->state[1], output, 4); in sm3_final()
237 PUT_UINT32_BE(ctx->state[2], output, 8); in sm3_final()
238 PUT_UINT32_BE(ctx->state[3], output, 12); in sm3_final()
239 PUT_UINT32_BE(ctx->state[4], output, 16); in sm3_final()
240 PUT_UINT32_BE(ctx->state[5], output, 20); in sm3_final()
241 PUT_UINT32_BE(ctx->state[6], output, 24); in sm3_final()
242 PUT_UINT32_BE(ctx->state[7], output, 28); in sm3_final()