Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/lib/sha1.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||
2 | - | |||||||||||||
3 | - | |||||||||||||
4 | - | |||||||||||||
5 | - | |||||||||||||
6 | - | |||||||||||||
7 | - | |||||||||||||
8 | - | |||||||||||||
9 | - | |||||||||||||
10 | static const unsigned char fillbuf[64] = { 0x80, 0 }; | - | ||||||||||||
11 | - | |||||||||||||
12 | - | |||||||||||||
13 | - | |||||||||||||
14 | - | |||||||||||||
15 | - | |||||||||||||
16 | void | - | ||||||||||||
17 | sha1_init_ctx (struct sha1_ctx *ctx) | - | ||||||||||||
18 | { | - | ||||||||||||
19 | ctx->A = 0x67452301; | - | ||||||||||||
20 | ctx->B = 0xefcdab89; | - | ||||||||||||
21 | ctx->C = 0x98badcfe; | - | ||||||||||||
22 | ctx->D = 0x10325476; | - | ||||||||||||
23 | ctx->E = 0xc3d2e1f0; | - | ||||||||||||
24 | - | |||||||||||||
25 | ctx->total[0] = ctx->total[1] = 0; | - | ||||||||||||
26 | ctx->buflen = 0; | - | ||||||||||||
27 | } executed 245 times by 1 test: end of block Executed by:
| 245 | ||||||||||||
28 | - | |||||||||||||
29 | - | |||||||||||||
30 | - | |||||||||||||
31 | - | |||||||||||||
32 | static void | - | ||||||||||||
33 | set_uint32 (char *cp, uint32_t v) | - | ||||||||||||
34 | { | - | ||||||||||||
35 | memcpy (cp, &v, sizeof v); | - | ||||||||||||
36 | } executed 1225 times by 1 test: end of block Executed by:
| 1225 | ||||||||||||
37 | - | |||||||||||||
38 | - | |||||||||||||
39 | - | |||||||||||||
40 | void * | - | ||||||||||||
41 | sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) | - | ||||||||||||
42 | { | - | ||||||||||||
43 | char *r = resbuf; | - | ||||||||||||
44 | set_uint32 (r + 0 * sizeof ctx->A, (((ctx->A) << 24) | (((ctx->A) & 0xff00) << 8) | (((ctx->A) >> 8) & 0xff00) | ((ctx->A) >> 24))); | - | ||||||||||||
45 | set_uint32 (r + 1 * sizeof ctx->B, (((ctx->B) << 24) | (((ctx->B) & 0xff00) << 8) | (((ctx->B) >> 8) & 0xff00) | ((ctx->B) >> 24))); | - | ||||||||||||
46 | set_uint32 (r + 2 * sizeof ctx->C, (((ctx->C) << 24) | (((ctx->C) & 0xff00) << 8) | (((ctx->C) >> 8) & 0xff00) | ((ctx->C) >> 24))); | - | ||||||||||||
47 | set_uint32 (r + 3 * sizeof ctx->D, (((ctx->D) << 24) | (((ctx->D) & 0xff00) << 8) | (((ctx->D) >> 8) & 0xff00) | ((ctx->D) >> 24))); | - | ||||||||||||
48 | set_uint32 (r + 4 * sizeof ctx->E, (((ctx->E) << 24) | (((ctx->E) & 0xff00) << 8) | (((ctx->E) >> 8) & 0xff00) | ((ctx->E) >> 24))); | - | ||||||||||||
49 | - | |||||||||||||
50 | return executed 245 times by 1 test: resbuf;return resbuf; Executed by:
executed 245 times by 1 test: return resbuf; Executed by:
| 245 | ||||||||||||
51 | } | - | ||||||||||||
52 | - | |||||||||||||
53 | - | |||||||||||||
54 | - | |||||||||||||
55 | void * | - | ||||||||||||
56 | sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) | - | ||||||||||||
57 | { | - | ||||||||||||
58 | - | |||||||||||||
59 | uint32_t bytes = ctx->buflen; | - | ||||||||||||
60 | size_t size = (
| 18-227 | ||||||||||||
61 | - | |||||||||||||
62 | - | |||||||||||||
63 | ctx->total[0] += bytes; | - | ||||||||||||
64 | if (ctx->total[0] < bytes
| 0-245 | ||||||||||||
65 | ++ never executed: ctx->total[1];++ctx->total[1]; never executed: ++ctx->total[1]; | 0 | ||||||||||||
66 | - | |||||||||||||
67 | - | |||||||||||||
68 | ctx->buffer[size - 2] = ((((ctx->total[1] << 3) | (ctx->total[0] >> 29)) << 24) | ((((ctx->total[1] << 3) | (ctx->total[0] >> 29)) & 0xff00) << 8) | ((((ctx->total[1] << 3) | (ctx->total[0] >> 29)) >> 8) & 0xff00) | (((ctx->total[1] << 3) | (ctx->total[0] >> 29)) >> 24)); | - | ||||||||||||
69 | ctx->buffer[size - 1] = (((ctx->total[0] << 3) << 24) | (((ctx->total[0] << 3) & 0xff00) << 8) | (((ctx->total[0] << 3) >> 8) & 0xff00) | ((ctx->total[0] << 3) >> 24)); | - | ||||||||||||
70 | - | |||||||||||||
71 | memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); | - | ||||||||||||
72 | - | |||||||||||||
73 | - | |||||||||||||
74 | sha1_process_block (ctx->buffer, size * 4, ctx); | - | ||||||||||||
75 | - | |||||||||||||
76 | return executed 245 times by 1 test: sha1_read_ctx (ctx, resbuf);return sha1_read_ctx (ctx, resbuf); Executed by:
executed 245 times by 1 test: return sha1_read_ctx (ctx, resbuf); Executed by:
| 245 | ||||||||||||
77 | } | - | ||||||||||||
78 | - | |||||||||||||
79 | - | |||||||||||||
80 | - | |||||||||||||
81 | - | |||||||||||||
82 | - | |||||||||||||
83 | int | - | ||||||||||||
84 | sha1_stream (FILE *stream, void *resblock) | - | ||||||||||||
85 | { | - | ||||||||||||
86 | struct sha1_ctx ctx; | - | ||||||||||||
87 | size_t sum; | - | ||||||||||||
88 | - | |||||||||||||
89 | char *buffer = malloc (32768 + 72); | - | ||||||||||||
90 | if (!buffer
| 0-245 | ||||||||||||
91 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||
92 | - | |||||||||||||
93 | - | |||||||||||||
94 | sha1_init_ctx (&ctx); | - | ||||||||||||
95 | - | |||||||||||||
96 | - | |||||||||||||
97 | while (1) | - | ||||||||||||
98 | { | - | ||||||||||||
99 | - | |||||||||||||
100 | - | |||||||||||||
101 | - | |||||||||||||
102 | size_t n; | - | ||||||||||||
103 | sum = 0; | - | ||||||||||||
104 | - | |||||||||||||
105 | - | |||||||||||||
106 | while (1) | - | ||||||||||||
107 | { | - | ||||||||||||
108 | n = fread_unlocked (buffer + sum,1,32768 - sum,stream); | - | ||||||||||||
109 | - | |||||||||||||
110 | sum += n; | - | ||||||||||||
111 | - | |||||||||||||
112 | if (sum == 32768
| 30-245 | ||||||||||||
113 | break; executed 30 times by 1 test: break; Executed by:
| 30 | ||||||||||||
114 | - | |||||||||||||
115 | if (n == 0
| 6-239 | ||||||||||||
116 | { | - | ||||||||||||
117 | - | |||||||||||||
118 | - | |||||||||||||
119 | - | |||||||||||||
120 | if (ferror_unlocked (stream)
| 0-6 | ||||||||||||
121 | { | - | ||||||||||||
122 | free (buffer); | - | ||||||||||||
123 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||
124 | } | - | ||||||||||||
125 | goto executed 6 times by 1 test: process_partial_block;goto process_partial_block; Executed by:
executed 6 times by 1 test: goto process_partial_block; Executed by:
| 6 | ||||||||||||
126 | } | - | ||||||||||||
127 | - | |||||||||||||
128 | - | |||||||||||||
129 | - | |||||||||||||
130 | - | |||||||||||||
131 | if (feof_unlocked (stream)
| 0-239 | ||||||||||||
132 | goto executed 239 times by 1 test: process_partial_block;goto process_partial_block; Executed by:
executed 239 times by 1 test: goto process_partial_block; Executed by:
| 239 | ||||||||||||
133 | } never executed: end of block | 0 | ||||||||||||
134 | - | |||||||||||||
135 | - | |||||||||||||
136 | - | |||||||||||||
137 | - | |||||||||||||
138 | sha1_process_block (buffer, 32768, &ctx); | - | ||||||||||||
139 | } executed 30 times by 1 test: end of block Executed by:
| 30 | ||||||||||||
140 | - | |||||||||||||
141 | process_partial_block: code before this statement never executed: ;process_partial_block: | 0 | ||||||||||||
142 | - | |||||||||||||
143 | - | |||||||||||||
144 | if (sum > 0
| 6-239 | ||||||||||||
145 | sha1_process_bytes (buffer, sum, &ctx); executed 239 times by 1 test: sha1_process_bytes (buffer, sum, &ctx); Executed by:
| 239 | ||||||||||||
146 | - | |||||||||||||
147 | - | |||||||||||||
148 | sha1_finish_ctx (&ctx, resblock); | - | ||||||||||||
149 | free (buffer); | - | ||||||||||||
150 | return executed 245 times by 1 test: 0;return 0; Executed by:
executed 245 times by 1 test: return 0; Executed by:
| 245 | ||||||||||||
151 | } | - | ||||||||||||
152 | - | |||||||||||||
153 | - | |||||||||||||
154 | - | |||||||||||||
155 | - | |||||||||||||
156 | - | |||||||||||||
157 | - | |||||||||||||
158 | void * | - | ||||||||||||
159 | sha1_buffer (const char *buffer, size_t len, void *resblock) | - | ||||||||||||
160 | { | - | ||||||||||||
161 | struct sha1_ctx ctx; | - | ||||||||||||
162 | - | |||||||||||||
163 | - | |||||||||||||
164 | sha1_init_ctx (&ctx); | - | ||||||||||||
165 | - | |||||||||||||
166 | - | |||||||||||||
167 | sha1_process_bytes (buffer, len, &ctx); | - | ||||||||||||
168 | - | |||||||||||||
169 | - | |||||||||||||
170 | return never executed: sha1_finish_ctx (&ctx, resblock);return sha1_finish_ctx (&ctx, resblock); never executed: return sha1_finish_ctx (&ctx, resblock); | 0 | ||||||||||||
171 | } | - | ||||||||||||
172 | - | |||||||||||||
173 | void | - | ||||||||||||
174 | sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) | - | ||||||||||||
175 | { | - | ||||||||||||
176 | - | |||||||||||||
177 | - | |||||||||||||
178 | if (ctx->buflen != 0
| 0-239 | ||||||||||||
179 | { | - | ||||||||||||
180 | size_t left_over = ctx->buflen; | - | ||||||||||||
181 | size_t add = 128 - left_over > len
| 0 | ||||||||||||
182 | - | |||||||||||||
183 | memcpy (&((char *) ctx->buffer)[left_over], buffer, add); | - | ||||||||||||
184 | ctx->buflen += add; | - | ||||||||||||
185 | - | |||||||||||||
186 | if (ctx->buflen > 64
| 0 | ||||||||||||
187 | { | - | ||||||||||||
188 | sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); | - | ||||||||||||
189 | - | |||||||||||||
190 | ctx->buflen &= 63; | - | ||||||||||||
191 | - | |||||||||||||
192 | - | |||||||||||||
193 | memcpy (ctx->buffer, | - | ||||||||||||
194 | &((char *) ctx->buffer)[(left_over + add) & ~63], | - | ||||||||||||
195 | ctx->buflen); | - | ||||||||||||
196 | } never executed: end of block | 0 | ||||||||||||
197 | - | |||||||||||||
198 | buffer = (const char *) buffer + add; | - | ||||||||||||
199 | len -= add; | - | ||||||||||||
200 | } never executed: end of block | 0 | ||||||||||||
201 | - | |||||||||||||
202 | - | |||||||||||||
203 | if (len >= 64
| 72-167 | ||||||||||||
204 | { | - | ||||||||||||
205 | { | - | ||||||||||||
206 | sha1_process_block (buffer, len & ~63, ctx); | - | ||||||||||||
207 | buffer = (const char *) buffer + (len & ~63); | - | ||||||||||||
208 | len &= 63; | - | ||||||||||||
209 | } | - | ||||||||||||
210 | } executed 167 times by 1 test: end of block Executed by:
| 167 | ||||||||||||
211 | - | |||||||||||||
212 | - | |||||||||||||
213 | if (len > 0
| 3-236 | ||||||||||||
214 | { | - | ||||||||||||
215 | size_t left_over = ctx->buflen; | - | ||||||||||||
216 | - | |||||||||||||
217 | memcpy (&((char *) ctx->buffer)[left_over], buffer, len); | - | ||||||||||||
218 | left_over += len; | - | ||||||||||||
219 | if (left_over >= 64
| 0-236 | ||||||||||||
220 | { | - | ||||||||||||
221 | sha1_process_block (ctx->buffer, 64, ctx); | - | ||||||||||||
222 | left_over -= 64; | - | ||||||||||||
223 | - | |||||||||||||
224 | - | |||||||||||||
225 | memcpy (ctx->buffer, &ctx->buffer[16], left_over); | - | ||||||||||||
226 | } never executed: end of block | 0 | ||||||||||||
227 | ctx->buflen = left_over; | - | ||||||||||||
228 | } executed 236 times by 1 test: end of block Executed by:
| 236 | ||||||||||||
229 | } executed 239 times by 1 test: end of block Executed by:
| 239 | ||||||||||||
230 | void | - | ||||||||||||
231 | sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) | - | ||||||||||||
232 | { | - | ||||||||||||
233 | const uint32_t *words = buffer; | - | ||||||||||||
234 | size_t nwords = len / sizeof (uint32_t); | - | ||||||||||||
235 | const uint32_t *endp = words + nwords; | - | ||||||||||||
236 | uint32_t x[16]; | - | ||||||||||||
237 | uint32_t a = ctx->A; | - | ||||||||||||
238 | uint32_t b = ctx->B; | - | ||||||||||||
239 | uint32_t c = ctx->C; | - | ||||||||||||
240 | uint32_t d = ctx->D; | - | ||||||||||||
241 | uint32_t e = ctx->E; | - | ||||||||||||
242 | uint32_t lolen = len; | - | ||||||||||||
243 | - | |||||||||||||
244 | - | |||||||||||||
245 | - | |||||||||||||
246 | - | |||||||||||||
247 | ctx->total[0] += lolen; | - | ||||||||||||
248 | ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); | - | ||||||||||||
249 | while (words < endp
| 442-26055 | ||||||||||||
250 | { | - | ||||||||||||
251 | uint32_t tm; | - | ||||||||||||
252 | int t; | - | ||||||||||||
253 | for (t = 0; t < 16
| 26055-416880 | ||||||||||||
254 | { | - | ||||||||||||
255 | x[t] = (((*words) << 24) | (((*words) & 0xff00) << 8) | (((*words) >> 8) & 0xff00) | ((*words) >> 24)); | - | ||||||||||||
256 | words++; | - | ||||||||||||
257 | } executed 416880 times by 1 test: end of block Executed by:
| 416880 | ||||||||||||
258 | - | |||||||||||||
259 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( d ^ ( b & ( c ^ d ) ) ) + 0x5a827999 + x[ 0]; b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
260 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( c ^ ( a & ( b ^ c ) ) ) + 0x5a827999 + x[ 1]; a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
261 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( b ^ ( e & ( a ^ b ) ) ) + 0x5a827999 + x[ 2]; e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
262 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( a ^ ( d & ( e ^ a ) ) ) + 0x5a827999 + x[ 3]; d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
263 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( e ^ ( c & ( d ^ e ) ) ) + 0x5a827999 + x[ 4]; c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
264 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( d ^ ( b & ( c ^ d ) ) ) + 0x5a827999 + x[ 5]; b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
265 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( c ^ ( a & ( b ^ c ) ) ) + 0x5a827999 + x[ 6]; a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
266 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( b ^ ( e & ( a ^ b ) ) ) + 0x5a827999 + x[ 7]; e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
267 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( a ^ ( d & ( e ^ a ) ) ) + 0x5a827999 + x[ 8]; d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
268 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( e ^ ( c & ( d ^ e ) ) ) + 0x5a827999 + x[ 9]; c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
269 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( d ^ ( b & ( c ^ d ) ) ) + 0x5a827999 + x[10]; b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
270 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( c ^ ( a & ( b ^ c ) ) ) + 0x5a827999 + x[11]; a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
271 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( b ^ ( e & ( a ^ b ) ) ) + 0x5a827999 + x[12]; e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
272 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( a ^ ( d & ( e ^ a ) ) ) + 0x5a827999 + x[13]; d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
273 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( e ^ ( c & ( d ^ e ) ) ) + 0x5a827999 + x[14]; c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
274 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( d ^ ( b & ( c ^ d ) ) ) + 0x5a827999 + x[15]; b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
275 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( c ^ ( a & ( b ^ c ) ) ) + 0x5a827999 + ( tm = x[16&0x0f] ^ x[(16 -14)&0x0f] ^ x[(16 -8)&0x0f] ^ x[(16 -3)&0x0f] , (x[16&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
276 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( b ^ ( e & ( a ^ b ) ) ) + 0x5a827999 + ( tm = x[17&0x0f] ^ x[(17 -14)&0x0f] ^ x[(17 -8)&0x0f] ^ x[(17 -3)&0x0f] , (x[17&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
277 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( a ^ ( d & ( e ^ a ) ) ) + 0x5a827999 + ( tm = x[18&0x0f] ^ x[(18 -14)&0x0f] ^ x[(18 -8)&0x0f] ^ x[(18 -3)&0x0f] , (x[18&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
278 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( e ^ ( c & ( d ^ e ) ) ) + 0x5a827999 + ( tm = x[19&0x0f] ^ x[(19 -14)&0x0f] ^ x[(19 -8)&0x0f] ^ x[(19 -3)&0x0f] , (x[19&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
279 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0x6ed9eba1 + ( tm = x[20&0x0f] ^ x[(20 -14)&0x0f] ^ x[(20 -8)&0x0f] ^ x[(20 -3)&0x0f] , (x[20&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
280 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0x6ed9eba1 + ( tm = x[21&0x0f] ^ x[(21 -14)&0x0f] ^ x[(21 -8)&0x0f] ^ x[(21 -3)&0x0f] , (x[21&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
281 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0x6ed9eba1 + ( tm = x[22&0x0f] ^ x[(22 -14)&0x0f] ^ x[(22 -8)&0x0f] ^ x[(22 -3)&0x0f] , (x[22&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
282 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0x6ed9eba1 + ( tm = x[23&0x0f] ^ x[(23 -14)&0x0f] ^ x[(23 -8)&0x0f] ^ x[(23 -3)&0x0f] , (x[23&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
283 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0x6ed9eba1 + ( tm = x[24&0x0f] ^ x[(24 -14)&0x0f] ^ x[(24 -8)&0x0f] ^ x[(24 -3)&0x0f] , (x[24&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
284 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0x6ed9eba1 + ( tm = x[25&0x0f] ^ x[(25 -14)&0x0f] ^ x[(25 -8)&0x0f] ^ x[(25 -3)&0x0f] , (x[25&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
285 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0x6ed9eba1 + ( tm = x[26&0x0f] ^ x[(26 -14)&0x0f] ^ x[(26 -8)&0x0f] ^ x[(26 -3)&0x0f] , (x[26&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
286 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0x6ed9eba1 + ( tm = x[27&0x0f] ^ x[(27 -14)&0x0f] ^ x[(27 -8)&0x0f] ^ x[(27 -3)&0x0f] , (x[27&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
287 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0x6ed9eba1 + ( tm = x[28&0x0f] ^ x[(28 -14)&0x0f] ^ x[(28 -8)&0x0f] ^ x[(28 -3)&0x0f] , (x[28&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
288 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0x6ed9eba1 + ( tm = x[29&0x0f] ^ x[(29 -14)&0x0f] ^ x[(29 -8)&0x0f] ^ x[(29 -3)&0x0f] , (x[29&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
289 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0x6ed9eba1 + ( tm = x[30&0x0f] ^ x[(30 -14)&0x0f] ^ x[(30 -8)&0x0f] ^ x[(30 -3)&0x0f] , (x[30&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
290 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0x6ed9eba1 + ( tm = x[31&0x0f] ^ x[(31 -14)&0x0f] ^ x[(31 -8)&0x0f] ^ x[(31 -3)&0x0f] , (x[31&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
291 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0x6ed9eba1 + ( tm = x[32&0x0f] ^ x[(32 -14)&0x0f] ^ x[(32 -8)&0x0f] ^ x[(32 -3)&0x0f] , (x[32&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
292 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0x6ed9eba1 + ( tm = x[33&0x0f] ^ x[(33 -14)&0x0f] ^ x[(33 -8)&0x0f] ^ x[(33 -3)&0x0f] , (x[33&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
293 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0x6ed9eba1 + ( tm = x[34&0x0f] ^ x[(34 -14)&0x0f] ^ x[(34 -8)&0x0f] ^ x[(34 -3)&0x0f] , (x[34&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
294 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0x6ed9eba1 + ( tm = x[35&0x0f] ^ x[(35 -14)&0x0f] ^ x[(35 -8)&0x0f] ^ x[(35 -3)&0x0f] , (x[35&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
295 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0x6ed9eba1 + ( tm = x[36&0x0f] ^ x[(36 -14)&0x0f] ^ x[(36 -8)&0x0f] ^ x[(36 -3)&0x0f] , (x[36&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
296 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0x6ed9eba1 + ( tm = x[37&0x0f] ^ x[(37 -14)&0x0f] ^ x[(37 -8)&0x0f] ^ x[(37 -3)&0x0f] , (x[37&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
297 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0x6ed9eba1 + ( tm = x[38&0x0f] ^ x[(38 -14)&0x0f] ^ x[(38 -8)&0x0f] ^ x[(38 -3)&0x0f] , (x[38&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
298 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0x6ed9eba1 + ( tm = x[39&0x0f] ^ x[(39 -14)&0x0f] ^ x[(39 -8)&0x0f] ^ x[(39 -3)&0x0f] , (x[39&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
299 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( ( b & c ) | ( d & ( b | c ) ) ) + 0x8f1bbcdc + ( tm = x[40&0x0f] ^ x[(40 -14)&0x0f] ^ x[(40 -8)&0x0f] ^ x[(40 -3)&0x0f] , (x[40&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
300 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( ( a & b ) | ( c & ( a | b ) ) ) + 0x8f1bbcdc + ( tm = x[41&0x0f] ^ x[(41 -14)&0x0f] ^ x[(41 -8)&0x0f] ^ x[(41 -3)&0x0f] , (x[41&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
301 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( ( e & a ) | ( b & ( e | a ) ) ) + 0x8f1bbcdc + ( tm = x[42&0x0f] ^ x[(42 -14)&0x0f] ^ x[(42 -8)&0x0f] ^ x[(42 -3)&0x0f] , (x[42&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
302 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( ( d & e ) | ( a & ( d | e ) ) ) + 0x8f1bbcdc + ( tm = x[43&0x0f] ^ x[(43 -14)&0x0f] ^ x[(43 -8)&0x0f] ^ x[(43 -3)&0x0f] , (x[43&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
303 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( ( c & d ) | ( e & ( c | d ) ) ) + 0x8f1bbcdc + ( tm = x[44&0x0f] ^ x[(44 -14)&0x0f] ^ x[(44 -8)&0x0f] ^ x[(44 -3)&0x0f] , (x[44&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
304 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( ( b & c ) | ( d & ( b | c ) ) ) + 0x8f1bbcdc + ( tm = x[45&0x0f] ^ x[(45 -14)&0x0f] ^ x[(45 -8)&0x0f] ^ x[(45 -3)&0x0f] , (x[45&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
305 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( ( a & b ) | ( c & ( a | b ) ) ) + 0x8f1bbcdc + ( tm = x[46&0x0f] ^ x[(46 -14)&0x0f] ^ x[(46 -8)&0x0f] ^ x[(46 -3)&0x0f] , (x[46&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
306 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( ( e & a ) | ( b & ( e | a ) ) ) + 0x8f1bbcdc + ( tm = x[47&0x0f] ^ x[(47 -14)&0x0f] ^ x[(47 -8)&0x0f] ^ x[(47 -3)&0x0f] , (x[47&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
307 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( ( d & e ) | ( a & ( d | e ) ) ) + 0x8f1bbcdc + ( tm = x[48&0x0f] ^ x[(48 -14)&0x0f] ^ x[(48 -8)&0x0f] ^ x[(48 -3)&0x0f] , (x[48&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
308 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( ( c & d ) | ( e & ( c | d ) ) ) + 0x8f1bbcdc + ( tm = x[49&0x0f] ^ x[(49 -14)&0x0f] ^ x[(49 -8)&0x0f] ^ x[(49 -3)&0x0f] , (x[49&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
309 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( ( b & c ) | ( d & ( b | c ) ) ) + 0x8f1bbcdc + ( tm = x[50&0x0f] ^ x[(50 -14)&0x0f] ^ x[(50 -8)&0x0f] ^ x[(50 -3)&0x0f] , (x[50&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
310 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( ( a & b ) | ( c & ( a | b ) ) ) + 0x8f1bbcdc + ( tm = x[51&0x0f] ^ x[(51 -14)&0x0f] ^ x[(51 -8)&0x0f] ^ x[(51 -3)&0x0f] , (x[51&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
311 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( ( e & a ) | ( b & ( e | a ) ) ) + 0x8f1bbcdc + ( tm = x[52&0x0f] ^ x[(52 -14)&0x0f] ^ x[(52 -8)&0x0f] ^ x[(52 -3)&0x0f] , (x[52&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
312 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( ( d & e ) | ( a & ( d | e ) ) ) + 0x8f1bbcdc + ( tm = x[53&0x0f] ^ x[(53 -14)&0x0f] ^ x[(53 -8)&0x0f] ^ x[(53 -3)&0x0f] , (x[53&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
313 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( ( c & d ) | ( e & ( c | d ) ) ) + 0x8f1bbcdc + ( tm = x[54&0x0f] ^ x[(54 -14)&0x0f] ^ x[(54 -8)&0x0f] ^ x[(54 -3)&0x0f] , (x[54&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
314 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + ( ( b & c ) | ( d & ( b | c ) ) ) + 0x8f1bbcdc + ( tm = x[55&0x0f] ^ x[(55 -14)&0x0f] ^ x[(55 -8)&0x0f] ^ x[(55 -3)&0x0f] , (x[55&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
315 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + ( ( a & b ) | ( c & ( a | b ) ) ) + 0x8f1bbcdc + ( tm = x[56&0x0f] ^ x[(56 -14)&0x0f] ^ x[(56 -8)&0x0f] ^ x[(56 -3)&0x0f] , (x[56&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
316 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + ( ( e & a ) | ( b & ( e | a ) ) ) + 0x8f1bbcdc + ( tm = x[57&0x0f] ^ x[(57 -14)&0x0f] ^ x[(57 -8)&0x0f] ^ x[(57 -3)&0x0f] , (x[57&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
317 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + ( ( d & e ) | ( a & ( d | e ) ) ) + 0x8f1bbcdc + ( tm = x[58&0x0f] ^ x[(58 -14)&0x0f] ^ x[(58 -8)&0x0f] ^ x[(58 -3)&0x0f] , (x[58&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
318 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + ( ( c & d ) | ( e & ( c | d ) ) ) + 0x8f1bbcdc + ( tm = x[59&0x0f] ^ x[(59 -14)&0x0f] ^ x[(59 -8)&0x0f] ^ x[(59 -3)&0x0f] , (x[59&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
319 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0xca62c1d6 + ( tm = x[60&0x0f] ^ x[(60 -14)&0x0f] ^ x[(60 -8)&0x0f] ^ x[(60 -3)&0x0f] , (x[60&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
320 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0xca62c1d6 + ( tm = x[61&0x0f] ^ x[(61 -14)&0x0f] ^ x[(61 -8)&0x0f] ^ x[(61 -3)&0x0f] , (x[61&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
321 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0xca62c1d6 + ( tm = x[62&0x0f] ^ x[(62 -14)&0x0f] ^ x[(62 -8)&0x0f] ^ x[(62 -3)&0x0f] , (x[62&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
322 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0xca62c1d6 + ( tm = x[63&0x0f] ^ x[(63 -14)&0x0f] ^ x[(63 -8)&0x0f] ^ x[(63 -3)&0x0f] , (x[63&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
323 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0xca62c1d6 + ( tm = x[64&0x0f] ^ x[(64 -14)&0x0f] ^ x[(64 -8)&0x0f] ^ x[(64 -3)&0x0f] , (x[64&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
324 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0xca62c1d6 + ( tm = x[65&0x0f] ^ x[(65 -14)&0x0f] ^ x[(65 -8)&0x0f] ^ x[(65 -3)&0x0f] , (x[65&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
325 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0xca62c1d6 + ( tm = x[66&0x0f] ^ x[(66 -14)&0x0f] ^ x[(66 -8)&0x0f] ^ x[(66 -3)&0x0f] , (x[66&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
326 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0xca62c1d6 + ( tm = x[67&0x0f] ^ x[(67 -14)&0x0f] ^ x[(67 -8)&0x0f] ^ x[(67 -3)&0x0f] , (x[67&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
327 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0xca62c1d6 + ( tm = x[68&0x0f] ^ x[(68 -14)&0x0f] ^ x[(68 -8)&0x0f] ^ x[(68 -3)&0x0f] , (x[68&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
328 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0xca62c1d6 + ( tm = x[69&0x0f] ^ x[(69 -14)&0x0f] ^ x[(69 -8)&0x0f] ^ x[(69 -3)&0x0f] , (x[69&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
329 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0xca62c1d6 + ( tm = x[70&0x0f] ^ x[(70 -14)&0x0f] ^ x[(70 -8)&0x0f] ^ x[(70 -3)&0x0f] , (x[70&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
330 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0xca62c1d6 + ( tm = x[71&0x0f] ^ x[(71 -14)&0x0f] ^ x[(71 -8)&0x0f] ^ x[(71 -3)&0x0f] , (x[71&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
331 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0xca62c1d6 + ( tm = x[72&0x0f] ^ x[(72 -14)&0x0f] ^ x[(72 -8)&0x0f] ^ x[(72 -3)&0x0f] , (x[72&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
332 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0xca62c1d6 + ( tm = x[73&0x0f] ^ x[(73 -14)&0x0f] ^ x[(73 -8)&0x0f] ^ x[(73 -3)&0x0f] , (x[73&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
333 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0xca62c1d6 + ( tm = x[74&0x0f] ^ x[(74 -14)&0x0f] ^ x[(74 -8)&0x0f] ^ x[(74 -3)&0x0f] , (x[74&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
334 | do { e += (((a) << (5)) | ((uint32_t) (a) >> (32 - (5)))) + (b ^ c ^ d) + 0xca62c1d6 + ( tm = x[75&0x0f] ^ x[(75 -14)&0x0f] ^ x[(75 -8)&0x0f] ^ x[(75 -3)&0x0f] , (x[75&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); b = (((b) << (30)) | ((uint32_t) (b) >> (32 - (30)))); } while(0); | - | ||||||||||||
335 | do { d += (((e) << (5)) | ((uint32_t) (e) >> (32 - (5)))) + (a ^ b ^ c) + 0xca62c1d6 + ( tm = x[76&0x0f] ^ x[(76 -14)&0x0f] ^ x[(76 -8)&0x0f] ^ x[(76 -3)&0x0f] , (x[76&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); a = (((a) << (30)) | ((uint32_t) (a) >> (32 - (30)))); } while(0); | - | ||||||||||||
336 | do { c += (((d) << (5)) | ((uint32_t) (d) >> (32 - (5)))) + (e ^ a ^ b) + 0xca62c1d6 + ( tm = x[77&0x0f] ^ x[(77 -14)&0x0f] ^ x[(77 -8)&0x0f] ^ x[(77 -3)&0x0f] , (x[77&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); e = (((e) << (30)) | ((uint32_t) (e) >> (32 - (30)))); } while(0); | - | ||||||||||||
337 | do { b += (((c) << (5)) | ((uint32_t) (c) >> (32 - (5)))) + (d ^ e ^ a) + 0xca62c1d6 + ( tm = x[78&0x0f] ^ x[(78 -14)&0x0f] ^ x[(78 -8)&0x0f] ^ x[(78 -3)&0x0f] , (x[78&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); d = (((d) << (30)) | ((uint32_t) (d) >> (32 - (30)))); } while(0); | - | ||||||||||||
338 | do { a += (((b) << (5)) | ((uint32_t) (b) >> (32 - (5)))) + (c ^ d ^ e) + 0xca62c1d6 + ( tm = x[79&0x0f] ^ x[(79 -14)&0x0f] ^ x[(79 -8)&0x0f] ^ x[(79 -3)&0x0f] , (x[79&0x0f] = (((tm) << (1)) | ((uint32_t) (tm) >> (32 - (1))))) ); c = (((c) << (30)) | ((uint32_t) (c) >> (32 - (30)))); } while(0); | - | ||||||||||||
339 | - | |||||||||||||
340 | a = ctx->A += a; | - | ||||||||||||
341 | b = ctx->B += b; | - | ||||||||||||
342 | c = ctx->C += c; | - | ||||||||||||
343 | d = ctx->D += d; | - | ||||||||||||
344 | e = ctx->E += e; | - | ||||||||||||
345 | } executed 26055 times by 1 test: end of block Executed by:
| 26055 | ||||||||||||
346 | } executed 442 times by 1 test: end of block Executed by:
| 442 | ||||||||||||
Switch to Source code | Preprocessed file |