Function kimchi::circuits::polynomials::endosclmul::gen_witness
source · pub fn gen_witness<F: Field + Display>(
w: &mut [Vec<F>; 15],
row0: usize,
endo: F,
base: (F, F),
bits: &[bool],
acc0: (F, F)
) -> EndoMulResult<F>
Expand description
Generates the witness_curr
values for a series of endoscaling constraints.
Panics
Will panic if bits
length does not match the requirement.