Lines Matching refs:u64

20 typedef unsigned long u64;  typedef
24 u64 h[3];
25 u64 s[2];
26 u64 r[3];
32 static u64 U8TOU64(const unsigned char *p) in U8TOU64()
34 return (((u64)(p[0] & 0xff)) | in U8TOU64()
35 ((u64)(p[1] & 0xff) << 8) | in U8TOU64()
36 ((u64)(p[2] & 0xff) << 16) | in U8TOU64()
37 ((u64)(p[3] & 0xff) << 24) | in U8TOU64()
38 ((u64)(p[4] & 0xff) << 32) | in U8TOU64()
39 ((u64)(p[5] & 0xff) << 40) | in U8TOU64()
40 ((u64)(p[6] & 0xff) << 48) | in U8TOU64()
41 ((u64)(p[7] & 0xff) << 56)); in U8TOU64()
45 static void U64TO8(unsigned char *p, u64 v) in U64TO8()
60 u64 r0, r1; in poly1305_init()
85 u64 r0, r1, r2; in poly1305_blocks()
86 u64 s1, s2; in poly1305_blocks()
87 u64 h0, h1, h2, c; in poly1305_blocks()
89 u64 pad = (u64)padbit << 40; in poly1305_blocks()
103 u64 m0, m1; in poly1305_blocks()
119 h0 = (u64)d0 & 0x0fffffffffff; in poly1305_blocks()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
121 h2 = (u64)(d2 += (u64)(d1 >> 44)) & 0x03ffffffffff; /* last 42 bits */ in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit()
139 u64 g0, g1, g2; in poly1305_emit()
141 u64 mask; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
150 h2 += (u64)(t >> 64); in poly1305_emit()
153 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
154 g1 = (u64)(t = (u128)h1 + (t >> 64)); in poly1305_emit()
155 g2 = h2 + (u64)(t >> 64); in poly1305_emit()
166 h0 = (u64)(t = (u128)h0 + nonce[0] + ((u64)nonce[1]<<32)); in poly1305_emit()
167 h1 = (u64)(t = (u128)h1 + nonce[2] + ((u64)nonce[3]<<32) + (t >> 64)); in poly1305_emit()