pub fn validate_key_derivation( condition: bool, algorithm: &'static str, details: &'static str, ) -> Result<()>
Validate key derivation parameters