{
  "id": "2026/2757",
  "url": "https://opencryptology.org/2026/2757",
  "original_url": "https://eprint.iacr.org/2026/2757",
  "title": "Affine Advantage in Guess-type Attacks on Goldreich’s PRGs: Generalization, Characterization and Countermeasures",
  "authors": [
    "Ximing Fu",
    "Mo LI",
    "Shihan Lyu"
  ],
  "affiliations": null,
  "abstract": "The recent guess-type attack (Eurocrypt'26) on Goldreich's pseudorandom generators exploits the strong bias toward constants that can arise when some inputs of majority-based predicates are fixed.\nThis attack has demonstrated substantial effectiveness against several concrete parameter instances (Eurocrypt'24\\&'25, Asiacrypt'24).  \nIn this paper, we generalize this attack paradigm to arbitrary affine approximations, characterize its capabilities, and develop a new predicate as a countermeasure.\n\nWe introduce a guess-and-affine-approximation (GAA) attack framework that generalizes existing guess-type attacks from constant approximations to arbitrary affine approximations of residual nonlinear predicates. To characterize the capacity of GAA attack, we introduce the bit-fixing affine advantage $\\operatorname{adv}_{b'}(M_b)$, defined as the maximum affine advantage of a $b$-ary nonlinear predicate $M_b$ over all residuals with $b'$ unfixed inputs.\nFor polynomial stretch $m=n^s$ and logarithmic nonlinear arity $b=\\gamma\\log_2 n$, we obtain the optimal attack complexities $C^\\star$ linking bit-fixing affine advantages: (1) $C^\\star>2^{cn}$ for every $c<2^{-(s-1)/\\gamma}$ iff $\\operatorname{adv}_{\\theta b}(M_b)\\to 0$ for every constant $\\theta\\in(0,1]$;\n(2) $C^\\star=2^{o(n)}$ iff fixing only $o(b)$ predicate inputs can yield a residual with affine advantage $\\frac{1}{2}-o(1)$, and the sufficient direction also holds for $b=\\Omega(\\log n)$. In particular, if $\\operatorname{adv}_{b-r}(M_b) =\\frac12-     O\\left(\\frac{\\log n}{n}\\right)$ for $r\\le s-1$, then $C^\\star$ can further decrease to $n^{O(1)}$. \nThese results complement prior analyses for arities $O(1)$, $\\omega(1)\\cap O(\\log n)$, and $\\Omega(n^{1/s})$.\n\nGuided by the results above, we introduce the $\\XOR_a$--$\\MODtwelve_b$ family as a predicate candidate.\nWe prove that every $b'$-input residual of its nonlinear component retains algebraic degree and algebraic immunity $\\Theta(b')$, matching the asymptotic orders of $\\MAJ$ (STOC'16).\nMoreover, its bit-fixing affine advantage is at most $2^{-\\Omega(b')}$, whereas $\\operatorname{adv}_{\\theta b}(\\MAJ_b)\\approx \\frac12$ for every fixed $\\theta\\in(0,1)$.\nAnalysis shows that, for $n=1024$, $m=n^2$, and $b=54$, $\\XOR$--$\\MODtwelve$ can achieve $\\log C^\\star \\approx 737$, while $\\XOR$--$\\MAJ$ and $\\XOR$--$\\MODthree$ have cost exponents of only $182$ and $599$, respectively, under the specified attack.\nFurthermore, our experiments show that $\\MODtwelve$ offers stronger resistance to belief-propagation-based attacks.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Affine Advantage in Guess-type Attacks on Goldreich’s PRGs: Generalization, Characterization and Countermeasures” by Ximing Fu, Mo LI, Shihan Lyu, Cryptology ePrint Archive, Paper 2026/2757, https://eprint.iacr.org/2026/2757. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-11-04T02:56:17Z",
    "updated": "2026-11-04T02:56:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2757.pdf",
    "sha256": "c6e5f1bfbc08adde62b9863b4417adb47a894635ef9e887e40be2e7fcd8c0594",
    "size": 668700,
    "source": "upload",
    "source_date": "2026-11-11T03:23:47.416Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2757/versions/20261111T032347Z.pdf",
      "captured_at": "2026-11-11T03:23:47.416Z",
      "label": "copy captured 2026-11-11",
      "source": "upload",
      "source_url": null,
      "size": 668700,
      "sha256": "c6e5f1bfbc08adde62b9863b4417adb47a894635ef9e887e40be2e7fcd8c0594",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2757,\n      author = {Ximing Fu and Mo LI and Shihan Lyu},\n      title = {Affine Advantage in Guess-type Attacks on Goldreich’s PRGs: Generalization, Characterization and Countermeasures},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2757},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2757}\n}"
}
