Home
last modified time | relevance | path

Searched refs:EcPoint (Results 1 - 1 of 1) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/
H A Dec.rs248 /// Returns the generator for the given curve as an [`EcPoint`].
261 generator: EcPoint, in set_generator()
328 pub struct EcPoint; structure names
329 /// A reference a borrowed [`EcPoint`].
496 pub fn to_owned(&self, group: &EcGroupRef) -> Result<EcPoint, ErrorStack> { in to_owned()
497 unsafe { cvt_p(ffi::EC_POINT_dup(self.as_ptr(), group.as_ptr())).map(EcPoint) } in to_owned()
636 impl EcPoint { impls
639 pub fn new(group: &EcGroupRef) -> Result<EcPoint, ErrorStack> { in new()
640 unsafe { cvt_p(ffi::EC_POINT_new(group.as_ptr())).map(EcPoint) } in new()
649 ) -> Result<EcPoint, ErrorStac in from_bytes()
[all...]

Completed in 2 milliseconds