Lines Matching refs:i
56 int i; in sm3_expand() local
60 for (i = 0; i <= 15; i++) in sm3_expand()
61 w[i] = get_unaligned_be32((__u32 *)t + i); in sm3_expand()
63 for (i = 16; i <= 67; i++) { in sm3_expand()
64 tmp = w[i - 16] ^ w[i - 9] ^ rol32(w[i - 3], 15); in sm3_expand()
65 w[i] = p1(tmp) ^ (rol32(w[i - 13], 7)) ^ w[i - 6]; in sm3_expand()
68 for (i = 0; i <= 63; i++) in sm3_expand()
69 wt[i] = w[i] ^ w[i + 4]; in sm3_expand()
79 int i; in sm3_compress() local
90 for (i = 0; i <= 63; i++) { in sm3_compress()
92 ss1 = rol32((rol32(a, 12) + e + rol32(t(i), i & 31)), 7); in sm3_compress()
96 tt1 = ff(i, a, b, c) + d + ss2 + *wt; in sm3_compress()
99 tt2 = gg(i, e, f, g) + h + ss1 + *w; in sm3_compress()