Enum miden_crypto::dsa::rpo_falcon512::FalconError
source · pub enum FalconError {
KeyGenerationFailed,
PubKeyDecodingExtraData,
PubKeyDecodingInvalidCoefficient(u32),
PubKeyDecodingInvalidLength(usize),
PubKeyDecodingInvalidTag(u8),
SigDecodingTooBigHighBits(u32),
SigDecodingInvalidRemainder,
SigDecodingNonZeroUnusedBitsLastByte,
SigDecodingMinusZero,
SigDecodingIncorrectEncodingAlgorithm,
SigDecodingNotSupportedDegree(u8),
SigGenerationFailed,
}
Variants§
KeyGenerationFailed
PubKeyDecodingExtraData
PubKeyDecodingInvalidCoefficient(u32)
PubKeyDecodingInvalidLength(usize)
PubKeyDecodingInvalidTag(u8)
SigDecodingTooBigHighBits(u32)
SigDecodingInvalidRemainder
SigDecodingNonZeroUnusedBitsLastByte
SigDecodingMinusZero
SigDecodingIncorrectEncodingAlgorithm
SigDecodingNotSupportedDegree(u8)
SigGenerationFailed
Trait Implementations§
source§impl Clone for FalconError
impl Clone for FalconError
source§fn clone(&self) -> FalconError
fn clone(&self) -> FalconError
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 FalconError
impl Debug for FalconError
source§impl Display for FalconError
impl Display for FalconError
source§impl Error for FalconError
impl Error for FalconError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for FalconError
impl PartialEq for FalconError
source§fn eq(&self, other: &FalconError) -> bool
fn eq(&self, other: &FalconError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FalconError
impl StructuralEq for FalconError
impl StructuralPartialEq for FalconError
Auto Trait Implementations§
impl RefUnwindSafe for FalconError
impl Send for FalconError
impl Sync for FalconError
impl Unpin for FalconError
impl UnwindSafe for FalconError
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