pub fn ec_double<F: PrimeField, FC: FieldChip<F>>(
    chip: &FC,
    ctx: &mut Context<F>,
    P: impl Into<EcPoint<F, FC::FieldPoint>>
) -> EcPoint<F, FC::FieldPoint>
Expand description

Assumptions

  • P.y != 0
  • P is not the point at infinity (undefined behavior otherwise)