From d5c4097dffeaa7a377792a53f02c4a8bc7501ae1 Mon Sep 17 00:00:00 2001 From: Georgio Nicolas Date: Fri, 13 Feb 2026 05:02:19 +0100 Subject: [PATCH] upgrade kkt --- common/nym-kkt-ciphersuite/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/nym-kkt-ciphersuite/src/lib.rs b/common/nym-kkt-ciphersuite/src/lib.rs index 2788d3cc3a..286e889c46 100644 --- a/common/nym-kkt-ciphersuite/src/lib.rs +++ b/common/nym-kkt-ciphersuite/src/lib.rs @@ -273,16 +273,16 @@ impl Ciphersuite { self.verification_key_length } - pub fn hash_function(&self) -> HashFunction { - self.hash_function + pub fn hash_function(&self) -> &HashFunction { + &self.hash_function } - pub fn kem(&self) -> KEM { - self.kem + pub fn kem(&self) -> &KEM { + &self.kem } - pub fn signature_scheme(&self) -> SignatureScheme { - self.signature_scheme + pub fn signature_scheme(&self) -> &SignatureScheme { + &self.signature_scheme } pub fn hash_len(&self) -> usize {