Lines Matching refs:U32
92 /* Perl does not guarantee that U32 is exactly 32 bits. Some system
95 * to reduce U32 values to 32 bits at appropriate places. If U32
124 static void u2s(U32 u, U8* s)
132 #define s2u(s,u) ((u) = (U32)(*s) | \
133 ((U32)(*(s+1)) << 8) | \
134 ((U32)(*(s+2)) << 16) | \
135 ((U32)(*(s+3)) << 24))
143 U32 signature; /* safer cast in get_md5_ctx() */
144 U32 A, B, C, D; /* current digest */
145 U32 bytes_low; /* counts bytes in message */
146 U32 bytes_high; /* turn it into a 64-bit counter */
196 (a) += F ((b), (c), (d)) + (NEXTx) + (U32)(ac); \
203 (a) += G ((b), (c), (d)) + X[x] + (U32)(ac); \
210 (a) += H ((b), (c), (d)) + X[x] + (U32)(ac); \
217 (a) += I ((b), (c), (d)) + X[x] + (U32)(ac); \
245 U32 A = ctx->A;
246 U32 B = ctx->B;
247 U32 C = ctx->C;
248 U32 D = ctx->D;
251 const U32 *x = (U32*)buf; /* really just type casting */
255 U32 a = A;
256 U32 b = B;
257 U32 c = C;
258 U32 d = D;
261 const U32 *X = x;
264 U32 X[16]; /* converted values, used in round 2-4 */
265 U32 *uptr = X;
266 U32 tmp;
430 U32 bits_low, bits_high;
440 *(U32*)(ctx->buffer + fill) = BYTESWAP(bits_low); fill += 4;
441 *(U32*)(ctx->buffer + fill) = BYTESWAP(bits_high); fill += 4;
453 *(U32*)digest = BYTESWAP(ctx->A); digest += 4;
454 *(U32*)digest = BYTESWAP(ctx->B); digest += 4;
455 *(U32*)digest = BYTESWAP(ctx->C); digest += 4;
456 *(U32*)digest = BYTESWAP(ctx->D);