Lines Matching +full:16 +full:v
48 #define REQ_ALIGN (16 * 4)
54 uint32_t a[16] __aligned(REQ_ALIGN); /* bits 0 - 31 */
55 uint32_t b[16] __aligned(REQ_ALIGN); /* bits 63 - 32 */
56 uint32_t c[16] __aligned(REQ_ALIGN); /* bits 95 - 64 */
57 uint32_t d[16] __aligned(REQ_ALIGN); /* bits 127 - 96 */
71 * the low bits are in v[0] (bits 0-63) and reverse order, while the high
72 * bits are in v[1] (bits 64-127) and reverse order. The high bit of v[0] is
73 * bit 0, and the low bit of v[1] is bit 127.
76 uint64_t v[2]; member
80 #define MAKE_GF128(a, b) ((struct gf128){.v = { (a), (b) } })
81 #define GF128_EQ(a, b) ((((a).v[0] ^ (b).v[0]) | \
82 ((a).v[1] ^ (b).v[1])) == 0)
89 r.v[0] = be64dec(buf); in gf128_read()
92 r.v[1] = be64dec(buf); in gf128_read()
98 gf128_write(struct gf128 v, uint8_t *buf) in gf128_write() argument
102 be64enc(buf, v.v[0]); in gf128_write()
105 be64enc(buf, v.v[1]); in gf128_write()
111 a.v[0] ^= b.v[0]; in gf128_add()
112 a.v[1] ^= b.v[1]; in gf128_add()
119 struct gf128 gf128_mul(struct gf128 v, struct gf128table *tbl);
122 struct gf128 gf128_mul4b(struct gf128 r, const uint8_t *v,