Struct amcl::ecp2::ECP2
[−]
[src]
pub struct ECP2 { /* fields omitted */ }
Methods
impl ECP2
[src]
fn new() -> ECP2
[src]
fn new_fp2s(ix: &FP2, iy: &FP2) -> ECP2
[src]
fn new_fp2(ix: &FP2) -> ECP2
[src]
fn is_infinity(&mut self) -> bool
[src]
fn copy(&mut self, P: &ECP2)
[src]
fn inf(&mut self)
[src]
fn neg(&mut self)
[src]
fn cmove(&mut self, Q: &ECP2, d: isize)
[src]
fn selector(&mut self, W: &[ECP2], b: i32)
[src]
fn equals(&mut self, Q: &mut ECP2) -> bool
[src]
fn affine(&mut self)
[src]
fn getx(&mut self) -> FP2
[src]
fn gety(&mut self) -> FP2
[src]
fn getpx(&mut self) -> FP2
[src]
fn getpy(&mut self) -> FP2
[src]
fn getpz(&mut self) -> FP2
[src]
fn tobytes(&mut self, b: &mut [u8])
[src]
fn frombytes(b: &[u8]) -> ECP2
[src]
fn tostring(&mut self) -> String
[src]
fn to_hex(&self) -> String
[src]
fn from_hex_iter(iter: &mut SplitWhitespace) -> ECP2
[src]
fn from_hex(val: String) -> ECP2
[src]
fn rhs(x: &mut FP2) -> FP2
[src]
fn dbl(&mut self) -> isize
[src]
fn add(&mut self, Q: &mut ECP2) -> isize
[src]
fn sub(&mut self, Q: &mut ECP2) -> isize
[src]
fn frob(&mut self, x: &mut FP2)
[src]
fn multiaffine(P: &mut [ECP2])
[src]
fn mul(&mut self, e: &BIG) -> ECP2
[src]
fn mul4(Q: &mut [ECP2], u: &[BIG]) -> ECP2
[src]
Trait Implementations
impl Copy for ECP2
[src]
impl Clone for ECP2
[src]
fn clone(&self) -> ECP2
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for ECP2
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more