From 511e8a46497f51dc2ebff854f443b5395a5a2001 Mon Sep 17 00:00:00 2001 From: Georgio Nicolas Date: Wed, 28 Jan 2026 23:57:53 +0100 Subject: [PATCH] impl Default for Ciphersuite --- common/nym-kkt-ciphersuite/src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/common/nym-kkt-ciphersuite/src/lib.rs b/common/nym-kkt-ciphersuite/src/lib.rs index e72d873a87..2788d3cc3a 100644 --- a/common/nym-kkt-ciphersuite/src/lib.rs +++ b/common/nym-kkt-ciphersuite/src/lib.rs @@ -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::*;