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§
- Integrity
Issue - A specific integrity issue found in a share.
- Integrity
Result - Result of integrity checking.
Functions§
- check_
share - Check the integrity of a normalized share. Returns
Validif all checks pass, orInvalidwith a list of issues. - is_
valid - Quick boolean check — returns true if the share is valid.