[−]Struct amcl_wrapper_ml::ECCurve::ecp2::ECP2
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
fn clone(&self) -> ECP2
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
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> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,