From 8eb1ba48fa1e956d20f186152749cf455b0e4798 Mon Sep 17 00:00:00 2001 From: zerozebrazone Date: Tue, 13 Oct 2026 14:30:53 +0800 Subject: [PATCH 1/2] fix(fsb): preserve public AlgorithmName Signed-off-by: zerozebrazone --- fsb/src/block_api.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fsb/src/block_api.rs b/fsb/src/block_api.rs index e0f310124..98c46e2ed 100644 --- a/fsb/src/block_api.rs +++ b/fsb/src/block_api.rs @@ -12,7 +12,7 @@ use digest::{ macro_rules! fsb_impl { ( - $state:ident, $block_size:ident, $output_size:ident, $state_size:ident, + $full_state:ident, $state:ident, $block_size:ident, $output_size:ident, $state_size:ident, $n:expr, $w:expr, $r:expr, $p:expr, $s:expr, $doc:expr, ) => { use digest::consts::{$block_size, $output_size, $state_size}; @@ -333,6 +333,7 @@ macro_rules! fsb_impl { } fsb_impl!( + Fsb160, Fsb160Core, U60, U20, @@ -345,6 +346,7 @@ fsb_impl!( "Core FSB-160 hasher state", ); fsb_impl!( + Fsb224, Fsb224Core, U84, U28, @@ -357,6 +359,7 @@ fsb_impl!( "Core FSB-224 hasher state", ); fsb_impl!( + Fsb256, Fsb256Core, U96, U32, @@ -369,6 +372,7 @@ fsb_impl!( "Core FSB-256 hasher state", ); fsb_impl!( + Fsb384, Fsb384Core, U115, U48, @@ -381,6 +385,7 @@ fsb_impl!( "Core FSB-384 hasher state", ); fsb_impl!( + Fsb512, Fsb512Core, U155, U64, From 5a9fb936ac8edaa8104a4dd82d1b114f73155468 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Wed, 14 Oct 2026 18:04:01 +0300 Subject: [PATCH 2/2] Add changelog entry --- fsb/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fsb/CHANGELOG.md b/fsb/CHANGELOG.md index 01c316693..0f47c5da1 100644 --- a/fsb/CHANGELOG.md +++ b/fsb/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.2.1 (UNRELEASED) +### Fixed +- `AlgorithmName` implementations ([#928]) + +[#928]: https://github.com/RustCrypto/hashes/pull/928 + ## 0.2.0 (2026-03-27) ### Added - `alloc` crate feature ([#678])