[][src]Struct amcl_wrapper::ECCurve::fp4::FP4

pub struct FP4 { /* fields omitted */ }

Implementations

impl FP4[src]

pub const fn new() -> FP4[src]

pub fn new_int(a: isize) -> FP4[src]

pub fn new_ints(a: isize, b: isize) -> FP4[src]

pub fn new_copy(x: &FP4) -> FP4[src]

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

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

pub fn new_fp(c: &FP) -> FP4[src]

pub fn new_rand(rng: &mut RAND) -> FP4[src]

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

pub fn set_fp(&mut self, c: &FP)[src]

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

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

pub fn reduce(&mut self)[src]

pub fn norm(&mut self)[src]

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

pub fn iszilch(&self) -> bool[src]

pub fn isunity(&self) -> bool[src]

pub fn isreal(&mut self) -> bool[src]

pub fn real(&self) -> FP2[src]

pub fn geta(&self) -> FP2[src]

pub fn getb(&self) -> FP2[src]

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

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

pub fn zero(&mut self)[src]

pub fn one(&mut self)[src]

pub fn sign(&self) -> isize[src]

pub fn neg(&mut self)[src]

pub fn conj(&mut self)[src]

pub fn nconj(&mut self)[src]

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

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

pub fn dbl(&mut self)[src]

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

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

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

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

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

pub fn sqr(&mut self)[src]

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

pub fn tostring(&self) -> String[src]

pub fn inverse(&mut self)[src]

pub fn times_i(&mut self)[src]

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

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

pub fn xtr_d(&mut self)[src]

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

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

pub fn div2(&mut self)[src]

pub fn div_i(&mut self)[src]

pub fn qr(&mut self) -> isize[src]

pub fn sqrt(&mut self)[src]

Trait Implementations

impl Clone for FP4[src]

impl Copy for FP4[src]

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>,