Lines Matching refs:u32
56 typedef unsigned int u32; typedef
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; in poly1305_init()
143 u32 fpc_orig; in poly1305_init()
153 u32 fcsr_orig; in poly1305_init()
255 u32 mxcsr_orig; in poly1305_blocks()
265 u32 fpc_orig; in poly1305_blocks()
275 u32 fcsr_orig; in poly1305_blocks()
430 void poly1305_emit(void *ctx, unsigned char mac[16], const u32 nonce[4]) in poly1305_emit()
434 u32 g0, g1, g2, g3, g4; in poly1305_emit()
436 u32 mask; in poly1305_emit()
460 g0 = (u32)(t = h0 + 5); in poly1305_emit()
461 g1 = (u32)(t = h1 + (t >> 32)); in poly1305_emit()
462 g2 = (u32)(t = h2 + (t >> 32)); in poly1305_emit()
463 g3 = (u32)(t = h3 + (t >> 32)); in poly1305_emit()
464 g4 = h4 + (u32)(t >> 32); in poly1305_emit()
479 g0 = (u32)(t = (u64)g0 + nonce[0]); in poly1305_emit()
480 g1 = (u32)(t = (u64)g1 + (t >> 32) + nonce[1]); in poly1305_emit()
481 g2 = (u32)(t = (u64)g2 + (t >> 32) + nonce[2]); in poly1305_emit()
482 g3 = (u32)(t = (u64)g3 + (t >> 32) + nonce[3]); in poly1305_emit()