Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion jh/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ 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)
### Changed
### Added
- Implementation of the `SerializableState` trait ([#889])
- Cover reset behavior in integration tests ([#956])

[#889]: https://github.com/RustCrypto/hashes/pull/889
[#956]: https://github.com/RustCrypto/hashes/pull/956

## 0.2.0 (2026-03-27)
### Added
Expand Down
18 changes: 9 additions & 9 deletions jh/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
use digest::{
Digest,
dev::{feed_rand_16mib, fixed_test},
dev::{feed_rand_16mib, fixed_reset_test},
hash_serialization_test, new_test,
};
use hex_literal::hex;

new_test!(jh224_long_kat, jh::Jh224, fixed_test);
new_test!(jh256_long_kat, jh::Jh256, fixed_test);
new_test!(jh384_long_kat, jh::Jh384, fixed_test);
new_test!(jh512_long_kat, jh::Jh512, fixed_test);
new_test!(jh224_long_kat, jh::Jh224, fixed_reset_test);
new_test!(jh256_long_kat, jh::Jh256, fixed_reset_test);
new_test!(jh384_long_kat, jh::Jh384, fixed_reset_test);
new_test!(jh512_long_kat, jh::Jh512, fixed_reset_test);

new_test!(jh224_short_kat, jh::Jh224, fixed_test);
new_test!(jh256_short_kat, jh::Jh256, fixed_test);
new_test!(jh384_short_kat, jh::Jh384, fixed_test);
new_test!(jh512_short_kat, jh::Jh512, fixed_test);
new_test!(jh224_short_kat, jh::Jh224, fixed_reset_test);
new_test!(jh256_short_kat, jh::Jh256, fixed_reset_test);
new_test!(jh384_short_kat, jh::Jh384, fixed_reset_test);
new_test!(jh512_short_kat, jh::Jh512, fixed_reset_test);

hash_serialization_test!(jh224_serialization, jh::Jh224);
hash_serialization_test!(jh256_serialization, jh::Jh256);
Expand Down
Loading