|
Ran
|
Jobs
1
|
Files
34
|
Run time
1min
|
Badge
README BADGES
|
push
github
Add 152-bit big.Int ring, TrapGen, SamplePre, PKE, and two-ring NIZK Major expansion of the LNP22 framework with all components needed for the full proof system operating at cryptographic parameter sizes. New packages: - internal/bigmod: big.Int modular arithmetic + rounding function ⌈·⌉_p - ring/Big*: BigRing/BigPoly types with 152-bit NTT and Karatsuba - sampler/Big*: Gaussian, uniform, ternary, challenge for BigRing - trapgen: NTRU TrapGen (DLP14) with gadget matrix and poly inverse - preimage: Gaussian pre-image sampling (SamplePre, GPV framework) - pke: NTRU-style PKE with rounding-based encode/decode - tworing: Two-ring NIZK with linear, quadratic, and ℓ₂-norm proofs Key parameters: - N=1024, Q=152-bit prime (570899077982401) - Q ≡ 1 (mod 2048) enabling NTT at full 152-bit modulus - Correctness: √d·(2dβ_s²+β_e)·p/q < 2^{-128} 148 tests across 10 packages, all passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
809 of 1065 new or added lines in 19 files covered. (75.96%)
1611 of 2006 relevant lines covered (80.31%)
50735.45 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 85 |
18.27 |
trapgen/ntru_solve.go | |
| 27 |
68.97 |
trapgen/trapgen.go | |
| 24 |
66.67 |
ring/bigvec.go | |
| 24 |
22.58 |
tworing/params.go | |
| 18 |
79.31 |
tworing/prover.go | |
| 14 |
64.1 |
preimage/samplepre.go | |
| 14 |
73.08 |
sampler/biguniform.go | |
| 12 |
73.33 |
tworing/verifier.go | |
| 9 |
87.14 |
internal/bigmod/bigmod.go | |
| 8 |
46.67 |
sampler/biggaussian.go | |
| 7 |
86.54 |
ring/bigring.go | |
| 6 |
95.77 |
ring/bigpoly.go | |
| 3 |
94.44 |
trapgen/gadget.go | |
| 2 |
94.74 |
pke/pke.go | |
| 2 |
96.61 |
ring/bigntt.go | |
| 1 |
97.67 |
sampler/bigchallenge.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23518506997.1 | 34 |
80.31 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|