Trait bellman::multiexp::Source [] [src]

pub trait Source<G: CurveAffine> {
    fn add_assign_mixed(
        &mut self,
        to: &mut <G as CurveAffine>::Projective
    ) -> Result<(), Error>;
fn skip(&mut self, amt: usize) -> Result<(), Error>; }

A source of bases, like an iterator.

Required Methods

Parses the element from the source. Fails if the point is at infinity.

Skips amt elements from the source, avoiding deserialization.

Implementors