| 98 | } |
| 99 | |
| 100 | static inline void |
| 101 | gf128_write(struct gf128 v, uint8_t *buf) |
| 102 | { |
| 103 | uint64_t tmp; |
| 104 | |
| 105 | be64enc(buf, v.v[0]); |
| 106 | buf += sizeof tmp; |
| 107 | |
| 108 | be64enc(buf, v.v[1]); |
| 109 | } |
| 110 | |
| 111 | static inline struct gf128 __pure /* XXX - __pure2 instead */ |
| 112 | gf128_add(struct gf128 a, struct gf128 b) |
no test coverage detected