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

KarpelesLab / lnp22 / 23517354341
80%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2026 11:34PM UTC
Jobs 1
Files 15
Run time 1min
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

24 Mar 2026 11:34PM UTC coverage: 85.228% (+1.3%) from 83.962%
23517354341

push

github

MagicalTux
Make ring parameters configurable (N, Q) with Karatsuba fallback

The ring package now supports arbitrary power-of-2 degree N and prime
modulus Q, instead of being hardcoded to Dilithium's N=256/Q=8380417.

- Ring is now a struct created via ring.New(n, q); ring.Dilithium() for defaults
- NTT enabled automatically when Q ≡ 1 (mod 2N); Karatsuba multiplication otherwise
- All operations are now Ring methods; Poly is a slice instead of a fixed array
- All packages (sampler, commitment, nizk) thread *ring.Ring through their APIs
- Tested with both Dilithium ring and Q=7933/N=512 (no NTT)
- 73 tests, all passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

372 of 399 new or added lines in 14 files covered. (93.23%)

6 existing lines in 4 files now uncovered.

802 of 941 relevant lines covered (85.23%)

96150.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
75.0
2.45% sampler/uniform.go
5
95.52
3.52% ring/poly.go
4
56.41
-0.73% nizk/params.go
4
82.35
-1.86% sampler/gaussian.go
3
78.08
0.94% ring/vec.go
2
95.12
-4.88% ring/ntt.go
2
96.55
19.63% ring/params.go
1
72.22
-1.92% nizk/linear.go

Coverage Regressions

Lines Coverage ∆ File
3
63.64
-1.58% nizk/verifier.go
1
56.41
-0.73% nizk/params.go
1
97.87
-0.2% sampler/challenge.go
1
82.35
-1.86% sampler/gaussian.go
Jobs
ID Job ID Ran Files Coverage
1 23517354341.1 24 Mar 2026 11:34PM UTC 15
85.23
GitHub Action Run
Source Files on build 23517354341
  • Tree
  • List 15
  • Changed 14
  • Source Changed 14
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23517354341
  • 60e74716 on github
  • Prev Build on master (#23507743692)
  • Next Build on master (#23518506997)
  • Delete
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