pub enum KdfProfile {
Argon2idV1,
IssuedHkdfV1,
}Expand description
The KDF profile a StretchedMaster was minted under. Versioned so that
RAISING the Argon2id params later is an explicit re-key epoch (it changes every
downstream key, so it folds into org-key rotation) — never a silent key fork.
A device records which profile minted its current keys.
Variants§
Argon2idV1
Argon2id V0x13, m=64 MiB, t=3, p=1 — the launch profile for passphrases.
IssuedHkdfV1
HKDF-only — a Parslee-issued ≥256-bit secret (no stretch needed).
Trait Implementations§
Source§impl Clone for KdfProfile
impl Clone for KdfProfile
Source§fn clone(&self) -> KdfProfile
fn clone(&self) -> KdfProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KdfProfile
Source§impl Debug for KdfProfile
impl Debug for KdfProfile
Source§impl<'de> Deserialize<'de> for KdfProfile
impl<'de> Deserialize<'de> for KdfProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KdfProfile
Source§impl PartialEq for KdfProfile
impl PartialEq for KdfProfile
Source§impl Serialize for KdfProfile
impl Serialize for KdfProfile
impl StructuralPartialEq for KdfProfile
Auto Trait Implementations§
impl Freeze for KdfProfile
impl RefUnwindSafe for KdfProfile
impl Send for KdfProfile
impl Sync for KdfProfile
impl Unpin for KdfProfile
impl UnsafeUnpin for KdfProfile
impl UnwindSafe for KdfProfile
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