halo2_ecc::ecc

Function ec_select_from_bits

Source
pub fn ec_select_from_bits<F: BigPrimeField, FC, Pt>(
    chip: &FC,
    ctx: &mut Context<F>,
    points: &[Pt],
    sel: &[AssignedValue<F>],
) -> EcPoint<F, FC::FieldPoint>
where FC: FieldChip<F> + Selectable<F, FC::FieldPoint>, Pt: Into<EcPoint<F, FC::FieldPoint>> + Clone,