Skip to main content

Module share_adapter

Module share_adapter 

Source
Expand description

Cross-scheme share adapter — normalized intermediate representation.

Different threshold schemes (CMP20, FROST-P256, GG18) use different share types internally. The NormalizedShare struct provides a scheme-agnostic format for serialization, migration, and interop.

Each scheme crate implements ShareAdapter for its own share type, converting to/from NormalizedShare.

Structs§

NormalizedShare
Scheme-agnostic share representation. Any P-256-based threshold scheme share can be normalized to this format.

Enums§

AdapterError
Errors during share normalization.

Traits§

ShareAdapter
Trait for converting scheme-specific share types to/from the normalized representation.