Skip to content

jh: add long-input regression tests#894

Open
blackflytech wants to merge 1 commit into
RustCrypto:masterfrom
blackflytech:master
Open

jh: add long-input regression tests#894
blackflytech wants to merge 1 commit into
RustCrypto:masterfrom
blackflytech:master

Conversation

@blackflytech

Copy link
Copy Markdown

Summary

Add 16 MiB pseudo-random input regression tests for the JH hash variants:

  • Jh224
  • Jh256
  • Jh384
  • Jh512

These tests follow the existing pattern used by other hash crates in this repository with digest::dev::feed_rand_16mib. This improves coverage for long-input hashing without changing implementation behavior.

Testing

  • cargo test --manifest-path jh/Cargo.toml --locked
  • cargo fmt --manifest-path jh/Cargo.toml -- --check
  • git diff --check

Signed-off-by: blackflytech <blackflytech@outlook.com>
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.

1 participant