D | sm3.c | 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 43 h += GG ## i(e, f, g) + ss1 + (w1); \ 49 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 50 R(1, a, b, c, d, e, f, g, h, t, w1, w2) 51 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 52 R(2, a, b, c, d, e, f, g, h, t, w1, w2) 74 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local 82 g = sctx->state[6]; in sm3_transform() 85 R1(a, b, c, d, e, f, g, h, K[0], I(0), I(4)); in sm3_transform() 86 R1(d, a, b, c, h, e, f, g, K[1], I(1), I(5)); in sm3_transform() [all …]
|