[]Struct amcl_wrapper_ml::ECCurve::fp4::FP4

pub struct FP4 { /* fields omitted */ }

Methods

impl FP4

pub fn new() -> FP4

pub fn new_int(a: isize) -> FP4

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

pub fn new_fp2s(c: &FP2, d: &FP2) -> FP4

pub fn new_fp2(c: &FP2) -> FP4

pub fn set_fp2s(&mut self, c: &FP2, d: &FP2)

pub fn set_fp2(&mut self, c: &FP2)

pub fn set_fp2h(&mut self, c: &FP2)

pub fn reduce(&mut self)

pub fn norm(&mut self)

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

pub fn iszilch(&self) -> bool

pub fn isunity(&self) -> bool

pub fn isreal(&mut self) -> bool

pub fn real(&self) -> FP2

pub fn geta(&self) -> FP2

pub fn getb(&self) -> FP2

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

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

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

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

pub fn zero(&mut self)

pub fn one(&mut self)

pub fn neg(&mut self)

pub fn conj(&mut self)

pub fn nconj(&mut self)

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

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

pub fn dbl(&mut self)

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

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

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

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

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

pub fn sqr(&mut self)

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

pub fn tostring(&mut self) -> String

pub fn to_hex(&self) -> String

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

pub fn from_hex(val: String) -> FP4

pub fn inverse(&mut self)

pub fn times_i(&mut self)

pub fn frob(&mut self, f: &FP2)

pub fn pow(&self, e: &BIG) -> FP4

pub fn xtr_a(&mut self, w: &FP4, y: &FP4, z: &FP4)

pub fn xtr_d(&mut self)

pub fn xtr_pow(&self, n: &BIG) -> FP4

pub fn xtr_pow2(
    &mut self,
    ck: &FP4,
    ckml: &FP4,
    ckm2l: &FP4,
    a: &BIG,
    b: &BIG
) -> FP4

pub fn div2(&mut self)

pub fn div_i(&mut self)

pub fn div_2i(&mut self)

pub fn sqrt(&mut self) -> bool

Trait Implementations

impl Clone for FP4

impl Copy for FP4

impl PartialEq<FP4> for FP4

Auto Trait Implementations

impl RefUnwindSafe for FP4

impl Send for FP4

impl Sync for FP4

impl Unpin for FP4

impl UnwindSafe for FP4

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,