[][src]Struct amcl_wrapper::ECCurve::ecp::ECP

pub struct ECP { /* fields omitted */ }

Implementations

impl ECP[src]

pub fn pnew() -> ECP[src]

pub fn new() -> ECP[src]

pub fn new_bigs(ix: &BIG, iy: &BIG) -> ECP[src]

pub fn new_bigint(ix: &BIG, s: isize) -> ECP[src]

pub fn new_big(ix: &BIG) -> ECP[src]

pub fn inf(&mut self)[src]

pub fn is_infinity(&self) -> bool[src]

pub fn cswap(&mut self, Q: &mut ECP, d: isize)[src]

pub fn cmove(&mut self, Q: &ECP, d: isize)[src]

pub fn copy(&mut self, P: &ECP)[src]

pub fn neg(&mut self)[src]

pub fn mulx(&mut self, c: &mut FP)[src]

pub fn equals(&mut self, Q: &mut ECP) -> bool[src]

pub fn affine(&mut self)[src]

pub fn getx(&self) -> BIG[src]

pub fn gety(&self) -> BIG[src]

pub fn gets(&self) -> isize[src]

pub fn getpx(&self) -> FP[src]

pub fn getpy(&self) -> FP[src]

pub fn getpz(&self) -> FP[src]

pub fn tobytes(&self, b: &mut [u8], compress: bool)[src]

pub fn frombytes(b: &[u8]) -> ECP[src]

pub fn tostring(&self) -> String[src]

pub fn dbl(&mut self)[src]

pub fn add(&mut self, Q: &ECP)[src]

pub fn dadd(&mut self, Q: &ECP, W: &ECP)[src]

pub fn sub(&mut self, Q: &ECP)[src]

pub fn pinmul(&self, e: i32, bts: i32) -> ECP[src]

pub fn mul(&self, e: &BIG) -> ECP[src]

pub fn mul2(&self, e: &BIG, Q: &ECP, f: &BIG) -> ECP[src]

pub fn cfp(&mut self)[src]

pub fn hap2point(h: &BIG) -> ECP[src]

pub fn map2point(h: &FP) -> ECP[src]

pub fn mapit(h: &[u8]) -> ECP[src]

pub fn generator() -> ECP[src]

Trait Implementations

impl Clone for ECP[src]

impl<'_> From<&'_ ECP> for G1[src]

impl From<ECP> for G1[src]

Auto Trait Implementations

impl RefUnwindSafe for ECP

impl Send for ECP

impl Sync for ECP

impl Unpin for ECP

impl UnwindSafe for ECP

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,