pub enum LmotsAlgorithm {
LmotsReserved = 0,
LmotsW1 = 1,
LmotsW2 = 2,
LmotsW4 = 3,
LmotsW8 = 4,
}Expand description
Specifies the used Winternitz parameter.
Variants§
Implementations§
Source§impl LmotsAlgorithm
impl LmotsAlgorithm
pub fn construct_default_parameter<H: HashChain>() -> LmotsParameter<H>
pub fn construct_parameter<H: HashChain>(&self) -> Option<LmotsParameter<H>>
pub fn get_from_type<H: HashChain>(_type: u32) -> Option<LmotsParameter<H>>
Trait Implementations§
Source§impl Clone for LmotsAlgorithm
impl Clone for LmotsAlgorithm
Source§fn clone(&self) -> LmotsAlgorithm
fn clone(&self) -> LmotsAlgorithm
Returns a duplicate 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 Default for LmotsAlgorithm
impl Default for LmotsAlgorithm
Source§impl From<u32> for LmotsAlgorithm
impl From<u32> for LmotsAlgorithm
Source§impl PartialEq for LmotsAlgorithm
impl PartialEq for LmotsAlgorithm
impl Copy for LmotsAlgorithm
impl Eq for LmotsAlgorithm
impl StructuralPartialEq for LmotsAlgorithm
Auto Trait Implementations§
impl Freeze for LmotsAlgorithm
impl RefUnwindSafe for LmotsAlgorithm
impl Send for LmotsAlgorithm
impl Sync for LmotsAlgorithm
impl Unpin for LmotsAlgorithm
impl UnwindSafe for LmotsAlgorithm
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