Type Alias decaf377::Fr

pub type Fr = Fp<MontBackend<FrConfig, 4>, 4>;

Aliased Type§

struct Fr(pub BigInt<4>, _);

Fields§

§0: BigInt<4>

Trait Implementations§

source§

impl FieldExt for Fr

source§

fn to_bytes(&self) -> [u8; 32]

Serializes an element to 32 bytes.
source§

fn from_bytes(bytes: [u8; 32]) -> Result<Self, EncodingError>

Deserializes an element from 32 bytes.
source§

impl<'a, 'b> Mul<&'b AffineElement> for &'a Fr

§

type Output = AffineElement

The resulting type after applying the * operator.
source§

fn mul(self, point: &'b AffineElement) -> AffineElement

Performs the * operation. Read more
source§

impl<'b> Mul<&'b AffineElement> for Fr

§

type Output = AffineElement

The resulting type after applying the * operator.
source§

fn mul(self, other: &'b AffineElement) -> AffineElement

Performs the * operation. Read more
source§

impl<'a, 'b> Mul<&'b Element> for &'a Fr

§

type Output = Element

The resulting type after applying the * operator.
source§

fn mul(self, point: &'b Element) -> Element

Performs the * operation. Read more
source§

impl<'b> Mul<&'b Element> for Fr

§

type Output = Element

The resulting type after applying the * operator.
source§

fn mul(self, other: &'b Element) -> Element

Performs the * operation. Read more
source§

impl<'a> Mul<AffineElement> for &'a Fr

§

type Output = AffineElement

The resulting type after applying the * operator.
source§

fn mul(self, other: AffineElement) -> AffineElement

Performs the * operation. Read more
source§

impl Mul<AffineElement> for Fr

§

type Output = AffineElement

The resulting type after applying the * operator.
source§

fn mul(self, other: AffineElement) -> AffineElement

Performs the * operation. Read more
source§

impl<'a> Mul<Element> for &'a Fr

§

type Output = Element

The resulting type after applying the * operator.
source§

fn mul(self, other: Element) -> Element

Performs the * operation. Read more
source§

impl Mul<Element> for Fr

§

type Output = Element

The resulting type after applying the * operator.
source§

fn mul(self, other: Element) -> Element

Performs the * operation. Read more