From a9bbd2e346d866b78eb059eca8de0ef13f11d4cf Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Fri, 1 May 2026 08:26:51 +0200 Subject: [PATCH] Fix build issues --- common/nym-kkt/src/masked_byte.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/nym-kkt/src/masked_byte.rs b/common/nym-kkt/src/masked_byte.rs index 2bdd29edae..4d2353246d 100644 --- a/common/nym-kkt/src/masked_byte.rs +++ b/common/nym-kkt/src/masked_byte.rs @@ -1,4 +1,4 @@ -use nym_crypto::{blake3, hmac::hmac::digest::ExtendableOutput}; +use nym_crypto::blake3; use crate::error::{ MaskedByteError, @@ -37,7 +37,8 @@ impl MaskedByte { hasher.update(mask); // avoid zero update hasher.update(&[0xFF, byte]); - hasher.finalize_xof_into(&mut output); + let mut xof = hasher.finalize_xof(); + xof.fill(&mut output); Self(output) } @@ -66,7 +67,8 @@ impl MaskedByte { for i in supported_versions { let mut t_hasher = hasher.clone(); t_hasher.update(&[*i]); - t_hasher.finalize_xof_into(&mut buf); + let mut xof = t_hasher.finalize_xof(); + xof.fill(&mut buf); if buf == self.0 { return Ok(*i); }