Enum esp32c2_hal::ecc::Error
source · pub enum Error {
SizeMismatchCurve,
PointNotOnSelectedCurve,
}
Expand description
ECC interface error
Variants§
SizeMismatchCurve
It means the purpose of the selected block does not match the configured key purpose and the calculation will not proceed.
PointNotOnSelectedCurve
It means that the point is not on the curve.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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