pub enum LmsAlgorithm {
LmsReserved = 0,
LmsH5 = 5,
LmsH10 = 6,
LmsH15 = 7,
LmsH20 = 8,
LmsH25 = 9,
}Expand description
Specifies the used Tree height.
Variants§
Implementations§
Source§impl LmsAlgorithm
impl LmsAlgorithm
pub fn construct_default_parameter() -> LmsParameter<Sha256_256>
pub fn construct_parameter<H: HashChain>(&self) -> Option<LmsParameter<H>>
pub fn get_from_type<H: HashChain>(_type: u32) -> Option<LmsParameter<H>>
Trait Implementations§
Source§impl Clone for LmsAlgorithm
impl Clone for LmsAlgorithm
Source§fn clone(&self) -> LmsAlgorithm
fn clone(&self) -> LmsAlgorithm
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 LmsAlgorithm
impl Default for LmsAlgorithm
Source§impl From<u32> for LmsAlgorithm
impl From<u32> for LmsAlgorithm
impl Copy for LmsAlgorithm
Auto Trait Implementations§
impl Freeze for LmsAlgorithm
impl RefUnwindSafe for LmsAlgorithm
impl Send for LmsAlgorithm
impl Sync for LmsAlgorithm
impl Unpin for LmsAlgorithm
impl UnwindSafe for LmsAlgorithm
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