[]Struct amcl_wrapper::ECCurve::fp2::FP2

pub struct FP2 { /* fields omitted */ }

Methods

impl FP2

pub fn new() -> FP2

pub fn new_int(a: isize) -> FP2

pub fn new_copy(x: &FP2) -> FP2

pub fn new_fps(c: &FP, d: &FP) -> FP2

pub fn new_bigs(c: &BIG, d: &BIG) -> FP2

pub fn new_fp(c: &FP) -> FP2

pub fn new_big(c: &BIG) -> FP2

pub fn reduce(&mut self)

pub fn norm(&mut self)

pub fn iszilch(&self) -> bool

pub fn cmove(&mut self, g: &FP2, d: isize)

pub fn isunity(&self) -> bool

pub fn equals(&self, x: &FP2) -> bool

pub fn geta(&mut self) -> BIG

pub fn getb(&mut self) -> BIG

pub fn seta(&mut self, a: FP)

pub fn setb(&mut self, b: FP)

pub fn copy(&mut self, x: &FP2)

pub fn zero(&mut self)

pub fn one(&mut self)

pub fn neg(&mut self)

pub fn conj(&mut self)

pub fn add(&mut self, x: &FP2)

pub fn dbl(&mut self)

pub fn sub(&mut self, x: &FP2)

pub fn rsub(&mut self, x: &FP2)

pub fn pmul(&mut self, s: &FP)

pub fn imul(&mut self, c: isize)

pub fn sqr(&mut self)

pub fn mul(&mut self, y: &FP2)

pub fn sqrt(&mut self) -> bool

pub fn tostring(&mut self) -> String

pub fn to_hex(&self) -> String

pub fn from_hex_iter(iter: &mut SplitWhitespace) -> FP2

pub fn from_hex(val: String) -> FP2

pub fn inverse(&mut self)

pub fn div2(&mut self)

pub fn times_i(&mut self)

pub fn mul_ip(&mut self)

pub fn div_ip2(&mut self)

pub fn div_ip(&mut self)

Trait Implementations

impl Clone for FP2

impl Debug for FP2

impl Display for FP2

impl Copy for FP2

impl PartialEq<FP2> for FP2

Auto Trait Implementations

impl Send for FP2

impl Unpin for FP2

impl Sync for FP2

impl UnwindSafe for FP2

impl RefUnwindSafe for FP2

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self