Struct milagro_crypto::ecp2::wrappers::ECP2
[−]
[src]
#[repr(C)]pub struct ECP2 { pub inf: c_int, pub x: FP2, pub y: FP2, pub z: FP2, }
Fields
inf: c_int
x: FP2
y: FP2
z: FP2
Methods
impl ECP2
[src]
fn set(P: &mut ECP2, x: &FP2, y: &FP2)
fn mul(P: &mut ECP2, e: &BIG)
fn add(P: &mut ECP2, Q: &ECP2)
fn sub(P: &mut ECP2, Q: &ECP2)
fn toOctet(W: &mut octet, P: &ECP2)
fn fromOctet(W: &octet) -> ECP2
fn inf(P: &mut ECP2)
fn new_fp2s(x: FP2, y: FP2, z: FP2) -> ECP2
fn to_hex(&self) -> String
fn from_hex_iter(iter: &mut SplitWhitespace) -> ECP2
fn from_hex(val: String) -> ECP2
Trait Implementations
impl Default for ECP2
[src]
impl PartialEq for ECP2
[src]
fn eq(&self, other: &ECP2) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for ECP2
[src]
impl Clone for ECP2
[src]
fn clone(&self) -> ECP2
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more