[][src]Struct amcl_wrapper::ECCurve::fp12::FP12

pub struct FP12 { /* fields omitted */ }

Implementations

impl FP12[src]

pub fn new() -> FP12[src]

pub fn settype(&mut self, t: usize)[src]

pub fn gettype(&self) -> usize[src]

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

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

pub fn new_fp4s(d: &FP4, e: &FP4, f: &FP4) -> FP12[src]

pub fn new_fp4(d: &FP4) -> FP12[src]

pub fn reduce(&mut self)[src]

pub fn norm(&mut self)[src]

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

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

pub fn selector(&mut self, g: &[FP12], b: i32)[src]

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

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

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

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

pub fn getc(&mut self) -> FP4[src]

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

pub fn one(&mut self)[src]

pub fn zero(&mut self)[src]

pub fn conj(&mut self)[src]

pub fn usqr(&mut self)[src]

pub fn sqr(&mut self)[src]

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

pub fn ssmul(&mut self, y: &FP12)[src]

pub fn smul(&mut self, y: &FP12)[src]

pub fn inverse(&mut self)[src]

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

pub fn trace(&mut self) -> FP4[src]

pub fn frombytes(w: &[u8]) -> FP12[src]

pub fn tobytes(&mut self, w: &mut [u8])[src]

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

pub fn pow(&self, e: &BIG) -> FP12[src]

pub fn pinpow(&mut self, e: i32, bts: i32)[src]

pub fn compow(&mut self, e: &BIG, r: &BIG) -> FP4[src]

pub fn pow4(q: &[FP12], u: &[BIG]) -> FP12[src]

Trait Implementations

impl Clone for FP12[src]

impl Copy for FP12[src]

impl<'_> From<&'_ FP12> for GT[src]

impl From<FP12> for GT[src]

Auto Trait Implementations

impl RefUnwindSafe for FP12

impl Send for FP12

impl Sync for FP12

impl Unpin for FP12

impl UnwindSafe for FP12

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