Document incomplete point addition error handling

This commit is contained in:
therealyingtong 2021-05-18 12:26:59 +08:00
parent c8076c2864
commit edea9bde73
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ pub trait EccInstructions<C: CurveAffine>: Chip<C::Base> {
) -> Result<Self::FixedPointShort, Error>;
/// Performs incomplete point addition, returning `a + b`.
///
/// This returns an error in exceptional cases.
fn add_incomplete(
&self,
layouter: &mut impl Layouter<C::Base>,