pub struct ECP { /* private fields */ }
Implementations
sourceimpl ECP
impl ECP
pub fn pnew() -> ECP
pub fn new() -> ECP
pub fn new_bigs(ix: &BIG, iy: &BIG) -> ECP
pub fn new_bigint(ix: &BIG, s: isize) -> ECP
pub fn new_big(ix: &BIG) -> ECP
pub fn inf(&mut self)
pub fn is_infinity(&self) -> bool
pub fn cswap(&mut self, Q: &mut ECP, d: isize)
pub fn cmove(&mut self, Q: &ECP, d: isize)
pub fn copy(&mut self, P: &ECP)
pub fn neg(&mut self)
pub fn mulx(&mut self, c: &mut FP)
pub fn equals(&self, Q: &ECP) -> bool
pub fn affine(&mut self)
pub fn getx(&self) -> BIG
pub fn gety(&self) -> BIG
pub fn gets(&self) -> isize
pub fn getpx(&self) -> FP
pub fn getpy(&self) -> FP
pub fn getpz(&self) -> FP
pub fn tobytes(&self, b: &mut [u8], compress: bool)
pub fn frombytes(b: &[u8]) -> ECP
pub fn tostring(&self) -> String
pub fn to_hex(&self) -> String
pub fn from_hex_iter(iter: &mut SplitWhitespace<'_>) -> ECP
pub fn from_hex(val: String) -> ECP
pub fn dbl(&mut self)
pub fn add(&mut self, Q: &ECP)
pub fn dadd(&mut self, Q: &ECP, W: &ECP)
pub fn sub(&mut self, Q: &ECP)
pub fn pinmul(&self, e: i32, bts: i32) -> ECP
pub fn mul(&self, e: &BIG) -> ECP
pub fn mul2(&self, e: &BIG, Q: &ECP, f: &BIG) -> ECP
pub fn cfp(&mut self)
pub fn mapit(h: &[u8]) -> ECP
pub fn generator() -> ECP
Trait Implementations
impl Copy for ECP
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
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