• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

BitGo / rust-bitcoin
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: bitcoin-0.32.8-bitgo.2
DEFAULT BRANCH: master
Repo Added 17 Dec 2025 09:50AM UTC
Token NAgXD6xqA0zRoRmYLUlYtpF8pQFhenxbg regen
Build 8 Last
Files 92
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/blake2b-zcash-block-aligned
branch: fix/blake2b-zcash-block-aligned
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/blake2b-zcash-block-aligned
  • bitcoin-0.32.8-bitgo.1
  • bitcoin-0.32.8-bitgo.2
  • bitcoin-0.32.8-forkid
  • branch-bitcoin-0.32.8.add-forkid-support
  • branch-bitcoin-0.32.8.add-zcash

21 Apr 2026 04:06PM UTC coverage: 82.489% (-0.4%) from 82.848%
24733049286

push

github

OttoAllmendinger
fix(crypto): fix BLAKE2b finalization for block-aligned inputs in ZIP-243

The blake2b_256_personal function had a manual loop that processed all
complete 128-byte blocks with the finalization flag f=0. For inputs whose
length is an exact multiple of the block size (e.g. the outputs preimage
for 8+ outputs), the finalize call would find an empty buffer and compress
a spurious all-zero block as the final block, producing the wrong hash.

Fix: remove the manual loop and feed all data through the Lazy buffer
(buffer.digest_blocks), which retains the last block until finalize so
the correct finalization flag is always applied.

1 of 1 new or added line in 1 file covered. (100.0%)

17138 of 20776 relevant lines covered (82.49%)

17336.58 hits per line

Relevant lines Covered
Build:
Build:
20776 RELEVANT LINES 17138 COVERED LINES
17336.58 HITS PER LINE
Source Files on fix/blake2b-zcash-block-aligned
  • Tree
  • List 92
  • Changed 22
  • Source Changed 1
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24733049286 fix/blake2b-zcash-block-aligned fix(crypto): fix BLAKE2b finalization for block-aligned inputs in ZIP-243 The blake2b_256_personal function had a manual loop that processed all complete 128-byte blocks with the finalization flag f=0. For inputs whose length is an exact multiple... push 21 Apr 2026 04:08PM UTC OttoAllmendinger github
82.49
See All Builds (8)

Badge your Repo: rust-bitcoin

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc