Documentation

VCVio.CryptoFoundations.HardnessAssumptions.LWE

Learning With Errors #

This file gives a general definition of the LWE problem. It is parameterized by the following:

(errSamp can potentially be replaced with χ : PMF (Fin p) instead, to be used with evalDistWhen with non-uniform distributions)

We define the (decision) LWE problem as a security experiment on an oracle that takes as input:

The adversary wins if it can correctly guess which case the distribution is.

The search LWE problem instead asks that the adversary given A and u = s * A + e outputs the secret s.