pub struct ECP2 { /* private fields */ }
Implementations
sourceimpl ECP2
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 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 Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more