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

tari-project / bulletproofs-plus / 5311495851
98%

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2023 11:55AM UTC
Jobs 1
Files 21
Run time 49s
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

pending completion
5311495851

push

github

web-flow
fix!: nonce index encoding (#31)

Nonces used for mask recovery are generated using hashes of a label,
seed, and two optional indexes. The label is included using the
`persona` field available in `Blake2b`, and the seed is of fixed length.
However, the indexes are `usize` and encoded in a manner that is
platform dependent. This means that mask recovery on a platform with a
different pointer size than the prover will fail to produce the correct
mask.

This work updates to use a `u32` encoding, returning an error if the
index exceeds this limit. This should never occur, given the typical
range of indexes used. It adds tests and does some minor refactoring.

Closes [issue
30](https://github.com/tari-project/bulletproofs-plus/issues/30).

BREAKING CHANGE: Changes the way that seed nonces are used in mask
recovery. Existing range proofs will verify, but will fail to recover
the correct mask.

1867 of 2044 relevant lines covered (91.34%)

1337.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5311495851.1 19 Jun 2023 11:55AM UTC 0
91.34
GitHub Action Run
Source Files on build 5311495851
Detailed source file information is not available for this build.
  • Back to Repo
  • 394843fd on github
  • Prev Build on main (#5311492391)
  • Next Build on main (#5313126257)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc