AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Cryptographic libraries

ringct: remove dead code

Public commit record

What the developer wrote

Authored by Thomas

61/100 · Adequate
ringct: remove dead code

- h2b, b2h (rctTypes) and sumKeys (rctOps): from the original RingCT
import (9b1afe5f2, 2016-05-13); never referenced by any caller since
the import.
- cn_fast_hash128, hash_to_scalar128 (rctOps): from the same import.
hash_to_scalar128 (and cn_fast_hash128 through it) was last used by
the original MLSAG gen/ver hashing, which dbb5f2d6a (2016-07-09)
replaced with keyV-based hash_to_scalar; dead since then.
- bos_coster_heap_conv (multiexp): added in 9ff6e6a0a (2018-01-09)
alongside bos_coster_heap_conv_robust; multiexp() only ever
dispatched the robust variant, so the non-robust one was never
called. The robust variant is kept, as tests/performance_tests
still uses it (production dispatch moved to Straus/Pippenger in
939bc22/263431c).
✓ Subject identifies a change✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit simply deletes unused functions and one unused inline helper from Monero's RingCT code. The removed code was never called by any part of the program, so the change cannot introduce or fix a security vulnerability on its own. It is a routine cleanup that reduces clutter and maintenance burden.

Recommended action

No security action required. Treat as normal code-cleanup review.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.