Enum atsamd_hal::pukcc::EcdsaSignFailure
source · [−]pub enum EcdsaSignFailure {
WrongInputParameterLength {
faulty_slice: &'static str,
expected_length: usize,
actual_length: usize,
},
InvalidCurve(CurveVerificationFailure),
BasePointZCoordinateIsNotZero,
ServiceFailure(PukclReturnCode),
}
Expand description
An error type representing failure modes for a
Pukcc::zp_ecdsa_sign_with_entropy
and
Pukcc::zp_ecdsa_sign_with_raw_k
service
Variants
WrongInputParameterLength
InvalidCurve(CurveVerificationFailure)
BasePointZCoordinateIsNotZero
ServiceFailure(PukclReturnCode)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EcdsaSignFailure
impl Send for EcdsaSignFailure
impl Sync for EcdsaSignFailure
impl Unpin for EcdsaSignFailure
impl UnwindSafe for EcdsaSignFailure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more