Skip to main content

Module integrity

Module integrity 

Source
Expand description

Share integrity verification — validates shares before use.

Corrupted shares cause signing failures that are hard to diagnose. This module validates share structure, scalar range, party index bounds, and public key format before the share enters the signing pipeline.

Enums§

IntegrityIssue
A specific integrity issue found in a share.
IntegrityResult
Result of integrity checking.

Functions§

check_share
Check the integrity of a normalized share. Returns Valid if all checks pass, or Invalid with a list of issues.
is_valid
Quick boolean check — returns true if the share is valid.