12 s[0] = u.
lo & 255; u.
lo >>= 8;
13 s[1] = u.
lo & 255; u.
lo >>= 8;
14 s[2] = u.
lo & 255; u.
lo >>= 8;
15 s[3] = u.
lo & 255; u.
lo >>= 8;
16 s[4] = u.
lo & 255; u.
lo >>= 8;
17 s[5] = u.
lo & 255; u.
lo >>= 8;
18 s[6] = u.
lo & 255; u.
lo >>= 8;
19 s[7] = u.
lo & 255; u.
lo >>= 8;
21 s[8] = u.
hi & 255; u.
hi >>= 8;
22 s[9] = u.
hi & 255; u.
hi >>= 8;
23 s[10] = u.
hi & 255; u.
hi >>= 8;
24 s[11] = u.
hi & 255; u.
hi >>= 8;
25 s[12] = u.
hi & 255; u.
hi >>= 8;
26 s[13] = u.
hi & 255; u.
hi >>= 8;
27 s[14] = u.
hi & 255; u.
hi >>= 8;
32 s[15] = u.
lo & 255; u.
lo >>= 8;
33 s[14] = u.
lo & 255; u.
lo >>= 8;
34 s[13] = u.
lo & 255; u.
lo >>= 8;
35 s[12] = u.
lo & 255; u.
lo >>= 8;
36 s[11] = u.
lo & 255; u.
lo >>= 8;
37 s[10] = u.
lo & 255; u.
lo >>= 8;
38 s[9] = u.
lo & 255; u.
lo >>= 8;
39 s[8] = u.
lo & 255; u.
lo >>= 8;
41 s[7] = u.
hi & 255; u.
hi >>= 8;
42 s[6] = u.
hi & 255; u.
hi >>= 8;
43 s[5] = u.
hi & 255; u.
hi >>= 8;
44 s[4] = u.
hi & 255; u.
hi >>= 8;
45 s[3] = u.
hi & 255; u.
hi >>= 8;
46 s[2] = u.
hi & 255; u.
hi >>= 8;
47 s[1] = u.
hi & 255; u.
hi >>= 8;
54 result.
hi = result.
lo = 0ULL;
56 result.
hi = (
unsigned char) s[15]; result.
hi <<= 8;
57 result.
hi += (
unsigned char) s[14]; result.
hi <<= 8;
58 result.
hi += (
unsigned char) s[13]; result.
hi <<= 8;
59 result.
hi += (
unsigned char) s[12]; result.
hi <<= 8;
60 result.
hi += (
unsigned char) s[11]; result.
hi <<= 8;
61 result.
hi += (
unsigned char) s[10]; result.
hi <<= 8;
62 result.
hi += (
unsigned char) s[9]; result.
hi <<= 8;
63 result.
hi += (
unsigned char) s[8];
65 result.
lo += (
unsigned char) s[7]; result.
lo <<= 8;
66 result.
lo += (
unsigned char) s[6]; result.
lo <<= 8;
67 result.
lo += (
unsigned char) s[5]; result.
lo <<= 8;
68 result.
lo += (
unsigned char) s[4]; result.
lo <<= 8;
69 result.
lo += (
unsigned char) s[3]; result.
lo <<= 8;
70 result.
lo += (
unsigned char) s[2]; result.
lo <<= 8;
71 result.
lo += (
unsigned char) s[1]; result.
lo <<= 8;
72 result.
lo += (
unsigned char) s[0];
79 result.
hi = result.
lo = 0ULL;
81 result.
hi = (
unsigned char) s[0]; result.
hi <<= 8;
82 result.
hi += (
unsigned char) s[1]; result.
hi <<= 8;
83 result.
hi += (
unsigned char) s[2]; result.
hi <<= 8;
84 result.
hi += (
unsigned char) s[3]; result.
hi <<= 8;
85 result.
hi += (
unsigned char) s[4]; result.
hi <<= 8;
86 result.
hi += (
unsigned char) s[5]; result.
hi <<= 8;
87 result.
hi += (
unsigned char) s[6]; result.
hi <<= 8;
88 result.
hi += (
unsigned char) s[7];
90 result.
lo += (
unsigned char) s[8]; result.
lo <<= 8;
91 result.
lo += (
unsigned char) s[9]; result.
lo <<= 8;
92 result.
lo += (
unsigned char) s[10]; result.
lo <<= 8;
93 result.
lo += (
unsigned char) s[11]; result.
lo <<= 8;
94 result.
lo += (
unsigned char) s[12]; result.
lo <<= 8;
95 result.
lo += (
unsigned char) s[13]; result.
lo <<= 8;
96 result.
lo += (
unsigned char) s[14]; result.
lo <<= 8;
97 result.
lo += (
unsigned char) s[15];
void uint128_unpack(char s[16], uint128 *u)
void uint128_pack_big(char s[16], uint128 u)
void uint128_pack(char s[16], uint128 u)
void uint128_unpack_big(char s[16], uint128 *u)
additional types and pack routines