pub struct FP12 { /* private fields */ }
Implementations
sourceimpl FP12
impl FP12
pub fn new() -> FP12
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 copy(&mut self, x: &FP12)
pub fn one(&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 smul(&mut self, y: &FP12, twist: usize)
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 Copy for FP12
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more