Searched refs:EdDsaError (Results 1 – 2 of 2) sorted by relevance
26 pub enum EdDsaError { enum63 impl From<InvalidSignatureError> for EdDsaError { implementation65 EdDsaError::InvalidSig(e) in from()82 ) -> Result<(SignatureSecretKey, SignaturePublicKey), EdDsaError> { in signature_key_generate() argument84 return Err(EdDsaError::UnsupportedCipherSuite); in signature_key_generate()96 ) -> Result<SignaturePublicKey, EdDsaError> { in signature_key_derive_public() argument98 return Err(EdDsaError::UnsupportedCipherSuite); in signature_key_derive_public()101 return Err(EdDsaError::InvalidPrivKeyLen { in signature_key_derive_public()117 ) -> Result<Vec<u8>, EdDsaError> { in sign() argument119 return Err(EdDsaError::UnsupportedCipherSuite); in sign()[all …]
38 use eddsa::{EdDsa, EdDsaError};63 EdDsaError(#[from] EdDsaError), enumerator