H A D | sm3.c | 35 * Transform the message X which consists of 16 32-bit-words. See 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) 72 static void sm3_transform(struct sm3_state *sctx, u8 const *data, u32 W[16]) in sm3_transform() argument 74 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local 82 g = sctx->state[6]; in sm3_transform() [all …]
|