Struct crypto::curve25519::Fe [] [src]

pub struct Fe(pub [i32; 10]);

Methods

impl Fe

fn from_bytes(s: &[u8]) -> Fe

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

fn maybe_swap_with(&mut self, other: &mut Fe, do_swap: i32)

fn maybe_set(&mut self, other: &Fe, do_swap: i32)

fn invert(&self) -> Fe

Trait Implementations

impl PartialEq for Fe

fn eq(&self, other: &Fe) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Eq for Fe

impl Add for Fe

type Output = Fe

fn add(self, _rhs: Fe) -> Fe

impl Sub for Fe

type Output = Fe

fn sub(self, _rhs: Fe) -> Fe

impl Mul for Fe

type Output = Fe

fn mul(self, _rhs: Fe) -> Fe

Derived Implementations

impl Copy for Fe

impl Clone for Fe

fn clone(&self) -> Fe

fn clone_from(&mut self, source: &Self)