Lines Matching refs:W

105   uint32_t W[80];  in sha1_core()  local
118 W[0] = be32_to_cpu(M[0]); in sha1_core()
119 W[1] = be32_to_cpu(M[1]); in sha1_core()
120 W[2] = be32_to_cpu(M[2]); in sha1_core()
121 W[3] = be32_to_cpu(M[3]); in sha1_core()
122 W[4] = be32_to_cpu(M[4]); in sha1_core()
123 W[5] = be32_to_cpu(M[5]); in sha1_core()
124 W[6] = be32_to_cpu(M[6]); in sha1_core()
125 W[7] = be32_to_cpu(M[7]); in sha1_core()
126 W[8] = be32_to_cpu(M[8]); in sha1_core()
127 W[9] = be32_to_cpu(M[9]); in sha1_core()
128 W[10] = be32_to_cpu(M[10]); in sha1_core()
129 W[11] = be32_to_cpu(M[11]); in sha1_core()
130 W[12] = be32_to_cpu(M[12]); in sha1_core()
131 W[13] = be32_to_cpu(M[13]); in sha1_core()
132 W[14] = be32_to_cpu(M[14]); in sha1_core()
133 W[15] = be32_to_cpu(M[15]); in sha1_core()
134 TEMP = W[13] ^ W[8] ^ W[2] ^ W[0]; W[16] = S1(TEMP); in sha1_core()
135 TEMP = W[14] ^ W[9] ^ W[3] ^ W[1]; W[17] = S1(TEMP); in sha1_core()
136 TEMP = W[15] ^ W[10] ^ W[4] ^ W[2]; W[18] = S1(TEMP); in sha1_core()
137 TEMP = W[16] ^ W[11] ^ W[5] ^ W[3]; W[19] = S1(TEMP); in sha1_core()
138 TEMP = W[17] ^ W[12] ^ W[6] ^ W[4]; W[20] = S1(TEMP); in sha1_core()
139 TEMP = W[18] ^ W[13] ^ W[7] ^ W[5]; W[21] = S1(TEMP); in sha1_core()
140 TEMP = W[19] ^ W[14] ^ W[8] ^ W[6]; W[22] = S1(TEMP); in sha1_core()
141 TEMP = W[20] ^ W[15] ^ W[9] ^ W[7]; W[23] = S1(TEMP); in sha1_core()
142 TEMP = W[21] ^ W[16] ^ W[10] ^ W[8]; W[24] = S1(TEMP); in sha1_core()
143 TEMP = W[22] ^ W[17] ^ W[11] ^ W[9]; W[25] = S1(TEMP); in sha1_core()
144 TEMP = W[23] ^ W[18] ^ W[12] ^ W[10]; W[26] = S1(TEMP); in sha1_core()
145 TEMP = W[24] ^ W[19] ^ W[13] ^ W[11]; W[27] = S1(TEMP); in sha1_core()
146 TEMP = W[25] ^ W[20] ^ W[14] ^ W[12]; W[28] = S1(TEMP); in sha1_core()
147 TEMP = W[26] ^ W[21] ^ W[15] ^ W[13]; W[29] = S1(TEMP); in sha1_core()
148 TEMP = W[27] ^ W[22] ^ W[16] ^ W[14]; W[30] = S1(TEMP); in sha1_core()
149 TEMP = W[28] ^ W[23] ^ W[17] ^ W[15]; W[31] = S1(TEMP); in sha1_core()
153 TEMP = W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]; in sha1_core()
154 W[t] = S1(TEMP); in sha1_core()
160 TEMP = S5(A) + f0(B,C,D) + E + W[t] + SHA_K0; in sha1_core()
164 TEMP = S5(A) + f1(B,C,D) + E + W[t] + SHA_K1; in sha1_core()
168 TEMP = S5(A) + f2(B,C,D) + E + W[t] + SHA_K2; in sha1_core()
172 TEMP = S5(A) + f3(B,C,D) + E + W[t] + SHA_K3; in sha1_core()
254 uint32_t W[80]; in sha1_final() local
266 W[i] = be32_to_cpu(ctx->M[i]); in sha1_final()
271 W[i-1] = (be32_to_cpu(ctx->M[i-1]) & 0xffffff00) | 0x80; in sha1_final()
272 W[i] = 0x0; in sha1_final()
275 W[i-1] = (be32_to_cpu(ctx->M[i-1]) & 0xffff0000) | 0x8000; in sha1_final()
276 W[i] = 0x0; in sha1_final()
279 W[i-1] = (be32_to_cpu(ctx->M[i-1]) & 0xff000000) | 0x800000; in sha1_final()
280 W[i] = 0x0; in sha1_final()
283 W[i] = 0x80000000; in sha1_final()
289 W[i] = 0x0; in sha1_final()
298 W[15] = ctx->num_bits_in_msg; in sha1_final()
300 W[15] = 0x0; in sha1_final()
304 TEMP = W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]; in sha1_final()
305 W[t] = S1(TEMP); in sha1_final()
315 TEMP = S5(A) + f0(B,C,D) + E + W[t] + SHA_K0; in sha1_final()
319 TEMP = S5(A) + f1(B,C,D) + E + W[t] + SHA_K1; in sha1_final()
323 TEMP = S5(A) + f2(B,C,D) + E + W[t] + SHA_K2; in sha1_final()
327 TEMP = S5(A) + f3(B,C,D) + E + W[t] + SHA_K3; in sha1_final()
352 W[i] = 0x0; in sha1_final()
353 W[15] = ctx->num_bits_in_msg; in sha1_final()
357 TEMP = W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]; in sha1_final()
358 W[t] = S1(TEMP); in sha1_final()
368 TEMP = S5(A) + f0(B,C,D) + E + W[t] + SHA_K0; in sha1_final()
372 TEMP = S5(A) + f1(B,C,D) + E + W[t] + SHA_K1; in sha1_final()
376 TEMP = S5(A) + f2(B,C,D) + E + W[t] + SHA_K2; in sha1_final()
380 TEMP = S5(A) + f3(B,C,D) + E + W[t] + SHA_K3; in sha1_final()