Home
last modified time | relevance | path

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

/third_party/rust/crates/rust-openssl/openssl/src/
H A Decdsa.rs22 pub struct EcdsaSig; structure names
23 /// A reference to an [`EcdsaSig`].
27 impl EcdsaSig { impls
30 pub fn sign<T>(data: &[u8], eckey: &EcKeyRef<T>) -> Result<EcdsaSig, ErrorStack> in sign()
41 Ok(EcdsaSig::from_ptr(sig)) in sign()
45 /// Returns a new `EcdsaSig` by setting the `r` and `s` values associated with an ECDSA signature.
47 pub fn from_private_components(r: BigNum, s: BigNum) -> Result<EcdsaSig, ErrorStack> { in from_private_components()
52 Ok(EcdsaSig::from_ptr(sig)) in from_private_components()
60 EcdsaSig,
91 /// Returns internal component: `r` of an `EcdsaSig`
[all...]

Completed in 1 milliseconds