[−]Struct amcl_wrapper::types::FP
Fields
x: BIG
xes: i32
Methods
impl FP
pub fn new() -> FP
pub fn new_int(a: isize) -> FP
pub fn new_copy(y: &FP) -> FP
pub fn new_big(y: &BIG) -> FP
pub fn nres(&mut self)
pub fn from_hex_iter(iter: &mut SplitWhitespace) -> FP
pub fn from_hex(val: String) -> FP
pub fn to_hex(&self) -> String
pub fn redc(&mut self) -> BIG
pub fn modulo(d: &mut DBIG) -> BIG
pub fn tostring(&mut self) -> String
pub fn reduce(&mut self)
pub fn iszilch(&self) -> bool
pub fn copy(&mut self, b: &FP)
pub fn bcopy(&mut self, b: &BIG)
pub fn zero(&mut self)
pub fn one(&mut self)
pub fn norm(&mut self)
pub fn cswap(&mut self, b: &mut FP, d: isize)
pub fn cmove(&mut self, b: &FP, d: isize)
pub fn mul(&mut self, b: &FP)
pub fn neg(&mut self)
pub fn imul(&mut self, c: isize)
pub fn sqr(&mut self)
pub fn add(&mut self, b: &FP)
pub fn dbl(&mut self)
pub fn sub(&mut self, b: &FP)
pub fn rsub(&mut self, b: &FP)
pub fn div2(&mut self)
pub fn fpow(&mut self) -> FP
pub fn inverse(&mut self)
pub fn equals(&self, a: &FP) -> bool
pub fn pow(&mut self, e: &mut BIG) -> FP
pub fn sqrt(&mut self) -> FP
pub fn jacobi(&mut self) -> isize
Trait Implementations
impl Clone for FP
fn clone(&self) -> FP
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FP
impl Display for FP
impl Copy for FP
impl PartialEq<FP> for FP
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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