Lines Matching refs:W
107 uint32_t W[80]; in srtp_sha1_core() local
120 W[0] = be32_to_cpu(M[0]); in srtp_sha1_core()
121 W[1] = be32_to_cpu(M[1]); in srtp_sha1_core()
122 W[2] = be32_to_cpu(M[2]); in srtp_sha1_core()
123 W[3] = be32_to_cpu(M[3]); in srtp_sha1_core()
124 W[4] = be32_to_cpu(M[4]); in srtp_sha1_core()
125 W[5] = be32_to_cpu(M[5]); in srtp_sha1_core()
126 W[6] = be32_to_cpu(M[6]); in srtp_sha1_core()
127 W[7] = be32_to_cpu(M[7]); in srtp_sha1_core()
128 W[8] = be32_to_cpu(M[8]); in srtp_sha1_core()
129 W[9] = be32_to_cpu(M[9]); in srtp_sha1_core()
130 W[10] = be32_to_cpu(M[10]); in srtp_sha1_core()
131 W[11] = be32_to_cpu(M[11]); in srtp_sha1_core()
132 W[12] = be32_to_cpu(M[12]); in srtp_sha1_core()
133 W[13] = be32_to_cpu(M[13]); in srtp_sha1_core()
134 W[14] = be32_to_cpu(M[14]); in srtp_sha1_core()
135 W[15] = be32_to_cpu(M[15]); in srtp_sha1_core()
136 TEMP = W[13] ^ W[8] ^ W[2] ^ W[0]; in srtp_sha1_core()
137 W[16] = S1(TEMP); in srtp_sha1_core()
138 TEMP = W[14] ^ W[9] ^ W[3] ^ W[1]; in srtp_sha1_core()
139 W[17] = S1(TEMP); in srtp_sha1_core()
140 TEMP = W[15] ^ W[10] ^ W[4] ^ W[2]; in srtp_sha1_core()
141 W[18] = S1(TEMP); in srtp_sha1_core()
142 TEMP = W[16] ^ W[11] ^ W[5] ^ W[3]; in srtp_sha1_core()
143 W[19] = S1(TEMP); in srtp_sha1_core()
144 TEMP = W[17] ^ W[12] ^ W[6] ^ W[4]; in srtp_sha1_core()
145 W[20] = S1(TEMP); in srtp_sha1_core()
146 TEMP = W[18] ^ W[13] ^ W[7] ^ W[5]; in srtp_sha1_core()
147 W[21] = S1(TEMP); in srtp_sha1_core()
148 TEMP = W[19] ^ W[14] ^ W[8] ^ W[6]; in srtp_sha1_core()
149 W[22] = S1(TEMP); in srtp_sha1_core()
150 TEMP = W[20] ^ W[15] ^ W[9] ^ W[7]; in srtp_sha1_core()
151 W[23] = S1(TEMP); in srtp_sha1_core()
152 TEMP = W[21] ^ W[16] ^ W[10] ^ W[8]; in srtp_sha1_core()
153 W[24] = S1(TEMP); in srtp_sha1_core()
154 TEMP = W[22] ^ W[17] ^ W[11] ^ W[9]; in srtp_sha1_core()
155 W[25] = S1(TEMP); in srtp_sha1_core()
156 TEMP = W[23] ^ W[18] ^ W[12] ^ W[10]; in srtp_sha1_core()
157 W[26] = S1(TEMP); in srtp_sha1_core()
158 TEMP = W[24] ^ W[19] ^ W[13] ^ W[11]; in srtp_sha1_core()
159 W[27] = S1(TEMP); in srtp_sha1_core()
160 TEMP = W[25] ^ W[20] ^ W[14] ^ W[12]; in srtp_sha1_core()
161 W[28] = S1(TEMP); in srtp_sha1_core()
162 TEMP = W[26] ^ W[21] ^ W[15] ^ W[13]; in srtp_sha1_core()
163 W[29] = S1(TEMP); in srtp_sha1_core()
164 TEMP = W[27] ^ W[22] ^ W[16] ^ W[14]; in srtp_sha1_core()
165 W[30] = S1(TEMP); in srtp_sha1_core()
166 TEMP = W[28] ^ W[23] ^ W[17] ^ W[15]; in srtp_sha1_core()
167 W[31] = S1(TEMP); in srtp_sha1_core()
171 TEMP = W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16]; in srtp_sha1_core()
172 W[t] = S1(TEMP); in srtp_sha1_core()
182 TEMP = S5(A) + f0(B, C, D) + E + W[t] + SHA_K0; in srtp_sha1_core()
190 TEMP = S5(A) + f1(B, C, D) + E + W[t] + SHA_K1; in srtp_sha1_core()
198 TEMP = S5(A) + f2(B, C, D) + E + W[t] + SHA_K2; in srtp_sha1_core()
206 TEMP = S5(A) + f3(B, C, D) + E + W[t] + SHA_K3; in srtp_sha1_core()
291 uint32_t W[80]; in srtp_sha1_final() local
303 W[i] = be32_to_cpu(ctx->M[i]); in srtp_sha1_final()
309 W[i - 1] = (be32_to_cpu(ctx->M[i - 1]) & 0xffffff00) | 0x80; in srtp_sha1_final()
310 W[i] = 0x0; in srtp_sha1_final()
313 W[i - 1] = (be32_to_cpu(ctx->M[i - 1]) & 0xffff0000) | 0x8000; in srtp_sha1_final()
314 W[i] = 0x0; in srtp_sha1_final()
317 W[i - 1] = (be32_to_cpu(ctx->M[i - 1]) & 0xff000000) | 0x800000; in srtp_sha1_final()
318 W[i] = 0x0; in srtp_sha1_final()
321 W[i] = 0x80000000; in srtp_sha1_final()
327 W[i] = 0x0; in srtp_sha1_final()
337 W[15] = ctx->num_bits_in_msg; in srtp_sha1_final()
339 W[15] = 0x0; in srtp_sha1_final()
344 TEMP = W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16]; in srtp_sha1_final()
345 W[t] = S1(TEMP); in srtp_sha1_final()
355 TEMP = S5(A) + f0(B, C, D) + E + W[t] + SHA_K0; in srtp_sha1_final()
363 TEMP = S5(A) + f1(B, C, D) + E + W[t] + SHA_K1; in srtp_sha1_final()
371 TEMP = S5(A) + f2(B, C, D) + E + W[t] + SHA_K2; in srtp_sha1_final()
379 TEMP = S5(A) + f3(B, C, D) + E + W[t] + SHA_K3; in srtp_sha1_final()
407 W[i] = 0x0; in srtp_sha1_final()
409 W[15] = ctx->num_bits_in_msg; in srtp_sha1_final()
413 TEMP = W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16]; in srtp_sha1_final()
414 W[t] = S1(TEMP); in srtp_sha1_final()
424 TEMP = S5(A) + f0(B, C, D) + E + W[t] + SHA_K0; in srtp_sha1_final()
432 TEMP = S5(A) + f1(B, C, D) + E + W[t] + SHA_K1; in srtp_sha1_final()
440 TEMP = S5(A) + f2(B, C, D) + E + W[t] + SHA_K2; in srtp_sha1_final()
448 TEMP = S5(A) + f3(B, C, D) + E + W[t] + SHA_K3; in srtp_sha1_final()