From 1c6f692f39ec87d7208c6329ae8a48ec9f70d7d2 Mon Sep 17 00:00:00 2001 From: Moudy Date: Fri, 15 Aug 2025 14:52:14 +0200 Subject: [PATCH] Update shake256-33bytes-demo/methods/guest/src/main.rs Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com> --- shake256-33bytes-demo/methods/guest/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shake256-33bytes-demo/methods/guest/src/main.rs b/shake256-33bytes-demo/methods/guest/src/main.rs index e92b286..61195de 100644 --- a/shake256-33bytes-demo/methods/guest/src/main.rs +++ b/shake256-33bytes-demo/methods/guest/src/main.rs @@ -70,7 +70,7 @@ mod crypto { out_index: u32, ) -> [u8; 32] { let mut hasher = Sha256::new(); - sha2::Digest::update(&mut hasher, b"NSSA/v0.1/KDF-SHA256"); + hasher.update( b"NSSA/v0.1/KDF-SHA256"); sha2::Digest::update(&mut hasher, &ss_bytes); sha2::Digest::update(&mut hasher, &epk[..]); sha2::Digest::update(&mut hasher, &ipk[..]);