pub fn validate_untrusted_kdf_params(
memory_cost: u32,
time_cost: u32,
parallelism: u32,
key_size: u8,
) -> WorkflowResult<()>Expand description
Validates KDF parameters taken from an untrusted file header.
Takes raw values rather than a version-specific params struct so that every format version can use the same bounds.