Skip to content

ripemd: fix RIPEMD-128 round count in comment - #931

Merged
newpavlov merged 1 commit into
RustCrypto:masterfrom
kleonyuan:ripemd-round-count
Oct 19, 2026
Merged

newpavlov merged 1 commit into
RustCrypto:masterfrom
kleonyuan:ripemd-round-count

Conversation

@kleonyuan

Copy link
Copy Markdown
Contributor

The parallel-round comment in c128.rs says the parallel rounds are "the same as the previous five rounds", but RIPEMD-128 only has four rounds: process_block! expands Round 1–4 followed by Parallel Round 1–4.

The sentence was copied from c160.rs, where it is correct — RIPEMD-160 does have a Round 5 (c160.rs:70).

Comment-only change, no behavior change. cargo test -p ripemd passes.

@newpavlov
newpavlov merged commit 98947e9 into RustCrypto:master Oct 19, 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