[−]Struct amcl_wrapper::ECCurve::fp2::FP2
Methods
impl FP2
pub fn new() -> FP2
pub fn new_int(a: isize) -> FP2
pub fn new_copy(x: &FP2) -> FP2
pub fn new_fps(c: &FP, d: &FP) -> FP2
pub fn new_bigs(c: &BIG, d: &BIG) -> FP2
pub fn new_fp(c: &FP) -> FP2
pub fn new_big(c: &BIG) -> FP2
pub fn reduce(&mut self)
pub fn norm(&mut self)
pub fn iszilch(&self) -> bool
pub fn cmove(&mut self, g: &FP2, d: isize)
pub fn isunity(&self) -> bool
pub fn equals(&self, x: &FP2) -> bool
pub fn geta(&mut self) -> BIG
pub fn getb(&mut self) -> BIG
pub fn seta(&mut self, a: FP)
pub fn setb(&mut self, b: FP)
pub fn copy(&mut self, x: &FP2)
pub fn zero(&mut self)
pub fn one(&mut self)
pub fn neg(&mut self)
pub fn conj(&mut self)
pub fn add(&mut self, x: &FP2)
pub fn dbl(&mut self)
pub fn sub(&mut self, x: &FP2)
pub fn rsub(&mut self, x: &FP2)
pub fn pmul(&mut self, s: &FP)
pub fn imul(&mut self, c: isize)
pub fn sqr(&mut self)
pub fn mul(&mut self, y: &FP2)
pub fn sqrt(&mut self) -> bool
pub fn tostring(&mut self) -> String
pub fn to_hex(&self) -> String
pub fn from_hex_iter(iter: &mut SplitWhitespace) -> FP2
pub fn from_hex(val: String) -> FP2
pub fn inverse(&mut self)
pub fn div2(&mut self)
pub fn times_i(&mut self)
pub fn mul_ip(&mut self)
pub fn div_ip2(&mut self)
pub fn div_ip(&mut self)
Trait Implementations
impl Clone for FP2
fn clone(&self) -> FP2
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FP2
impl Display for FP2
impl Copy for FP2
impl PartialEq<FP2> for FP2
Auto Trait Implementations
impl Send for FP2
impl Unpin for FP2
impl Sync for FP2
impl UnwindSafe for FP2
impl RefUnwindSafe for FP2
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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