Home
last modified time | relevance | path

Searched refs:EcdsaError (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/libs/bssl/src/
Derr.rs18 use bssl_avf_error::{CipherError, EcError, EcdsaError, GlobalError, ReasonCode};
220 fn map_ecdsa_reason_code(reason: i32) -> Option<EcdsaError> { in map_ecdsa_reason_code() argument
222 bssl_sys::ECDSA_R_BAD_SIGNATURE => EcdsaError::BadSignature, in map_ecdsa_reason_code()
223 bssl_sys::ECDSA_R_MISSING_PARAMETERS => EcdsaError::MissingParameters, in map_ecdsa_reason_code()
224 bssl_sys::ECDSA_R_NEED_NEW_SETUP_VALUES => EcdsaError::NeedNewSetupValues, in map_ecdsa_reason_code()
225 bssl_sys::ECDSA_R_NOT_IMPLEMENTED => EcdsaError::NotImplemented, in map_ecdsa_reason_code()
227 EcdsaError::RandomNumberGenerationFailed in map_ecdsa_reason_code()
229 bssl_sys::ECDSA_R_ENCODE_ERROR => EcdsaError::EncodeError, in map_ecdsa_reason_code()
230 bssl_sys::ECDSA_R_TOO_MANY_ITERATIONS => EcdsaError::TooManyIterations, in map_ecdsa_reason_code()
Dlib.rs36 pub use bssl_avf_error::{ApiName, CipherError, EcError, EcdsaError, Error, ReasonCode, Result};
/packages/modules/Virtualization/libs/bssl/error/src/
Dcode.rs29 Ecdsa(EcdsaError),
169 pub enum EcdsaError { enum
179 impl From<EcdsaError> for ReasonCode {
180 fn from(e: EcdsaError) -> ReasonCode { in from()
185 impl fmt::Display for EcdsaError { implementation
Dlib.rs24 pub use crate::code::{CipherError, EcError, EcdsaError, GlobalError, ReasonCode};
/packages/modules/Virtualization/libs/bssl/tests/
Deckey_test.rs15 use bssl_avf::{sha256, ApiName, Digester, EcKey, EcdsaError, Error, PKey, Result};
121 let expected_err = Error::CallFailed(ApiName::ECDSA_verify, EcdsaError::BadSignature.into()); in verifying_ecdsa_p256_signed_with_a_different_key_fails()
127 Error::CallFailed(ApiName::EVP_DigestVerify, EcdsaError::BadSignature.into()); in verifying_ecdsa_p256_signed_with_a_different_key_fails()
141 let expected_err = Error::CallFailed(ApiName::ECDSA_verify, EcdsaError::BadSignature.into()); in verifying_ecdsa_p256_signed_with_a_different_message_fails()
167 let expected_err = Error::CallFailed(ApiName::ECDSA_verify, EcdsaError::BadSignature.into()); in verifying_ecdsa_cose_signed_with_a_different_message_fails()
180 let expected_err = Error::CallFailed(ApiName::ECDSA_verify, EcdsaError::BadSignature.into()); in verifying_ecdsa_cose_signed_as_der_fails()