Enum stm32wlxx_hal::pka::EcdsaSignError
source · pub enum EcdsaSignError {
Address,
Ram,
Rzero,
Szero,
Mode {
mode: u8,
},
Unknown {
bits: u32,
},
}
Expand description
Errors from an ECDSA signing operation.
Variants§
Address
Address access is out of range (unmapped address).
Ram
An AHB access to the PKA RAM occurred while the PKA core was computing and using its internal RAM. (AHB PKA_RAM access are not allowed while PKA operation is in progress).
Rzero
Signature part R is equal to 0.
Szero
Signature part S is equal to 0.
Mode
PKA mode does not match the expected mode.
Unknown
Unknown result code.
Trait Implementations§
source§impl Clone for EcdsaSignError
impl Clone for EcdsaSignError
source§fn clone(&self) -> EcdsaSignError
fn clone(&self) -> EcdsaSignError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EcdsaSignError
impl Debug for EcdsaSignError
source§impl PartialEq for EcdsaSignError
impl PartialEq for EcdsaSignError
source§fn eq(&self, other: &EcdsaSignError) -> bool
fn eq(&self, other: &EcdsaSignError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EcdsaSignError
impl Eq for EcdsaSignError
impl StructuralEq for EcdsaSignError
impl StructuralPartialEq for EcdsaSignError
Auto Trait Implementations§
impl RefUnwindSafe for EcdsaSignError
impl Send for EcdsaSignError
impl Sync for EcdsaSignError
impl Unpin for EcdsaSignError
impl UnwindSafe for EcdsaSignError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more