Module-SIS #
This module states the short integer solution problem over the negacyclic polynomial ring
R_q = ℤ_q[X] / (X^n + 1) ([Lyu12], [DKL+18]). The unstructured short integer
solution problem is in CslibFrontier.Crypto.Computational.SIS.Basic, and Module-LWE over the same
ring is in CslibFrontier.Crypto.Computational.LWE.Module. Elements of R_q are represented by
their coefficient vectors Fin n → ZMod q, multiplied by negacyclicMul a b = rotMatrix a *ᵥ b;
these operations and the ring Negacyclic R n are in
CslibFrontier.Foundations.Algebra.Negacyclic.
A d × k module matrix A : Matrix (Fin d) (Fin k) (Fin n → ZMod q) defines the linear map
moduleSISMap A z i = ∑ j, negacyclicMul (A i j) (z j) (RingSIS is the rank-1 case).
Replacing each polynomial entry A i j by its n × n block rotMatrix (A i j) gives an
unstructured (d * n) × (k * n) matrix expandModuleMatrix A over ZMod q that preserves the
linear relation (expandModuleMatrix_mulVec), non-zeroness and the ℓ_∞ norm bound under
coefficient flattening flattenPolyVec. Consequently, ModuleSIS.IsSolution is equivalent to
SIS.IsSolution on expandModuleMatrix A (isSolution_expandModuleMatrix_iff).
moduleSISExperiment draws a uniform module matrix and tests the solver's answer as
sisExperiment does, and ModuleSIS M asserts that every PPT solver has negligible advantage for
the parameter family M. Solver machines read a module matrix through its expansion
(ModuleSIS.encodeMatrix). This module proves no relation between ModuleSIS and SIS, whose
experiment draws a uniform unstructured matrix.
Main definitions #
Cslib.Crypto.moduleSISMap,Cslib.Crypto.ringSISMap: the Module-SIS and Ring-SIS linear maps.Cslib.Crypto.ModuleSISParams,Cslib.Crypto.RingSISParams,Cslib.Crypto.RingSISParams.toModuleSISParams: Module-SIS and Ring-SIS parameter families.Cslib.Crypto.ModuleSIS.IsSolution,Cslib.Crypto.ModuleSIS.inInfNormBound,Cslib.Crypto.ModuleSIS.IsResidueSolution: short solutions for Module-SIS.Cslib.Crypto.expandModuleMatrix,Cslib.Crypto.flattenPolyVec,Cslib.Crypto.unflattenPolyVec: block-anticirculant matrix expansion and coefficient flattening.Cslib.Crypto.ModuleSIS.encodeMatrix,Cslib.Crypto.ModuleSIS.encodeVec: module matrix and integer polynomial vector encodings.Cslib.Crypto.moduleSISExperiment,Cslib.Crypto.moduleSISAdvantage: the fixed-instance Module-SIS experiment and its success probability.Cslib.Crypto.ModuleSISParams.Input,Cslib.Crypto.ModuleSISParams.encInput,Cslib.Crypto.ModuleSISParams.Solver,Cslib.Crypto.ModuleSISParams.Solver.IsPPT: solver inputs and their encoding, and efficient solvers.Cslib.Crypto.ModuleSIS,Cslib.Crypto.RingSIS: the Module-SIS and Ring-SIS hardness hypotheses.
Main results #
Cslib.Crypto.ofCoeffs_comp_moduleSISMap,Cslib.Crypto.moduleSISMap_eq_zero_iff: the Module-SIS map and its zero equation asA *ᵥ zover the ringNegacyclic (ZMod q) n.Cslib.Crypto.expandModuleMatrix_mulVec,Cslib.Crypto.expandModuleMatrix_mulVec_eq_zero_iff: block-anticirculant matrix-vector product agrees withmoduleSISMapafter coefficient flattening.Cslib.Crypto.expandModuleMatrix_injective: a module matrix is determined by its expansion.Cslib.Crypto.ModuleSIS.isSolution_expandModuleMatrix_iff,Cslib.Crypto.ModuleSIS.isResidueSolution_expandModuleMatrix_iff:ModuleSISsolutions are characterized bySISsolutions ofexpandModuleMatrix A.
References #
Module-SIS, Ring-SIS and Structured-to-Unstructured Expansion #
moduleSISMap on a 1 × k row matrix agrees with ringSISMap.
moduleSISMap is linear in z: it maps zero to zero.
Parameter family for Ring-SIS over ℤ_q[X] / (X^n + 1) (rank d = 1).
View RingSISParams as ModuleSISParams of module rank d = 1.
flattenPolyVec is injective.
Expand a d × k module matrix A over ℤ_q[X] / (X^n + 1) into a (d * n) × (k * n)
scalar matrix over ℤ_q by replacing each polynomial entry A i j with its n × n negacyclic
multiplication block rotMatrix (A i j).
A module matrix is determined by its expansion: column 0 of the block rotMatrix (A i j)
is the coefficient vector of A i j.
Structured-to-unstructured multiplication identity: multiplying expandModuleMatrix A by
flattenPolyVec z equals flattening moduleSISMap A z.
expandModuleMatrix A *ᵥ flattenPolyVec z = 0 if and only if moduleSISMap A z = 0.
An integer polynomial vector z : Fin k → Fin n → ℤ is a short solution for a module matrix
A with bound β when z ≠ 0, every coefficient lies in [-β, β], and
moduleSISMap A (fun j s => (z j s : ZMod q)) = 0.
Instances For
Flattening preserves inInfNormBound on residue polynomial vectors.
Equivalence of Module-SIS and unstructured SIS on expandModuleMatrix: an integer
polynomial vector z is a ModuleSIS.IsSolution for A if and only if flattenPolyVec z is
an SIS.IsSolution for expandModuleMatrix A.
Equivalence of residue-level Module-SIS and unstructured SIS on expandModuleMatrix:
flattenPolyVec z is a SIS.IsResidueSolution for expandModuleMatrix A if and only if z is a
ModuleSIS.IsResidueSolution for A.
Module matrices of fixed shape are determined by their encodings when q ≠ 0.
Integer polynomial vectors of fixed shape are determined by their encodings.
The fixed-instance experiment #
The Module-SIS experiment over ℤ_q[X] / (X^n + 1) with a d × k module matrix and bound β
([Lyu12], [DKL+18]): the challenger draws a uniform module matrix A; the
solver wins when it returns a short solution for A.
Parameter families #
The input of a Module-SIS solver for the family M: the security parameter and a module
matrix of the shape, degree and modulus that M assigns to it.
The words a machine reads for a Module-SIS input: the security parameter and the encoded module matrix.
A Module-SIS input is determined by its words.
The encoding of a Module-SIS input: the framed unary security parameter followed by the
encoded module matrix (encInput_apply).
The Module-SIS input layout.
A Module-SIS solver for the family M: given the security parameter κ and a module matrix
of the shape, degree and modulus of M at κ, it returns an integer polynomial vector.
Solver.IsPPT states its efficiency on encodings.
A Module-SIS solver is PPT when one uniform strict PPT machine reads encInput and writes
the encoding of the solver's answer.
The Module-SIS hardness hypothesis for a parameter family M: every PPT solver has
negligible advantage in moduleSISExperiment at the parameters M assigns to each security
parameter. This is a hypothesis against classical adversaries, not a theorem of hardness.
Source. This is M-SIS_{q,m,β} of [LS15], Definition 3.5, p. 12 (ePrint version
2012/090): given a₁, …, a_m ∈ R_q^d drawn independently and uniformly, here the k columns of
A, find z ∈ R^m with ∑ aᵢ zᵢ = 0 mod q and 0 < ‖z‖ ≤ β. [DKL+18], Section 4.1,
p. 249, states it over R_q = ℤ_q[X]/(X^n + 1) (Section 2.1, p. 242) with the ℓ_∞ norm, as
MSIS_{m,k,γ}. This definition differs from these as follows.
- The bound
βis on theℓ_∞norm of the coefficients, as in Ducas et al. Langlois and Stehlé work over the ring of integersRof a cyclotomic field with the Euclidean norm of the canonical embedding (Section 2.1). - The matrix is uniform, as in Langlois and Stehlé; Ducas et al. take it in Hermite normal form
[I | A]withAuniform. The two forms are equivalent up to the probability that a uniform square block overR_qis invertible, which is close to 1 for Ducas et al.'sqbut not for everyq(for exampleq = 2). - The ring is
ℤ_q[X]/(X^n + 1)for anynandq, where Ducas et al. fixn = 256andq = 8380417; fornnot a power of two,X^n + 1is not cyclotomic, so the ring is outside Langlois and Stehlé's setting too. The solvers are uniform classical strict PPT programs, and their success probability must be negligible inκ.
The Ring-SIS hardness hypothesis is ModuleSIS at module rank 1. This is the ring version of
ℓ₂-SIS that [Lyu12], Section 7, pp. 21–22 (ePrint full version 2011/537), uses, with
uniform a₁, …, a_γ ∈ ℤ_q[x]/⟨xⁿ + 1⟩ for n a power of two, and R-SIS_{q,m,β} of
[LS15], Definition 3.3, p. 12. It differs from them as ModuleSIS does: the
ℓ_∞ norm of the coefficients in place of the Euclidean norm, any n and q, and uniform
classical strict PPT solvers.