Expand description
Share backup + recovery for CMP20 threshold shares.
If a custodian loses their share, any T of the remaining N-1 shares can reconstruct the lost share’s scalar value without revealing it to any single party.
§Protocol
- Each of T remaining parties computes a Lagrange interpolation of their share at the lost party’s x-coordinate.
- Combiner sums the T partial recoveries.
- The result is the lost share’s scalar — assign it to the replacement custodian.
- No change to the joint public key.
The math is identical to [crate::keygen::reconstruct_secret_for_test]
but evaluated at the lost party’s x instead of x=0.
Enums§
- Recover
Error - Errors during share recovery.
Functions§
- recover_
share - Recover a full
Cmp20Share(scalar + public key + party index) from T surviving shares. The public key is taken from any surviving share (they all carry the same joint public key). - recover_
share_ scalar - Recover a lost share’s scalar value from T surviving shares.