Lines Matching full:0
42 * byte order. If ARCH_IS_BIG_ENDIAN is defined as 0, the code will be
137 #undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
141 #define BYTE_ORDER (0)
144 #define T_MASK ((md5_word_t)~0)
145 #define T1 /* 0xd76aa478 */ (T_MASK ^ 0x28955b87)
146 #define T2 /* 0xe8c7b756 */ (T_MASK ^ 0x173848a9)
147 #define T3 (0x242070db)
148 #define T4 /* 0xc1bdceee */ (T_MASK ^ 0x3e423111)
149 #define T5 /* 0xf57c0faf */ (T_MASK ^ 0x0a83f050)
150 #define T6 (0x4787c62a)
151 #define T7 /* 0xa8304613 */ (T_MASK ^ 0x57cfb9ec)
152 #define T8 /* 0xfd469501 */ (T_MASK ^ 0x02b96afe)
153 #define T9 (0x698098d8)
154 #define T10 /* 0x8b44f7af */ (T_MASK ^ 0x74bb0850)
155 #define T11 /* 0xffff5bb1 */ (T_MASK ^ 0x0000a44e)
156 #define T12 /* 0x895cd7be */ (T_MASK ^ 0x76a32841)
157 #define T13 (0x6b901122)
158 #define T14 /* 0xfd987193 */ (T_MASK ^ 0x02678e6c)
159 #define T15 /* 0xa679438e */ (T_MASK ^ 0x5986bc71)
160 #define T16 (0x49b40821)
161 #define T17 /* 0xf61e2562 */ (T_MASK ^ 0x09e1da9d)
162 #define T18 /* 0xc040b340 */ (T_MASK ^ 0x3fbf4cbf)
163 #define T19 (0x265e5a51)
164 #define T20 /* 0xe9b6c7aa */ (T_MASK ^ 0x16493855)
165 #define T21 /* 0xd62f105d */ (T_MASK ^ 0x29d0efa2)
166 #define T22 (0x02441453)
167 #define T23 /* 0xd8a1e681 */ (T_MASK ^ 0x275e197e)
168 #define T24 /* 0xe7d3fbc8 */ (T_MASK ^ 0x182c0437)
169 #define T25 (0x21e1cde6)
170 #define T26 /* 0xc33707d6 */ (T_MASK ^ 0x3cc8f829)
171 #define T27 /* 0xf4d50d87 */ (T_MASK ^ 0x0b2af278)
172 #define T28 (0x455a14ed)
173 #define T29 /* 0xa9e3e905 */ (T_MASK ^ 0x561c16fa)
174 #define T30 /* 0xfcefa3f8 */ (T_MASK ^ 0x03105c07)
175 #define T31 (0x676f02d9)
176 #define T32 /* 0x8d2a4c8a */ (T_MASK ^ 0x72d5b375)
177 #define T33 /* 0xfffa3942 */ (T_MASK ^ 0x0005c6bd)
178 #define T34 /* 0x8771f681 */ (T_MASK ^ 0x788e097e)
179 #define T35 (0x6d9d6122)
180 #define T36 /* 0xfde5380c */ (T_MASK ^ 0x021ac7f3)
181 #define T37 /* 0xa4beea44 */ (T_MASK ^ 0x5b4115bb)
182 #define T38 (0x4bdecfa9)
183 #define T39 /* 0xf6bb4b60 */ (T_MASK ^ 0x0944b49f)
184 #define T40 /* 0xbebfbc70 */ (T_MASK ^ 0x4140438f)
185 #define T41 (0x289b7ec6)
186 #define T42 /* 0xeaa127fa */ (T_MASK ^ 0x155ed805)
187 #define T43 /* 0xd4ef3085 */ (T_MASK ^ 0x2b10cf7a)
188 #define T44 (0x04881d05)
189 #define T45 /* 0xd9d4d039 */ (T_MASK ^ 0x262b2fc6)
190 #define T46 /* 0xe6db99e5 */ (T_MASK ^ 0x1924661a)
191 #define T47 (0x1fa27cf8)
192 #define T48 /* 0xc4ac5665 */ (T_MASK ^ 0x3b53a99a)
193 #define T49 /* 0xf4292244 */ (T_MASK ^ 0x0bd6ddbb)
194 #define T50 (0x432aff97)
195 #define T51 /* 0xab9423a7 */ (T_MASK ^ 0x546bdc58)
196 #define T52 /* 0xfc93a039 */ (T_MASK ^ 0x036c5fc6)
197 #define T53 (0x655b59c3)
198 #define T54 /* 0x8f0ccc92 */ (T_MASK ^ 0x70f3336d)
199 #define T55 /* 0xffeff47d */ (T_MASK ^ 0x00100b82)
200 #define T56 /* 0x85845dd1 */ (T_MASK ^ 0x7a7ba22e)
201 #define T57 (0x6fa87e4f)
202 #define T58 /* 0xfe2ce6e0 */ (T_MASK ^ 0x01d3191f)
203 #define T59 /* 0xa3014314 */ (T_MASK ^ 0x5cfebceb)
204 #define T60 (0x4e0811a1)
205 #define T61 /* 0xf7537e82 */ (T_MASK ^ 0x08ac817d)
206 #define T62 /* 0xbd3af235 */ (T_MASK ^ 0x42c50dca)
207 #define T63 (0x2ad7d2bb)
208 #define T64 /* 0xeb86d391 */ (T_MASK ^ 0x14792c6e)
213 md5_word_t a = pms->abcd[0], b = pms->abcd[1], c = pms->abcd[2],
216 #if BYTE_ORDER > 0
226 #if BYTE_ORDER == 0
236 #if BYTE_ORDER <= 0 /* little-endian */
242 if (!((data - (const md5_byte_t *)0) & 3)) {
256 #if BYTE_ORDER == 0
259 #if BYTE_ORDER >= 0 /* big-endian */
268 #if BYTE_ORDER == 0
273 for (i = 0; i < 16; ++i, xp += 4)
274 xbuf[i] = (md5_word_t)(xp[0]) + (md5_word_t)(xp[1] << 8)
292 SET(a, b, c, d, 0, 7, T1);
322 SET(b, c, d, a, 0, 20, T20);
355 SET(d, a, b, c, 0, 11, T42);
373 SET(a, b, c, d, 0, 6, T49);
394 pms->abcd[0] += a;
403 pms->count[0] = pms->count[1] = 0;
404 pms->abcd[0] = 0x67452301;
405 pms->abcd[1] = /*0xefcdab89*/ T_MASK ^ 0x10325476;
406 pms->abcd[2] = /*0x98badcfe*/ T_MASK ^ 0x67452301;
407 pms->abcd[3] = 0x10325476;
415 size_t offset = (pms->count[0] >> 3) & 63;
418 if (nbytes <= 0)
423 pms->count[0] += nbits;
424 if (pms->count[0] < nbits)
451 static const md5_byte_t pad[64] = {0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
452 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
453 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
454 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
455 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
460 for (i = 0; i < 8; ++i)
463 md5_append(pms, pad, ((55 - (pms->count[0] >> 3)) & 63) + 1);
466 for (i = 0; i < 16; ++i)