Struct openssl::ec::EcPointRef  
                   
                       [−]
                   
               
pub struct EcPointRef(_);
Methods
impl EcPointRef[src]
fn add(&mut self,
       group: &EcGroupRef,
       a: &EcPointRef,
       b: &EcPointRef,
       ctx: &mut BigNumContextRef)
       -> Result<(), ErrorStack>
group: &EcGroupRef,
a: &EcPointRef,
b: &EcPointRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
Computes a + b, storing the result in self.
fn mul(&mut self,
       group: &EcGroupRef,
       q: &EcPointRef,
       m: &BigNumRef,
       ctx: &BigNumContextRef)
       -> Result<(), ErrorStack>
group: &EcGroupRef,
q: &EcPointRef,
m: &BigNumRef,
ctx: &BigNumContextRef)
-> Result<(), ErrorStack>
Computes q * m, storing the result in self.
fn mul_generator(&mut self,
                 group: &EcGroupRef,
                 n: &BigNumRef,
                 ctx: &BigNumContextRef)
                 -> Result<(), ErrorStack>
group: &EcGroupRef,
n: &BigNumRef,
ctx: &BigNumContextRef)
-> Result<(), ErrorStack>
Computes generator * n, storing the result ing self.
fn mul_full(&mut self,
            group: &EcGroupRef,
            n: &BigNumRef,
            q: &EcPointRef,
            m: &BigNumRef,
            ctx: &mut BigNumContextRef)
            -> Result<(), ErrorStack>
group: &EcGroupRef,
n: &BigNumRef,
q: &EcPointRef,
m: &BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
Computes generator * n + q * m, storing the result in self.
fn invert(&mut self,
          group: &EcGroupRef,
          ctx: &BigNumContextRef)
          -> Result<(), ErrorStack>
group: &EcGroupRef,
ctx: &BigNumContextRef)
-> Result<(), ErrorStack>
Inverts self.
fn to_bytes(&self,
            group: &EcGroupRef,
            form: PointConversionForm,
            ctx: &mut BigNumContextRef)
            -> Result<Vec<u8>, ErrorStack>
group: &EcGroupRef,
form: PointConversionForm,
ctx: &mut BigNumContextRef)
-> Result<Vec<u8>, ErrorStack>
Serializes the point to a binary representation.
fn eq(&self,
      group: &EcGroupRef,
      other: &EcPointRef,
      ctx: &mut BigNumContextRef)
      -> Result<bool, ErrorStack>
group: &EcGroupRef,
other: &EcPointRef,
ctx: &mut BigNumContextRef)
-> Result<bool, ErrorStack>
Determines if this point is equal to another.
Trait Implementations
impl ForeignTypeRef for EcPointRef
type CType = EC_POINT
The raw C type.
unsafe fn from_ptr(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.