Int32 repro & ConstantTime
Depends on #582
[!NOTE] Add a constant-time build mode with a new big-int backend, refactor code/tests behind build tags, switch DKG/VSS/DSS to uint32 indices, and update CI, lint, and coverage to support both modes.
- Core/Crypto:
- Introduce constant-time build mode (
constantTime) with a new compatible big-integer backend (compatible/bigmod) and assembly accelerators; gate existing variableβtime code/tests behind!constantTime.- Refactor suites: constant-time exports limited, variableβtime suites moved to
*_vartime.go.- Protocols/Types:
- Standardize indices/thresholds to
uint32across DKG/VSS/DSS and related APIs; fix range and index handling.- Minor API cleanups (e.g., direct
[]kyber.Pointuse in anon, mask ops, recovery functions).- Tests/Benchmarks:
- Add/adjust tests and benchmarks for both modes (incl. BLS12β381 fixtures); split vartime tests with build tags.
- CI/Tooling:
- Expand test matrix to run with/without
constantTime; aggregate coverage from both; revamp lint config; minor Makefile/log tweaks; ignore*.bck.yml.Written by Cursor Bugbot for commit 01aac072c3d21a5a5e431d556da16934ef5d69ae. This will update automatically on new commits. Configure here.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
π Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.
Quality Gate failed
Failed conditions
37.2% Duplication on New Code (required β€ 10%)
D Security Rating on New Code (required β₯ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE