(msg: &[F], param: &Self::LinCodePCParams)
| 53 | } |
| 54 | |
| 55 | fn encode(msg: &[F], param: &Self::LinCodePCParams) -> Result<Vec<F>, Error> { |
| 56 | Ok(reed_solomon(msg, param.rho_inv)) |
| 57 | } |
| 58 | |
| 59 | /// For a univariate polynomial, we simply return the list of coefficients. |
| 60 | fn poly_to_vec(polynomial: &P) -> Vec<F> { |
nothing calls this directly
no test coverage detected