Shamir Threshold Secret Sharing as an Access-Structure Instance #
This module instantiates Cslib.Crypto.Protocols.SecretSharing.AccessScheme for Shamir
secret sharing over a field F, using the linear reconstruction lemma
Shamir.reconstruct_share_eq_secret and unauthorized marginal uniformity lemma
Shamir.uniformOfFintype_map_restrict_share from
CslibFrontier/Crypto/Protocols/SecretSharing/Shamir/Linear.lean ([Sha79]; [KL20]).
It provides:
shamirAccessStructure: the(params.threshold + 1)-threshold access structure.shamirAccessScheme: Shamir sharing over the class of all translation-invariant tail-coefficient distributionsSourceClass.translationInvariant (Shamir.Randomness params). WhenFis finite, this source class consists solely of{uniformOfFintype}, whereas whenFis infinite andparams.threshold ≥ 1, no translation-invariantPMFonFin params.threshold → Fexists (SourceClass.translationInvariant (Shamir.Randomness params) = ∅), soshamirAccessSchemehas vacuous privacy over infinite fields (while universal correctness still holds for all keys).shamirUniformAccessScheme: canonical finite-field Shamir sharing over the uniform tail distribution, together withshamirUniform_viewDist_eq(marginal uniformity) andshamirUniform_mutualInfo_eq_zero(vanishing mutual information).shamirPaddedSources,shamirPaddedAccessScheme: auxiliary-key padding ofshamirAccessSchemeviacomapKey Prod.fst, pairingRandomness paramswith an arbitrary ignored componentAux(not an imperfect-randomness construction in [Agg26]'s sense).shamirToTwoTwo:(2, 2)-threshold sharing derived from Shamir (1 ≤ params.threshold) via design composition (ThresholdDesignOn.toTwoTwo, [Agg26], Section 5; [ACOR22] attribution unverified directly).
Main definitions #
Cslib.Crypto.Protocols.SecretSharing.shamirAccessStructure:(params.threshold + 1)-threshold access structure for Shamir parameters.Cslib.Crypto.Protocols.SecretSharing.shamirAccessSchemeOf,Cslib.Crypto.Protocols.SecretSharing.shamirAccessScheme,Cslib.Crypto.Protocols.SecretSharing.shamirUniformAccessScheme: ShamirAccessSchemeinstances.Cslib.Crypto.Protocols.SecretSharing.shamirPaddedSources,Cslib.Crypto.Protocols.SecretSharing.shamirPaddedAccessScheme: auxiliary-key padding of Shamir sharing (ignoresAux).Cslib.Crypto.Protocols.SecretSharing.shamirToTwoTwo:(2, 2)scheme via design composition from Shamir (1 ≤ params.threshold).
Main results #
Cslib.Crypto.Protocols.SecretSharing.shamirUniform_viewDist_eq: unauthorized coalitions have uniform view distributions under uniform Shamir randomness.Cslib.Crypto.Protocols.SecretSharing.shamirUniform_mutualInfo_eq_zero: unauthorized coalitions have zero mutual information with the secret under uniform Shamir randomness.Cslib.Crypto.Protocols.SecretSharing.bind_mem_shamirPaddedSources: any correlated auxiliary distribution paired with a translation-invariant Shamir tail lies inshamirPaddedSources.
References #
- A. Shamir, How to Share a Secret.
- J. Katz, Y. Lindell, Introduction to Modern Cryptography.
- D. Aggarwal, Secret Sharing Despite Non-Extractable Randomness, Section 5 (checked locator for design reduction).
- D. Aggarwal, E. Chung, M. Obremski, J. Ribeiro, On Secret Sharing, Randomness, and Random-less Reductions for Secret Sharing (unverified directly; attributed via [Agg26], Section 5).
The threshold access structure of Shamir secret sharing: coalitions of size at least
params.threshold + 1 are authorized.
Shamir threshold secret sharing over any subclass of translation-invariant tail samplers.
Shamir secret sharing over SourceClass.translationInvariant (Shamir.Randomness params). Note
that for infinite fields F with params.threshold ≥ 1, this source class is empty, so privacy is
vacuous and only universal correctness is nontrivial; use shamirUniformAccessScheme for finite
fields.
Canonical finite-field Shamir secret sharing over the singleton uniform tail source.
Under uniform Shamir randomness, any unauthorized coalition's view distribution is uniform
on s → F (via Shamir.uniformOfFintype_map_restrict_share).
Under uniform Shamir randomness, any unauthorized coalition's view has zero mutual information with the secret.
Auxiliary-key-padded sources for Shamir sharing: pairs (r, aux) whose tail-coefficient
marginal P.map Prod.fst is translation-invariant (uniform when F is finite), paired with
unused auxiliary material aux that the scheme ignores.
Any correlated auxiliary distribution paired with a translation-invariant tail source lies in
shamirPaddedSources.
Auxiliary-key padding of shamirAccessScheme onto Randomness params × Aux via
comapKey Prod.fst (ignoring the auxiliary component Aux; not an imperfect-randomness
construction in [Agg26]'s sense).
(t', n') → (2, 2) distribution-design reduction applied to Shamir secret sharing whenever
1 ≤ params.threshold ([Agg26], Section 5; [ACOR22] attribution unverified directly).