Documentation

Complexity.Crypto.Computational.Homomorphic.FixedKey.Reduction

The fixed-key security reduction #

The public-artifact game allows adaptive message selection after the entire encrypted-secret vector is visible. In the zero-vector experiment, a concrete base adversary samples an independent key only to learn the common supported secret length. It encrypts that many zero bits under the challenge public key and preserves both stages of the target adversary.

The unknown challenge secret is never available to the reduction. The supported-width premise is used only in the exact game identity, not by the algorithm or its native runtime certificate.

Main definitions #

Main results #

References #

Choose messages after seeing the complete artifact, then encrypt under its base public key and retain the adversary's exact saved state.

Instances For

    Build the zero-vector public artifact from the challenge public key. An independently generated secret supplies only its length; the challenge secret is neither read nor saved.

    Instances For
      theorem Cslib.Crypto.Homomorphic.FixedKey.eval_zeroAdversary (E : Scheme) (adversary : Encryption.Adversary) (bit : Bool) (n width : ℕ) (hwidth : ∀ keys ∈ (E.keyGen n).eval.support, keys.2.length = width) :

      A supported auxiliary key supplies exactly the challenge secret's length. Removing that unused auxiliary sample then gives the complete zero-vector chosen-message experiment.