Documentation

CslibFrontier.Crypto.Protocols.SecretSharing.AccessStructure.Sources

Translation-Invariant Key Sources for Secret Sharing #

Defines Cslib.Crypto.Protocols.SecretSharing.SourceClass.translationInvariant, the shared class of translation-invariant key distributions on an additive group Key, together with uniform membership SourceClass.uniformOfFintype_mem_translationInvariant.

Main definitions #

Main results #

The class of translation-invariant distributions on an additive key type Key: distributions P unchanged under right translation P.map (· + δ) = P for every δ : Key.

When Key is a finite additive group, uniformOfFintype Key belongs to this class; when Key is an infinite additive group, no translation-invariant PMF exists (translationInvariant Key = ∅), making privacy over it vacuous.

theorem Cslib.Crypto.Protocols.SecretSharing.AccessStructure.viewDistOf_eq_of_map_add_eq {Secret : Type u_1} {Key : Type u_2} {Party : Type u_3} {Share : Party → Type u_4} [Add Key] {Q : PMF Key} {δ : Key} (hQ : PMF.map (fun (x : Key) => x + δ) Q = Q) {share : Key → Secret → (i : Party) → Share i} {s : Finset Party} {m₀ m₁ : Secret} (hshift : ∀ (k : Key), (fun (i : ↥s) => share k m₀ ↑i) = fun (i : ↥s) => share (k + δ) m₁ ↑i) :
viewDistOf Q share s m₀ = viewDistOf Q share s m₁

If translating the key by δ carries the view of the coalition s on the secret m₀ to its view on m₁, and the key source Q is invariant under that translation, then s has the same view distribution on m₀ and m₁.