[]Struct amcl_wrapper_ml::ECCurve::ecp2::ECP2

pub struct ECP2 { /* fields omitted */ }

Methods

impl ECP2

pub fn new() -> ECP2

pub fn new_fp2s(ix: &FP2, iy: &FP2) -> ECP2

pub fn new_fp2(ix: &FP2) -> ECP2

pub fn is_infinity(&self) -> bool

pub fn copy(&mut self, P: &ECP2)

pub fn inf(&mut self)

pub fn neg(&mut self)

pub fn cmove(&mut self, Q: &ECP2, d: isize)

pub fn selector(&mut self, W: &[ECP2], b: i32)

pub fn equals(&self, Q: &ECP2) -> bool

pub fn affine(&mut self)

pub fn getx(&self) -> FP2

pub fn gety(&self) -> FP2

pub fn getpx(&self) -> FP2

pub fn getpy(&self) -> FP2

pub fn getpz(&self) -> FP2

pub fn setpx(&mut self, x: FP2)

pub fn setpy(&mut self, y: FP2)

pub fn setpz(&mut self, z: FP2)

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

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

pub fn tostring(&self) -> String

pub fn to_hex(&self) -> String

pub fn from_hex_iter(iter: &mut SplitWhitespace) -> ECP2

pub fn from_hex(val: String) -> ECP2

pub fn rhs(x: &FP2) -> FP2

pub fn dbl(&mut self) -> isize

pub fn add(&mut self, Q: &ECP2) -> isize

pub fn sub(&mut self, Q: &ECP2) -> isize

pub fn frob(&mut self, x: &FP2)

pub fn mul(&self, e: &BIG) -> ECP2

pub fn mul4(Q: &mut [ECP2], u: &[BIG]) -> ECP2

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

pub fn generator() -> ECP2

Trait Implementations

impl Clone for ECP2

impl Copy for ECP2

impl Debug for ECP2

impl Display for ECP2

impl<'_> From<&'_ ECP2> for G2[src]

impl From<ECP2> for G2[src]

impl PartialEq<ECP2> for ECP2

Auto Trait Implementations

impl RefUnwindSafe for ECP2

impl Send for ECP2

impl Sync for ECP2

impl Unpin for ECP2

impl UnwindSafe for ECP2

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> ToString for T where
    T: Display + ?Sized
[src]

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>,