[−]Struct amcl_wrapper::ECCurve::fp12::FP12
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
fn clone(&self) -> FP12
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self