[−]Struct openssl::ec::EcPointRef  
Reference to EcPoint
Methods
impl EcPointRef[src] 
impl EcPointRefpub fn add(
    &mut self, 
    group: &EcGroupRef, 
    a: &EcPointRef, 
    b: &EcPointRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn add(
    &mut self, 
    group: &EcGroupRef, 
    a: &EcPointRef, 
    b: &EcPointRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>Computes a + b, storing the result in self.
OpenSSL documentation at EC_POINT_add
pub fn mul(
    &mut self, 
    group: &EcGroupRef, 
    q: &EcPointRef, 
    m: &BigNumRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn mul(
    &mut self, 
    group: &EcGroupRef, 
    q: &EcPointRef, 
    m: &BigNumRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>Computes q * m, storing the result in self.
OpenSSL documentation at EC_POINT_mul
pub fn mul_generator(
    &mut self, 
    group: &EcGroupRef, 
    n: &BigNumRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn mul_generator(
    &mut self, 
    group: &EcGroupRef, 
    n: &BigNumRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>Computes generator * n, storing the result ing self.
pub fn mul_full(
    &mut self, 
    group: &EcGroupRef, 
    n: &BigNumRef, 
    q: &EcPointRef, 
    m: &BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn mul_full(
    &mut self, 
    group: &EcGroupRef, 
    n: &BigNumRef, 
    q: &EcPointRef, 
    m: &BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>Computes generator * n + q * m, storing the result in self.
pub fn invert(
    &mut self, 
    group: &EcGroupRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn invert(
    &mut self, 
    group: &EcGroupRef, 
    ctx: &BigNumContextRef
) -> Result<(), ErrorStack>Inverts self.
OpenSSL documentation at EC_POINT_invert
pub fn to_bytes(
    &self, 
    group: &EcGroupRef, 
    form: PointConversionForm, 
    ctx: &mut BigNumContextRef
) -> Result<Vec<u8>, ErrorStack>[src] 
pub fn to_bytes(
    &self, 
    group: &EcGroupRef, 
    form: PointConversionForm, 
    ctx: &mut BigNumContextRef
) -> Result<Vec<u8>, ErrorStack>Serializes the point to a binary representation.
OpenSSL documentation at EC_POINT_point2oct
pub fn eq(
    &self, 
    group: &EcGroupRef, 
    other: &EcPointRef, 
    ctx: &mut BigNumContextRef
) -> Result<bool, ErrorStack>[src] 
pub fn eq(
    &self, 
    group: &EcGroupRef, 
    other: &EcPointRef, 
    ctx: &mut BigNumContextRef
) -> Result<bool, ErrorStack>Determines if this point is equal to another.
OpenSSL doucmentation at EC_POINT_cmp
pub fn affine_coordinates_gfp(
    &self, 
    group: &EcGroupRef, 
    x: &mut BigNumRef, 
    y: &mut BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn affine_coordinates_gfp(
    &self, 
    group: &EcGroupRef, 
    x: &mut BigNumRef, 
    y: &mut BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>Place affine coordinates of a curve over a prime field in the provided
x and y BigNums
OpenSSL documentation at EC_POINT_get_affine_coordinates_GFp
pub fn affine_coordinates_gf2m(
    &self, 
    group: &EcGroupRef, 
    x: &mut BigNumRef, 
    y: &mut BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>[src] 
pub fn affine_coordinates_gf2m(
    &self, 
    group: &EcGroupRef, 
    x: &mut BigNumRef, 
    y: &mut BigNumRef, 
    ctx: &mut BigNumContextRef
) -> Result<(), ErrorStack>Place affine coordinates of a curve over a binary field in the provided
x and y BigNums
OpenSSL documentation at EC_POINT_get_affine_coordinates_GF2m
Trait Implementations
impl Sync for EcPointRef[src] 
impl Sync for EcPointRefimpl AsRef<EcPointRef> for EcPoint
impl AsRef<EcPointRef> for EcPointfn as_ref(&self) -> &EcPointRef
fn as_ref(&self) -> &EcPointRefPerforms the conversion.
impl Send for EcPointRef[src] 
impl Send for EcPointRefimpl Borrow<EcPointRef> for EcPoint
impl Borrow<EcPointRef> for EcPointfn borrow(&self) -> &EcPointRef
fn borrow(&self) -> &EcPointRefImmutably borrows from an owned value. Read more
impl ForeignTypeRef for EcPointRef
impl ForeignTypeRef for EcPointReftype CType = EC_POINT
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self[src] 
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a SelfConstructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self[src] 
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut SelfConstructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType[src] 
fn as_ptr(&self) -> *mut Self::CTypeReturns a raw pointer to the wrapped value.
Blanket Implementations
impl<T> From for T[src] 
impl<T> From for Timpl<T, U> Into for T where
    U: From<T>, [src] 
impl<T, U> Into for T where
    U: From<T>, impl<T, U> TryFrom for T where
    T: From<U>, [src] 
impl<T, U> TryFrom for T where
    T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src] 
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
    T: ?Sized, [src] 
impl<T> Borrow for T where
    T: ?Sized, impl<T> BorrowMut for T where
    T: ?Sized, [src] 
impl<T> BorrowMut for T where
    T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src] 
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
    U: TryFrom<T>, [src] 
impl<T, U> TryInto for T where
    U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src] 
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
    T: 'static + ?Sized, [src] 
impl<T> Any for T where
    T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src] 
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API.  (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more