//! Key derivation function trait.
usecrate::error::PakeError;usealloc::vec::Vec;usezeroize::Zeroizing;/// A key derivation function (extract-then-expand).
pubtraitKdf{/// Extract a pseudorandom key from input keying material.
fnextract(salt:&[u8], ikm:&[u8])->Zeroizing<Vec<u8>>;/// Expand a pseudorandom key to the desired length.
fnexpand(prk:&[u8], info:&[u8], len:usize)->Result<Zeroizing<Vec<u8>>, PakeError>;}