Struct openssl::ec::EcGroupRef
[−]
[src]
pub struct EcGroupRef(_);
Methods
impl EcGroupRef
[src]
fn components_gfp(&self,
p: &mut BigNumRef,
a: &mut BigNumRef,
b: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
p: &mut BigNumRef,
a: &mut BigNumRef,
b: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
Places the components of a curve over a prime field in the provided BigNum
s.
fn components_gf2m(&self,
p: &mut BigNumRef,
a: &mut BigNumRef,
b: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
p: &mut BigNumRef,
a: &mut BigNumRef,
b: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
Places the components of a curve over a binary field in the provided BigNum
s.
fn degree(&self) -> u32
Returns the degree of the curve.
fn order(&self,
order: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
order: &mut BigNumRef,
ctx: &mut BigNumContextRef)
-> Result<(), ErrorStack>
Places the order of the curve in the provided BigNum
.
Trait Implementations
impl OpenSslTypeRef for EcGroupRef
[src]
type CType = EC_GROUP
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(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.