9
5

Quantum Oblivious LWE Sampling and Insecurity of Standard Model Lattice-Based SNARKs

Abstract

The Learning With Errors (LWE\mathsf{LWE}) problem asks to find s\mathbf{s} from an input of the form (A,b=As+e)(Z/qZ)m×n×(Z/qZ)m(\mathbf{A}, \mathbf{b} = \mathbf{A}\mathbf{s}+\mathbf{e}) \in (\mathbb{Z}/q\mathbb{Z})^{m \times n} \times (\mathbb{Z}/q\mathbb{Z})^{m}, for a vector e\mathbf{e} that has small-magnitude entries. In this work, we do not focus on solving LWE\mathsf{LWE} but on the task of sampling instances. As these are extremely sparse in their range, it may seem plausible that the only way to proceed is to first create s\mathbf{s} and e\mathbf{e} and then set b=As+e\mathbf{b} = \mathbf{A}\mathbf{s}+\mathbf{e}. In particular, such an instance sampler knows the solution. This raises the question whether it is possible to obliviously sample (A,As+e)(\mathbf{A}, \mathbf{A}\mathbf{s}+\mathbf{e}), namely, without knowing the underlying s\mathbf{s}. A variant of the assumption that oblivious LWE\mathsf{LWE} sampling is hard has been used in a series of works to analyze the security of candidate constructions of Succinct Non interactive Arguments of Knowledge (SNARKs). As the assumption is related to LWE\mathsf{LWE}, these SNARKs have been conjectured to be secure in the presence of quantum adversaries. Our main result is a quantum polynomial-time algorithm that samples well-distributed LWE\mathsf{LWE} instances while provably not knowing the solution, under the assumption that LWE\mathsf{LWE} is hard. Moreover, the approach works for a vast range of LWE\mathsf{LWE} parametrizations, including those used in the above-mentioned SNARKs. This invalidates the assumptions used in their security analyses, although it does not yield attacks against the constructions themselves.

View on arXiv
Comments on this paper