| 85 | ((a).v[1] ^ (b).v[1])) == 0) |
| 86 | |
| 87 | static inline struct gf128 |
| 88 | gf128_read(const uint8_t *buf) |
| 89 | { |
| 90 | struct gf128 r; |
| 91 | |
| 92 | r.v[0] = be64dec(buf); |
| 93 | buf += sizeof(uint64_t); |
| 94 | |
| 95 | r.v[1] = be64dec(buf); |
| 96 | |
| 97 | return r; |
| 98 | } |
| 99 | |
| 100 | static inline void |
| 101 | gf128_write(struct gf128 v, uint8_t *buf) |
no test coverage detected