impl Default for Ciphersuite

This commit is contained in:
Georgio Nicolas
2026-01-28 23:57:53 +01:00
parent defbdc8a40
commit 511e8a4649
+11
View File
@@ -351,6 +351,17 @@ impl Display for Ciphersuite {
}
}
impl Default for Ciphersuite {
fn default() -> Self {
Self::new(
KEM::MlKem768,
HashFunction::Blake3,
SignatureScheme::Ed25519,
HashLength::Default,
)
}
}
#[cfg(test)]
mod tests {
use super::*;