Lines Matching defs:u32
56 typedef unsigned int u32;
70 # define U8TOU32(p) (*(const u32 *)(p))
71 # define U32TO8(p,v) (*(u32 *)(p) = (v))
73 # define U8TOU32(p) ({u32 ret; asm ("lwbrx %0,0,%1":"=r"(ret):"b"(p)); ret; })
76 # define U8TOU32(p) ({u32 ret; asm ("lrv %0,%1":"=d"(ret):"m"(*(u32 *)(p))); ret; })
77 # define U32TO8(p,v) asm ("strv %1,%0":"=m"(*(u32 *)(p)):"d"(v))
81 # define U8TOU32(p) ((u32)(p)[0] | (u32)(p)[1]<<8 | \
82 (u32)(p)[2]<<16 | (u32)(p)[3]<<24 )
97 static const u32 mxcsr = 0x7f80;
101 static const u32 fpc = 1;
105 static const u32 fcsr = 1;
133 u32 mxcsr_orig;
143 u32 fpc_orig;
153 u32 fcsr_orig;
255 u32 mxcsr_orig;
265 u32 fpc_orig;
275 u32 fcsr_orig;
430 void poly1305_emit(void *ctx, unsigned char mac[16], const u32 nonce[4])
434 u32 g0, g1, g2, g3, g4;
436 u32 mask;
460 g0 = (u32)(t = h0 + 5);
461 g1 = (u32)(t = h1 + (t >> 32));
462 g2 = (u32)(t = h2 + (t >> 32));
463 g3 = (u32)(t = h3 + (t >> 32));
464 g4 = h4 + (u32)(t >> 32);
479 g0 = (u32)(t = (u64)g0 + nonce[0]);
480 g1 = (u32)(t = (u64)g1 + (t >> 32) + nonce[1]);
481 g2 = (u32)(t = (u64)g2 + (t >> 32) + nonce[2]);
482 g3 = (u32)(t = (u64)g3 + (t >> 32) + nonce[3]);