Documentation

CslibFrontier.Crypto.Protocols.SecretSharing.Shamir.Product

Unauthorized-Coalition Joint Uniformity for Independent Shamir Sharings #

Sharing a vector secret : κ → F entrywise with independent uniform Shamir randomness vectors produces a uniform joint view on I → κ → F for every unauthorized coalition I (I.card ≤ params.threshold). The proof lifts single-secret coalition uniformity (Shamir.uniformOfFintype_map_restrict_share) across κ via PMF.pi and swaps coordinates with Equiv.piComm.

Main results #

References #

theorem Cslib.Crypto.Protocols.SecretSharing.Shamir.uniformOfFintype_map_restrict_share_pi {F : Type u_1} {Party : Type u_2} {κ : Type u_3} [Field F] [Fintype F] [Fintype Party] [DecidableEq Party] [Fintype κ] [DecidableEq κ] (params : Params F Party) (I : Finset Party) (hI : I.card ≤ params.threshold) (secret : κ → F) :
PMF.map (fun (r : κ → Randomness params) (i : ↥I) (k : κ) => share params (r k) (secret k) ↑i) (Probability.PMF.uniformOfFintype (κ → Randomness params)) = Probability.PMF.uniformOfFintype (↥I → κ → F)

Vector Unauthorized-Coalition Marginal Uniformity ([Sha79]): for any coalition I with I.card ≤ params.threshold and any vector of secrets secret : κ → F, sharing each coordinate independently with uniform Shamir randomness induces the uniform distribution on I → κ → F.