* Calculate a*h^4 + b*h^3 + c*h^2 + d*h, or: * (((a*h+b)*h+c)*h+d)*h */
| 233 | * (((a*h+b)*h+c)*h+d)*h |
| 234 | */ |
| 235 | struct gf128 |
| 236 | gf128_mul4(struct gf128 a, struct gf128 b, struct gf128 c, struct gf128 d, |
| 237 | struct gf128table4 *tbl) |
| 238 | { |
| 239 | struct gf128 tmp; |
| 240 | |
| 241 | tmp = MAKE_GF128(0, 0); |
| 242 | |
| 243 | tmp = gfmultword4(a.v[1], b.v[1], c.v[1], d.v[1], tmp, tbl); |
| 244 | tmp = gfmultword4(a.v[0], b.v[0], c.v[0], d.v[0], tmp, tbl); |
| 245 | |
| 246 | return tmp; |
| 247 | } |
| 248 | |
| 249 | /* |
| 250 | * a = data[0..15] + r |
nothing calls this directly
no test coverage detected