Secret Sharing over General Monotone Access Structures and Source Classes #
This module generalizes Cslib.Crypto.Protocols.SecretSharing.Scheme beyond threshold,
finite-key Definition 2.1 of [Agg26] in two orthogonal directions:
- First-class monotone access structures (
AccessStructure): monotone upward-closed families of authorized coalitionsFinset Party, supporting threshold structures (AccessStructure.threshold), all-party sharing (AccessStructure.all), upward closures (AccessStructure.ofSets), preimages under share assignments (AccessStructure.pullback), lattice operations (AccessStructure.inter,AccessStructure.union), duals (AccessStructure.dual), and minimal authorized sets (AccessStructure.IsMinimalAuthorized). - Source-class secret sharing (
SourceClass,AccessScheme): deterministic sharing and reconstruction maps paired with a classSourceClass Key := Set (PMF Key)of allowed key distributions, generalizing [Agg26], Definition 2.1 (stated there for threshold structures and finite key spaces) to general monotone access structures, arbitraryKeytypes, and party-indexed share typesShare : Party → Type*. A scheme is perfectly correct for every key and perfectly private for every distribution insources, while marginal view distributions may vary across sources in the class.
Bridges to and from upstream Cslib.Crypto.Protocols.SecretSharing.Scheme are provided via
AccessScheme.ofCslibScheme and AccessScheme.toCslibScheme, along with key-source pullbacks
(AccessScheme.comapKey), secret restrictions (AccessScheme.restrictSecret), share relabelings
(AccessScheme.mapShare), and party relabelings (AccessScheme.relabelParty).
Main definitions #
Cslib.Crypto.Protocols.SecretSharing.AccessStructure: monotone access structure onParty.Cslib.Crypto.Protocols.SecretSharing.AccessStructure.threshold,Cslib.Crypto.Protocols.SecretSharing.AccessStructure.all,Cslib.Crypto.Protocols.SecretSharing.AccessStructure.ofSets,Cslib.Crypto.Protocols.SecretSharing.AccessStructure.pullback,Cslib.Crypto.Protocols.SecretSharing.AccessStructure.dual: standard access structures and combinators.Cslib.Crypto.Protocols.SecretSharing.SourceClass: class of key distributionsSet (PMF Key).Cslib.Crypto.Protocols.SecretSharing.AccessStructure.viewDistOf: coalition view distribution.Cslib.Crypto.Protocols.SecretSharing.AccessScheme: secret-sharing scheme over a monotone access structure relative to a class of key sources.Cslib.Crypto.Protocols.SecretSharing.AccessScheme.ofCslibScheme,Cslib.Crypto.Protocols.SecretSharing.AccessScheme.toCslibScheme,Cslib.Crypto.Protocols.SecretSharing.AccessScheme.comapKey,Cslib.Crypto.Protocols.SecretSharing.AccessScheme.restrictSecret,Cslib.Crypto.Protocols.SecretSharing.AccessScheme.mapShare,Cslib.Crypto.Protocols.SecretSharing.AccessScheme.relabelParty: bridges and combinators.
Main results #
Cslib.Crypto.Protocols.SecretSharing.AccessStructure.exists_minimalAuthorized_subset: every authorized coalition contains a minimal authorized sub-coalition.Cslib.Crypto.Protocols.SecretSharing.AccessScheme.reconstruct_view_eq_secret: authorized coalitions reconstruct the secret.Cslib.Crypto.Protocols.SecretSharing.AccessScheme.viewDist_eq_of_not_authorized: unauthorized coalitions have secret-independent views under every source insources.
References #
- D. Aggarwal, Secret Sharing Despite Non-Extractable Randomness,
Definition 2.1 (checked locator; generalized here from threshold finite-key schemes to arbitrary
AccessStructureandKey). - D. Aggarwal, E. Chung, M. Obremski, J. Ribeiro, On Secret Sharing, Randomness, and Random-less Reductions for Secret Sharing (unverified directly; attributed via [Agg26]).
- J. Katz, Y. Lindell, Introduction to Modern Cryptography.
A monotone access structure on party type Party, specifying which coalitions are
authorized to reconstruct the secret.
- mono : Monotone self.authorized
Every superset of an authorized coalition is authorized.
Any sub-coalition of an unauthorized coalition is unauthorized.
A coalition is minimally authorized when it is authorized and no proper subset is.
An access structure is nontrivial when the empty coalition is unauthorized and the full party set is authorized.
Every authorized coalition contains a minimally authorized sub-coalition.
The t-threshold access structure: coalitions of size at least t are authorized.
The all-party access structure: a coalition is authorized iff it contains every party.
Upward closure of a collection B of generating coalitions.
Pullback of an access structure A' along a share-assignment map assign : Party → Finset Party': a coalition s is authorized iff s.biUnion assign is authorized in A'.
Intersection of two access structures: authorized coalitions must be authorized in both.
Union of two access structures: authorized coalitions are authorized in at least one.
Dual of a finite access structure: s is dual-authorized iff Finset.univ \ s is not
authorized in A.
The coalition view distribution induced by a key source source, sharing map share,
coalition s, and secret, supporting party-indexed share types.
A class of allowed key / randomness distributions on Key ([Agg26], Definition 2.1).
The singleton source class containing a single fixed distribution.
Pushforward of a source class along a key transformation f : Key → Key'.
The class of all flat distributions (uniform on nonempty finite subsets of Key).
A secret-sharing scheme over a general monotone access structure access, relative to a class
sources of allowed key distributions (an original generalization of the threshold, finite-key
Definition 2.1 in [Agg26] to general AccessStructure Party and arbitrary Key).
Correctness is universal over keys k : Key: every authorized coalition deterministically
reconstructs the secret. Privacy is relative to sources: for every source P ∈ sources and
every unauthorized coalition s, the induced view distribution does not depend on the secret
(though it may vary with P).
- access : AccessStructure Party
The monotone access structure specifying authorized coalitions.
- sources : SourceClass Key
The class of allowed key distributions.
- reconstruct (s : Finset Party) : ((i : ↥s) → Share ↑i) → Secret
Reconstruction algorithm from a coalition's observed shares.
- correct (k : Key) (secret : Secret) (s : Finset Party) : self.access.authorized s → (self.reconstruct s fun (i : ↥s) => self.share k secret ↑i) = secret
Every authorized coalition reconstructs the secret for every key.
- view_indist (P : PMF Key) : P ∈ self.sources → ∀ (s : Finset Party), ¬self.access.authorized s → ∀ (secret₀ secret₁ : Secret), AccessStructure.viewDistOf P self.share s secret₀ = AccessStructure.viewDistOf P self.share s secret₁
For every allowed key source, unauthorized coalitions receive secret-independent views.
The restricted shares observed by coalition s.
The coalition view distribution induced by key source P on coalition s.
Authorized coalitions reconstruct the secret from their view.
Unauthorized coalitions receive secret-independent view distributions under any allowed source.
Any sub-coalition of an unauthorized coalition is unauthorized.
Restrict a scheme to a smaller source class S' ⊆ scheme.sources.
Pull back a scheme's key space along f : Key' → Key for any source class S' whose
pushforward under f lies in scheme.sources.
Restrict the secret space via an encoding enc : Secret' → Secret with left inverse dec.
Relabel the party type along an equivalence e : Party' ≃ Party.
Lift an upstream Cslib.Crypto.Protocols.SecretSharing.Scheme into an AccessScheme over
the singleton source class {scheme.gen}.
Project an AccessScheme with uniform share type S and an allowed source P ∈ sources
back to an upstream Cslib.Crypto.Protocols.SecretSharing.Scheme.