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

pub struct FP12 { /* fields omitted */ }

Methods

impl FP12

pub fn new() -> FP12

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

pub fn gettype(&self) -> usize

pub fn new_int(a: isize) -> FP12

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

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

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

pub fn reduce(&mut self)

pub fn norm(&mut self)

pub fn iszilch(&self) -> bool

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

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

pub fn isunity(&self) -> bool

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

pub fn geta(&mut self) -> FP4

pub fn getb(&mut self) -> FP4

pub fn getc(&mut self) -> FP4

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

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

pub fn setc(&mut self, c: FP4)

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

pub fn one(&mut self)

pub fn zero(&mut self)

pub fn conj(&mut self)

pub fn usqr(&mut self)

pub fn sqr(&mut self)

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

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

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

pub fn inverse(&mut self)

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

pub fn trace(&mut self) -> FP4

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

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

pub fn tostring(&mut self) -> String

pub fn to_hex(&self) -> String

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

pub fn from_hex(val: String) -> FP12

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

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

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

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

Trait Implementations

impl Clone for FP12

impl Copy for FP12

impl PartialEq<FP12> for FP12

impl From<FP12> for GT[src]

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

Auto Trait Implementations

impl Sync for FP12

impl Send for FP12

impl Unpin for FP12

impl UnwindSafe for FP12

impl RefUnwindSafe for FP12

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[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