[][src]Trait witnet_bn::Group

pub trait Group: Send + Sync + Copy + Clone + PartialEq + Eq + Sized + Add<Self, Output = Self> + Sub<Self, Output = Self> + Neg<Output = Self> + Mul<Fr, Output = Self> {
    fn zero() -> Self;
fn one() -> Self;
fn random<R: Rng>(rng: &mut R) -> Self;
fn is_zero(&self) -> bool;
fn normalize(&mut self); }

Required methods

fn zero() -> Self

fn one() -> Self

fn random<R: Rng>(rng: &mut R) -> Self

fn is_zero(&self) -> bool

fn normalize(&mut self)

Loading content...

Implementors

impl Group for G1[src]

impl Group for G2[src]

Loading content...