[−][src]Struct amcl_wrapper::ECCurve::fp::FP
Fields
x: BIG
xes: i32
Implementations
impl FP
[src]
pub const fn new() -> FP
[src]
pub fn new_int(a: isize) -> FP
[src]
pub fn new_copy(y: &FP) -> FP
[src]
pub fn new_big(y: &BIG) -> FP
[src]
pub fn new_rand(rng: &mut RAND) -> FP
[src]
pub fn nres(&mut self)
[src]
pub fn redc(&self) -> BIG
[src]
pub fn modulo(d: &mut DBIG) -> BIG
[src]
pub fn tostring(&self) -> String
[src]
pub fn reduce(&mut self)
[src]
pub fn iszilch(&self) -> bool
[src]
pub fn isunity(&self) -> bool
[src]
pub fn sign(&self) -> isize
[src]
pub fn copy(&mut self, b: &FP)
[src]
pub fn bcopy(&mut self, b: &BIG)
[src]
pub fn zero(&mut self)
[src]
pub fn one(&mut self)
[src]
pub fn norm(&mut self)
[src]
pub fn cswap(&mut self, b: &mut FP, d: isize)
[src]
pub fn cmove(&mut self, b: &FP, d: isize)
[src]
pub fn mul(&mut self, b: &FP)
[src]
pub fn neg(&mut self)
[src]
pub fn imul(&mut self, c: isize)
[src]
pub fn sqr(&mut self)
[src]
pub fn add(&mut self, b: &FP)
[src]
pub fn dbl(&mut self)
[src]
pub fn sub(&mut self, b: &FP)
[src]
pub fn rsub(&mut self, b: &FP)
[src]
pub fn div2(&mut self)
[src]
pub fn jacobi(&mut self) -> isize
[src]
pub fn equals(&self, a: &FP) -> bool
[src]
pub fn pow(&self, e: &BIG) -> FP
[src]
pub fn fpow(&self) -> FP
[src]
pub fn invsqrt(&mut self)
[src]
pub fn inverse(&mut self)
[src]
pub fn qr(&self, give_hint: Option<&mut FP>) -> isize
[src]
pub fn sqrt(&mut self, take_hint: Option<&FP>) -> FP
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,