Skip to content

jh: cover reset behavior in known-answer tests - #956

Merged
newpavlov merged 2 commits into
RustCrypto:masterfrom
pqhyl07:master
Nov 30, 2026
Merged

newpavlov merged 2 commits into
RustCrypto:masterfrom
pqhyl07:master

Conversation

@pqhyl07

@pqhyl07 pqhyl07 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Use digest::dev::fixed_reset_test for all eight short- and long-input known-answer test suites for Jh224, Jh256, Jh384, and Jh512.

This checks the existing vectors after reset() and exercises reusing the same hasher after finalize_reset().

Testing

  • cargo +stable test -p jh --locked
  • cargo +stable test -p jh --all-features --locked
  • cargo +stable fmt --manifest-path jh/Cargo.toml -- --check
  • git diff --check

pqhyl07 and others added 2 commits November 26, 2026 07:53
@newpavlov
newpavlov merged commit 1657056 into RustCrypto:master Nov 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants