• Home
  • Raw
  • Download

Lines Matching refs:W

57 static inline void LOAD_OP(int I, uint32_t *W, const uint8_t *input)  in LOAD_OP()  argument
59 W[I] = __be32_to_cpu(((uint32_t *)(input))[I]); in LOAD_OP()
62 static inline void BLEND_OP(int I, uint32_t *W) in BLEND_OP() argument
64 W[I] = s1(W[I-2]) + W[I-7] + s0(W[I-15]) + W[I-16]; in BLEND_OP()
70 uint32_t W[64]; in sha256_transform() local
75 LOAD_OP(i, W, input); in sha256_transform()
79 BLEND_OP(i, W); in sha256_transform()
86 t1 = h + e1(e) + Ch(e,f,g) + 0x428a2f98 + W[ 0]; in sha256_transform()
88 t1 = g + e1(d) + Ch(d,e,f) + 0x71374491 + W[ 1]; in sha256_transform()
90 t1 = f + e1(c) + Ch(c,d,e) + 0xb5c0fbcf + W[ 2]; in sha256_transform()
92 t1 = e + e1(b) + Ch(b,c,d) + 0xe9b5dba5 + W[ 3]; in sha256_transform()
94 t1 = d + e1(a) + Ch(a,b,c) + 0x3956c25b + W[ 4]; in sha256_transform()
96 t1 = c + e1(h) + Ch(h,a,b) + 0x59f111f1 + W[ 5]; in sha256_transform()
98 t1 = b + e1(g) + Ch(g,h,a) + 0x923f82a4 + W[ 6]; in sha256_transform()
100 t1 = a + e1(f) + Ch(f,g,h) + 0xab1c5ed5 + W[ 7]; in sha256_transform()
103 t1 = h + e1(e) + Ch(e,f,g) + 0xd807aa98 + W[ 8]; in sha256_transform()
105 t1 = g + e1(d) + Ch(d,e,f) + 0x12835b01 + W[ 9]; in sha256_transform()
107 t1 = f + e1(c) + Ch(c,d,e) + 0x243185be + W[10]; in sha256_transform()
109 t1 = e + e1(b) + Ch(b,c,d) + 0x550c7dc3 + W[11]; in sha256_transform()
111 t1 = d + e1(a) + Ch(a,b,c) + 0x72be5d74 + W[12]; in sha256_transform()
113 t1 = c + e1(h) + Ch(h,a,b) + 0x80deb1fe + W[13]; in sha256_transform()
115 t1 = b + e1(g) + Ch(g,h,a) + 0x9bdc06a7 + W[14]; in sha256_transform()
117 t1 = a + e1(f) + Ch(f,g,h) + 0xc19bf174 + W[15]; in sha256_transform()
120 t1 = h + e1(e) + Ch(e,f,g) + 0xe49b69c1 + W[16]; in sha256_transform()
122 t1 = g + e1(d) + Ch(d,e,f) + 0xefbe4786 + W[17]; in sha256_transform()
124 t1 = f + e1(c) + Ch(c,d,e) + 0x0fc19dc6 + W[18]; in sha256_transform()
126 t1 = e + e1(b) + Ch(b,c,d) + 0x240ca1cc + W[19]; in sha256_transform()
128 t1 = d + e1(a) + Ch(a,b,c) + 0x2de92c6f + W[20]; in sha256_transform()
130 t1 = c + e1(h) + Ch(h,a,b) + 0x4a7484aa + W[21]; in sha256_transform()
132 t1 = b + e1(g) + Ch(g,h,a) + 0x5cb0a9dc + W[22]; in sha256_transform()
134 t1 = a + e1(f) + Ch(f,g,h) + 0x76f988da + W[23]; in sha256_transform()
137 t1 = h + e1(e) + Ch(e,f,g) + 0x983e5152 + W[24]; in sha256_transform()
139 t1 = g + e1(d) + Ch(d,e,f) + 0xa831c66d + W[25]; in sha256_transform()
141 t1 = f + e1(c) + Ch(c,d,e) + 0xb00327c8 + W[26]; in sha256_transform()
143 t1 = e + e1(b) + Ch(b,c,d) + 0xbf597fc7 + W[27]; in sha256_transform()
145 t1 = d + e1(a) + Ch(a,b,c) + 0xc6e00bf3 + W[28]; in sha256_transform()
147 t1 = c + e1(h) + Ch(h,a,b) + 0xd5a79147 + W[29]; in sha256_transform()
149 t1 = b + e1(g) + Ch(g,h,a) + 0x06ca6351 + W[30]; in sha256_transform()
151 t1 = a + e1(f) + Ch(f,g,h) + 0x14292967 + W[31]; in sha256_transform()
154 t1 = h + e1(e) + Ch(e,f,g) + 0x27b70a85 + W[32]; in sha256_transform()
156 t1 = g + e1(d) + Ch(d,e,f) + 0x2e1b2138 + W[33]; in sha256_transform()
158 t1 = f + e1(c) + Ch(c,d,e) + 0x4d2c6dfc + W[34]; in sha256_transform()
160 t1 = e + e1(b) + Ch(b,c,d) + 0x53380d13 + W[35]; in sha256_transform()
162 t1 = d + e1(a) + Ch(a,b,c) + 0x650a7354 + W[36]; in sha256_transform()
164 t1 = c + e1(h) + Ch(h,a,b) + 0x766a0abb + W[37]; in sha256_transform()
166 t1 = b + e1(g) + Ch(g,h,a) + 0x81c2c92e + W[38]; in sha256_transform()
168 t1 = a + e1(f) + Ch(f,g,h) + 0x92722c85 + W[39]; in sha256_transform()
171 t1 = h + e1(e) + Ch(e,f,g) + 0xa2bfe8a1 + W[40]; in sha256_transform()
173 t1 = g + e1(d) + Ch(d,e,f) + 0xa81a664b + W[41]; in sha256_transform()
175 t1 = f + e1(c) + Ch(c,d,e) + 0xc24b8b70 + W[42]; in sha256_transform()
177 t1 = e + e1(b) + Ch(b,c,d) + 0xc76c51a3 + W[43]; in sha256_transform()
179 t1 = d + e1(a) + Ch(a,b,c) + 0xd192e819 + W[44]; in sha256_transform()
181 t1 = c + e1(h) + Ch(h,a,b) + 0xd6990624 + W[45]; in sha256_transform()
183 t1 = b + e1(g) + Ch(g,h,a) + 0xf40e3585 + W[46]; in sha256_transform()
185 t1 = a + e1(f) + Ch(f,g,h) + 0x106aa070 + W[47]; in sha256_transform()
188 t1 = h + e1(e) + Ch(e,f,g) + 0x19a4c116 + W[48]; in sha256_transform()
190 t1 = g + e1(d) + Ch(d,e,f) + 0x1e376c08 + W[49]; in sha256_transform()
192 t1 = f + e1(c) + Ch(c,d,e) + 0x2748774c + W[50]; in sha256_transform()
194 t1 = e + e1(b) + Ch(b,c,d) + 0x34b0bcb5 + W[51]; in sha256_transform()
196 t1 = d + e1(a) + Ch(a,b,c) + 0x391c0cb3 + W[52]; in sha256_transform()
198 t1 = c + e1(h) + Ch(h,a,b) + 0x4ed8aa4a + W[53]; in sha256_transform()
200 t1 = b + e1(g) + Ch(g,h,a) + 0x5b9cca4f + W[54]; in sha256_transform()
202 t1 = a + e1(f) + Ch(f,g,h) + 0x682e6ff3 + W[55]; in sha256_transform()
205 t1 = h + e1(e) + Ch(e,f,g) + 0x748f82ee + W[56]; in sha256_transform()
207 t1 = g + e1(d) + Ch(d,e,f) + 0x78a5636f + W[57]; in sha256_transform()
209 t1 = f + e1(c) + Ch(c,d,e) + 0x84c87814 + W[58]; in sha256_transform()
211 t1 = e + e1(b) + Ch(b,c,d) + 0x8cc70208 + W[59]; in sha256_transform()
213 t1 = d + e1(a) + Ch(a,b,c) + 0x90befffa + W[60]; in sha256_transform()
215 t1 = c + e1(h) + Ch(h,a,b) + 0xa4506ceb + W[61]; in sha256_transform()
217 t1 = b + e1(g) + Ch(g,h,a) + 0xbef9a3f7 + W[62]; in sha256_transform()
219 t1 = a + e1(f) + Ch(f,g,h) + 0xc67178f2 + W[63]; in sha256_transform()
227 memset(W, 0, 64 * sizeof(uint32_t)); in sha256_transform()