(g kyber.Group, c kyber.Scalar)
| 214 | } |
| 215 | |
| 216 | func xMinusConst(g kyber.Group, c kyber.Scalar) *PriPoly { |
| 217 | neg := g.Scalar().Neg(c) |
| 218 | return &PriPoly{ |
| 219 | g: g, |
| 220 | coeffs: []kyber.Scalar{neg, g.Scalar().One()}, |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | // RecoverPriPoly takes a list of shares and the parameters t and n to |
| 225 | // reconstruct the secret polynomial completely, i.e., all private |
no test coverage detected