openvm_pairing_guest::bls12_381

Type Alias Fp

Source
pub type Fp = Bls12_381Fp;

Aliased Type§

struct Fp(/* private fields */);

Trait Implementations§

Source§

impl Field for Fp

Source§

const ZERO: Self = <Self as IntMod>::ZERO

The zero element of the field, the additive identity.
Source§

const ONE: Self = <Self as IntMod>::ONE

The one element of the field, the multiplicative identity.
Source§

type SelfRef<'a> = &'a Bls12_381Fp

Source§

fn double_assign(&mut self)

Doubles self in-place.
Source§

fn square_assign(&mut self)

Square self in-place
Source§

fn invert(&self) -> Self

Unchecked inversion. See DivUnsafe. Read more