Enum openssl_kdf::KdfArgument [−][src]
#[non_exhaustive]
pub enum KdfArgument<'a> {
Key(&'a [u8]),
Salt(&'a [u8]),
KbInfo(&'a [u8]),
KbSeed(&'a [u8]),
R(u8),
UseSeparator(bool),
UseL(bool),
LBits(u8),
Mac(KdfMacType),
KbMode(KdfKbMode),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Key(&'a [u8])
Salt(&'a [u8])
KbInfo(&'a [u8])
KbSeed(&'a [u8])
R(u8)
Tuple Fields
0: u8
UseSeparator(bool)
Tuple Fields
0: bool
UseL(bool)
Tuple Fields
0: bool
LBits(u8)
Tuple Fields
0: u8
Mac(KdfMacType)
Tuple Fields
0: KdfMacType
KbMode(KdfKbMode)
Tuple Fields
0: KdfKbMode
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for KdfArgument<'a>
impl<'a> Send for KdfArgument<'a>
impl<'a> Sync for KdfArgument<'a>
impl<'a> Unpin for KdfArgument<'a>
impl<'a> UnwindSafe for KdfArgument<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more