Lines Matching refs:state
22 u32 state[10]; member
49 static void rmd320_transform(u32 *state, const __le32 *in) in rmd320_transform() argument
54 aa = state[0]; in rmd320_transform()
55 bb = state[1]; in rmd320_transform()
56 cc = state[2]; in rmd320_transform()
57 dd = state[3]; in rmd320_transform()
58 ee = state[4]; in rmd320_transform()
61 aaa = state[5]; in rmd320_transform()
62 bbb = state[6]; in rmd320_transform()
63 ccc = state[7]; in rmd320_transform()
64 ddd = state[8]; in rmd320_transform()
65 eee = state[9]; in rmd320_transform()
263 state[0] += aa; in rmd320_transform()
264 state[1] += bb; in rmd320_transform()
265 state[2] += cc; in rmd320_transform()
266 state[3] += dd; in rmd320_transform()
267 state[4] += ee; in rmd320_transform()
268 state[5] += aaa; in rmd320_transform()
269 state[6] += bbb; in rmd320_transform()
270 state[7] += ccc; in rmd320_transform()
271 state[8] += ddd; in rmd320_transform()
272 state[9] += eee; in rmd320_transform()
281 rctx->state[0] = RMD_H0; in rmd320_init()
282 rctx->state[1] = RMD_H1; in rmd320_init()
283 rctx->state[2] = RMD_H2; in rmd320_init()
284 rctx->state[3] = RMD_H3; in rmd320_init()
285 rctx->state[4] = RMD_H4; in rmd320_init()
286 rctx->state[5] = RMD_H5; in rmd320_init()
287 rctx->state[6] = RMD_H6; in rmd320_init()
288 rctx->state[7] = RMD_H7; in rmd320_init()
289 rctx->state[8] = RMD_H8; in rmd320_init()
290 rctx->state[9] = RMD_H9; in rmd320_init()
315 rmd320_transform(rctx->state, rctx->buffer); in rmd320_update()
321 rmd320_transform(rctx->state, rctx->buffer); in rmd320_update()
353 dst[i] = cpu_to_le32p(&rctx->state[i]); in rmd320_final()