Function halo2_ecc::ecc::ec_double_and_add_unequal
source · [−]pub fn ec_double_and_add_unequal<F: PrimeField, FC: FieldChip<F>>(
chip: &FC,
ctx: &mut Context<F>,
P: impl Into<ComparableEcPoint<F, FC>>,
Q: impl Into<ComparableEcPoint<F, FC>>,
is_strict: bool
) -> EcPoint<F, FC::FieldPoint>
Expand description
Implements: computing 2P + Q = P + Q + P for P = (x0, y0), Q = (x1, y1)
Assumptions
- Neither
P
norQ
is the point at infinity (undefined behavior otherwise)